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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/kadmin/ktutil/Makefile
          +++ new/usr/src/cmd/krb5/kadmin/ktutil/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= ktutil
   7    8  
   8    9  OBJS    = ktutil.o ktutil_ct.o ktutil_funcs.o
   9   10  SRCS    = $(OBJS:.o=.c)
  10   11  
  11   12  CLOBBERFILES += $(TESTPROG)
  12   13  
  13   14  include ../../../Makefile.cmd
  14   15  include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
↓ open down ↓ 6 lines elided ↑ open up ↑
  21   22          -I$(SRC)/uts/common/gssapi/include  \
  22   23          -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  23   24          -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAVE_UNISTD_H=1 \
  24   25          -DHAVE_SYS_TIMEB_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_FTIME=1 \
  25   26           -DHAVE_TIMEZONE
  26   27  COPTFLAG += $(XESS) #-I$(KINCDIR) 
  27   28  
  28   29  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  29   30  CERRWARN += -_gcc=-Wno-unused-function
  30   31  
       32 +# not linted
       33 +SMATCH=off
       34 +
  31   35  LDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
  32   36  LDLIBS += $(KMECHLIB) $(ROOT)$(KERBLIBDIR)/libss.so
  33   37  
  34   38  .KEEP_STATE:
  35   39  
  36   40  all: $(PROG)
  37   41  
  38   42  ktutil: $(OBJS) 
  39   43          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  40   44          $(POST_PROCESS)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX