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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/krb5kdc/Makefile
          +++ new/usr/src/cmd/krb5/krb5kdc/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  PROG= krb5kdc
   7    8  MANIFEST=       krb5kdc.xml
   8    9  
   9   10  OBJS    = \
  10   11          dispatch.o\
  11   12          do_as_req.o\
  12   13          do_tgs_req.o\
  13   14          extern.o\
  14   15          kdc_preauth.o\
↓ open down ↓ 34 lines elided ↑ open up ↑
  49   50          -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5\
  50   51          -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  51   52          -DHAVE_SYSLOG_H=1 
  52   53  
  53   54  CERRWARN += -_gcc=-Wno-unused-variable
  54   55  CERRWARN += -_gcc=-Wno-unused-function
  55   56  CERRWARN += -_gcc=-Wno-type-limits
  56   57  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  57   58  CERRWARN += -_gcc=-Wno-parentheses
  58   59  
       60 +# not linted
       61 +SMATCH=off
       62 +
  59   63  LDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
  60   64  LDLIBS += -L$(ROOT_KLIBDIR) -L$(KRB5LIB) \
  61   65            -lmech_krb5 -lkdb -lkadm5srv -lnsl -lsocket -lbsm -lc
  62   66  
  63   67  .KEEP_STATE:
  64   68  
  65   69  all: $(PROG) 
  66   70  
  67   71  $(PROG):       $(OBJS)  
  68   72          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
↓ open down ↓ 26 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX