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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/kadmin/dbutil/Makefile
          +++ new/usr/src/cmd/krb5/kadmin/dbutil/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= kdb5_util
   7    8  
   8    9  OBJS    = kdb5_util.o \
   9   10          kdb5_create.o kadm5_create.o string_table.o kdb5_stash.o \
  10   11          kdb5_destroy.o ovload.o strtok.o dump.o
  11   12  
  12   13  SRCS    = $(OBJS:.o=.c)
  13   14  
  14   15  CLOBBERFILES += $(TESTPROG)
↓ open down ↓ 18 lines elided ↑ open up ↑
  33   34          -DHAVE_STRSTR=1 -DHAVE_COMPILE=1 -DHAVE_STEP=1 \
  34   35          -DHAVE_KRB_DB_H=1 -DHAVE_KDC_H=1 -DKDB4_DISABLE \
  35   36          -DUSE_KADM5_API_VERSION=2
  36   37  COPTFLAG += $(XESS) #-I$(KINCDIR) 
  37   38  
  38   39  CERRWARN += -_gcc=-Wno-parentheses
  39   40  CERRWARN += -_gcc=-Wno-unused-variable
  40   41  CERRWARN += -_gcc=-Wno-unused-function
  41   42  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  42   43  
       44 +# not linted
       45 +SMATCH=off
       46 +
  43   47  LDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
  44   48  LDLIBS += -L $(ROOT_KLIBDIR) -L $(KRB5LIB) -lkadm5srv -lkdb \
  45   49          -lmech_krb5 -lnsl
  46   50  
  47   51  .KEEP_STATE:
  48   52  
  49   53  all: $(PROG)
  50   54  
  51   55  # Rpcgen-erate iprop.h from the iprop.x spec file
  52   56  $(ISRCHDR):     $(KRB5IPROPDIR)/iprop.x
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX