Print this page
10080 smatch Makefile changes for usr/src/cmd

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/saf/Makefile
          +++ new/usr/src/cmd/saf/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  PROG= sac sacadm pmadm
  27   28  
  28   29  MANIFEST = sac.xml
  29   30  
  30   31  include ../Makefile.cmd
  31   32  
  32   33  ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
  33   34  
  34   35  SACOBJ= sac.o readtab.o global.o log.o misc.o
↓ open down ↓ 19 lines elided ↑ open up ↑
  54   55  
  55   56  LDLIBS += -lnsl
  56   57  LDFLAGS += $(MAPFILE.NGB:%=-M%)
  57   58  LINTFLAGS += -b -x
  58   59  
  59   60  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  60   61  CERRWARN += -_gcc=-Wno-parentheses
  61   62  CERRWARN += -_gcc=-Wno-unused-variable
  62   63  CERRWARN += -_gcc=-Wno-extra
  63   64  
       65 +# too many untyped funcs
       66 +SMATCH=off
       67 +
  64   68  util1.o := CPPFLAGS += -DSAC
  65   69  util2.o := CPPFLAGS += -USAC
  66   70  
  67   71  sac :=  LDLIBS += -lpam
  68   72  
  69   73  $(ROOTUSRSBIN)/sacadm :=        FILEMODE =      04755
  70   74  
  71   75  $(LIBSAFD)/% : %
  72   76          $(INS.file)
  73   77  
↓ open down ↓ 41 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX