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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/kadmin/cli/Makefile
          +++ new/usr/src/cmd/krb5/kadmin/cli/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= kadmin kadmin.local
   7    8  SHFILES= k5srvutil
   8    9  CLOBBERFILES= $(SHFILES) 
   9   10  
  10   11  KRB5SBINSHFILES= $(SHFILES:%=$(KRB5SBIN)/%)
  11   12  
  12   13  COMMON_OBJS   = kadmin.o kadmin_ct.o ss_wrapper.o getdate.o keytab.o
  13   14  RMT_OBJS= $(COMMON_OBJS) kadmin_rmt.o
  14   15  LOC_OBJS= $(COMMON_OBJS) kadmin_loc.o
↓ open down ↓ 15 lines elided ↑ open up ↑
  30   31                  -I$(SRC)/cmd/krb5/iprop \
  31   32                  -I$(SRC)/lib/krb5 \
  32   33                  -I$(SRC)/lib/gss_mechs/mech_krb5/include $(DEFS)
  33   34  
  34   35  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  35   36  CERRWARN += -_gcc=-Wno-unused-label
  36   37  CERRWARN += -_gcc=-Wno-unused-function
  37   38  CERRWARN += -_gcc=-Wno-parentheses
  38   39  CERRWARN += -_gcc=-Wno-unused-variable
  39   40  
       41 +SMATCH=off
       42 +
  40   43  COPTFLAG += $(XESS) #-I$(KINCDIR) 
  41   44  
  42   45  SHAREDLIBS = -lmech_krb5 -lss
  43   46  
  44   47  CLLIBS = $(LDLIBS) $(KRUNPATH) $(KERBRUNPATH) \
  45   48          -L$(ROOT_KLIBDIR) -L$(KRB5LIB) $(SHAREDLIBS) -lkadm5clnt
  46   49  
  47   50  SRVLIBS = $(LDLIBS) $(KRUNPATH) $(KERBRUNPATH) \
  48   51          -L$(ROOT_KLIBDIR) -L$(KRB5LIB) $(SHAREDLIBS) -lkadm5srv
  49   52  
↓ open down ↓ 38 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX