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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/Makefile.com
          +++ new/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/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= libkdb_ldap.a
  27   28  VERS= .1
  28   29  
  29   30  LIBKLDAP_OBJS= \
  30   31          kdb_ldap.o \
  31   32          kdb_ldap_conn.o \
  32   33          kdb_xdr.o \
  33   34          ldap_create.o \
  34   35          ldap_err.o \
↓ open down ↓ 34 lines elided ↑ open up ↑
  69   70                  -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  70   71                  -I$(SRC)/lib/gss_mechs/mech_krb5/krb5/os \
  71   72                  -I$(SRC)/lib/gss_mechs/mech_krb5/include/krb5 \
  72   73                  -I$(SRC)/uts/common/gssapi/include/ \
  73   74                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  74   75                  -DUSE_KADM5_API_VERSION=2
  75   76  
  76   77  CFLAGS +=       $(CCVERBOSE) -I..
  77   78  CERRWARN +=     -_gcc=-Wno-parentheses
  78   79  CERRWARN +=     -_gcc=-Wno-unused-function
       80 +
       81 +# not linted
       82 +SMATCH=off
       83 +
  79   84  DYNFLAGS +=     $(KRUNPATH) $(KERBRUNPATH) $(KMECHLIB)
  80   85  LDLIBS +=       -L $(ROOTLIBDIR) -lkadm5srv -lc -lnsl -lldap
  81   86  
  82   87  .KEEP_STATE:
  83   88  
  84   89  all:    $(LIBS)
  85   90  
  86   91  lint:   lintcheck
  87   92  
  88   93  # include library targets
  89   94  include $(SRC)/lib/krb5/Makefile.targ
  90   95  
  91   96  FRC:
  92   97  
  93   98  generic.po: FRC
  94   99          $(RM) messages.po
  95  100          $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../*.[ch]`
  96  101          $(SED) "/^domain/d" messages.po > $@
  97  102          $(RM) messages.po
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX