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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/pam_modules/krb5/Makefile.com
          +++ new/usr/src/lib/pam_modules/krb5/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 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# usr/src/lib/pam_modules/krb5/Makefile.com
  26      -#
       25 +# Copyright (c) 2018, Joyent, Inc.
  27   26  
  28   27  LIBRARY=        pam_krb5.a
  29   28  VERS=           .1
  30   29  
  31   30  
  32   31  PRIV_OBJ=       krb5_authenticate.o \
  33   32                  krb5_setcred.o \
  34   33                  krb5_acct_mgmt.o \
  35   34                  krb5_password.o \
  36   35                  krb5_session.o \
↓ open down ↓ 7 lines elided ↑ open up ↑
  44   43  CPPFLAGS +=     -I../../../gss_mechs/mech_krb5/include \
  45   44                  -I$(SRC)/uts/common/gssapi/include/ \
  46   45                  -I$(SRC)/uts/common/gssapi/mechs/krb5/include \
  47   46                  -I$(SRC)/lib/gss_mechs/mech_krb5 \
  48   47                  -I$(SRC)/lib/krb5 \
  49   48                  -I.
  50   49  
  51   50  CERRWARN +=     -_gcc=-Wno-parentheses
  52   51  CERRWARN +=     -_gcc=-Wno-unused-function
  53   52  
       53 +# not linted
       54 +SMATCH=off
       55 +
  54   56  # module needs to be unloadable because the key destructor might be
  55   57  # called after dlclose()
  56   58  DYNFLAGS +=     $(ZNODELETE)
  57   59  
  58   60  CLOBBERFILES += $(LINTLIB) $(LINTOUT) $(POFILE)
  59   61  
  60   62  #
  61   63  # Don't lint derived files
  62   64  #
  63   65  lint    :=      SRCS= $(PRIV_OBJ:%.o=$(SRCDIR)/%.c)
  64   66  
  65   67  all:    $(LIBS)
  66   68  
  67   69  lint:   lintcheck
  68   70  
  69   71  include $(SRC)/lib/Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX