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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/slave/Makefile
          +++ new/usr/src/cmd/krb5/slave/Makefile
   1    1  #
   2    2  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
   3    3  # Use is subject to license terms.
   4    4  #
        5 +# Copyright (c) 2018, Joyent, Inc.
   5    6  
   6    7  PROG1=kprop
   7    8  PROG2=kpropd
   8    9  PROG3=kprop_script
   9   10  PROG=$(PROG1) $(PROG2) $(PROG3)
  10   11  MANIFEST=       krb5_prop.xml
  11   12  
  12   13  OBJS    = \
  13   14          kprop.o\
  14   15          utils.o\
↓ open down ↓ 41 lines elided ↑ open up ↑
  56   57                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  57   58  
  58   59  CERRWARN +=     -_gcc=-Wno-unused-variable
  59   60  CERRWARN +=     -_gcc=-Wno-unused-function
  60   61  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  61   62  CERRWARN +=     -_gcc=-Wno-parentheses
  62   63  CERRWARN +=     -_gcc=-Wno-uninitialized
  63   64  CERRWARN +=     -_gcc=-Wno-unused-value
  64   65  CERRWARN +=     -_gcc=-Wno-address
  65   66  
       67 +# not linted
       68 +SMATCH=off
       69 +
  66   70  LDFLAGS +=      $(KRUNPATH) $(KERBRUNPATH)
  67   71  LDLIBS +=       -lmech_krb5 -lsocket
  68   72  $(PROG1) :=     LDLIBS += -L$(KRB5LIB) -lkadm5srv
  69   73  $(PROG2) :=     LDLIBS += -L$(KRB5LIB) -lnsl -lkdb -lkadm5clnt
  70   74  
  71   75  .KEEP_STATE:
  72   76  
  73   77  all: $(PROG)
  74   78  
  75   79  $(PROG1): $(CLIENTOBJS) $(COMMONOBJS)
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX