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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/klist/Makefile
          +++ new/usr/src/cmd/krb5/klist/Makefile
   1    1  #
   2    2  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
   3    3  # Use is subject to license terms.
   4    4  #
   5      -#
        5 +# Copyright (c) 2018, Joyent, Inc.
   6    6  
   7    7  PROG= klist
   8    8  
   9    9  OUTPUT_OPTION = -I. 
  10   10  
  11   11  OBJS    = klist.o                       
  12   12  SRCS    = $(OBJS:.o=.c)
  13   13  
  14   14  include ../../Makefile.cmd
  15   15  include $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
↓ open down ↓ 5 lines elided ↑ open up ↑
  21   21  DEFS = -DHAVE_GETIPNODEBYADDR=1 -DHAVE_INET_NTOP=1
  22   22  
  23   23  CPPFLAGS += -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  24   24                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  25   25                  $(DEFS)
  26   26  
  27   27  LDFLAGS += $(KRUNPATH)
  28   28  LDLIBS += $(KMECHLIB)
  29   29  CERRWARN += -_gcc=-Wno-unused-function
  30   30  
       31 +# not linted
       32 +SMATCH=off
       33 +
  31   34  $(GPROGS) := CPPFLAGS += -DSYSV -DSunOS=50 
  32   35  
  33   36  .KEEP_STATE:
  34   37  
  35   38  all: $(PROG)
  36   39  
  37   40  $(PROG):       $(OBJS)  
  38   41          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  39   42          $(POST_PROCESS)
  40   43  
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX