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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/ldap_util/Makefile
          +++ new/usr/src/cmd/krb5/ldap_util/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
       25 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  PROG= kdb5_ldap_util
  27   28  
  28   29  OBJS    = \
  29   30          kdb5_ldap_list.o \
  30   31          kdb5_ldap_policy.o \
  31   32          kdb5_ldap_realm.o \
  32   33          kdb5_ldap_services.o \
  33   34          kdb5_ldap_util.o
  34   35  
↓ open down ↓ 23 lines elided ↑ open up ↑
  58   59                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  59   60                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include/krb5 \
  60   61                  -I../kwarn \
  61   62                  $(DEFS)
  62   63  
  63   64  CERRWARN +=     -_gcc=-Wno-unused-variable
  64   65  CERRWARN +=     -_gcc=-Wno-unused-label
  65   66  CERRWARN +=     -_gcc=-Wno-unused-function
  66   67  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  67   68  
       69 +# not linted
       70 +SMATCH=off
       71 +
  68   72  LDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
  69   73  LDLIBS += -L $(ROOT_KLIBDIR) -L $(KRB5LIB) -lkadm5srv -lkdb -lkdb_ldap \
  70   74          -lmech_krb5
  71   75  
  72   76  .KEEP_STATE:
  73   77  
  74   78  all: $(PROG)
  75   79  
  76   80  $(PROG):       $(OBJS) $(GETDATE)
  77   81          $(LINK.c) $(OBJS) $(GETDATE) -o $@ $(LDLIBS)
↓ open down ↓ 20 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX