Print this page
10079 smatch Makefile changes for usr/src/lib

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/krb5/plugins/kdb/db2/Makefile.com
          +++ new/usr/src/lib/krb5/plugins/kdb/db2/Makefile.com
↓ 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  LIBRARY= db2.a
  27   28  VERS= .1
  28   29  
  29   30  # XXX need to set the install path to plugin dir
  30   31  
  31   32  # db2 plugin objects
  32   33  DB2_OBJS= \
  33   34          adb_openclose.o \
  34   35          adb_policy.o \
↓ open down ↓ 27 lines elided ↑ open up ↑
  62   63                  -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
  63   64                  -I$(SRC)/uts/common/gssapi/include/ \
  64   65                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  65   66  
  66   67  CFLAGS +=       $(CCVERBOSE)
  67   68  CERRWARN +=     -_gcc=-Wno-unused-variable
  68   69  CERRWARN +=     -_gcc=-Wno-unused-function
  69   70  CERRWARN +=     -_gcc=-Wno-parentheses
  70   71  CERRWARN +=     -_gcc=-Wno-uninitialized
  71   72  
       73 +# not linted
       74 +SMATCH=off
       75 +
  72   76  DYNFLAGS +=     $(KRUNPATH) $(KERBRUNPATH) $(KMECHLIB)
  73   77  LDLIBS +=       -L $(ROOTLIBDIR) -ldb2 -lkdb -lkadm5srv -lc -lnsl
  74   78  
  75   79  .KEEP_STATE:
  76   80  
  77   81  all:    $(LIBS)
  78   82  
  79   83  lint:   lintcheck
  80   84  
  81   85  # include library targets
  82   86  include $(SRC)/lib/krb5/Makefile.targ
  83   87  
  84   88  FRC:
  85   89  
  86   90  generic.po: FRC
  87   91          $(RM) messages.po
  88   92          $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../*.[ch]`
  89   93          $(SED) "/^domain/d" messages.po > $@
  90   94          $(RM) messages.po
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX