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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/rpcsec_gss/Makefile.com
          +++ new/usr/src/lib/rpcsec_gss/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= rpcsec.a
  27   28  VERS = .1
  28   29  
  29   30  OBJECTS=rpcsec_gss.o rpcsec_gss_misc.o rpcsec_gss_utils.o svc_rpcsec_gss.o
  30   31  
  31   32  # include library definitions
  32   33  include ../../Makefile.lib
  33   34  
  34   35  CPPFLAGS +=     -D_REENTRANT -I$(SRC)/uts/common/gssapi/include  \
  35   36                  -I$(SRC)/uts/common
  36   37  
  37   38  CFLAGS +=       $(XFFLAG)
  38   39  CFLAGS64 +=     $(XFFLAG)
  39   40  
  40   41  CERRWARN +=     -_gcc=-Wno-uninitialized
  41   42  CERRWARN +=     -_gcc=-Wno-parentheses
  42   43  
       44 +# not linted
       45 +SMATCH=off
       46 +
  43   47  DYNFLAGS +=     $(ZIGNORE)
  44   48  
  45   49  LINTSRC=        $(LINTLIB:%.ln=%)
  46   50  
  47   51  LIBS  = $(DYNLIB)
  48   52  
  49   53  LDLIBS += -lgss -lnsl -lc
  50   54  
  51   55  .KEEP_STATE:
  52   56  
  53   57  lint: lintcheck
  54   58  
  55   59  # include library targets
  56   60  include ../../Makefile.targ
  57   61  
  58   62  # librpcsec build rules
  59   63  
  60   64  pics/%.o: ../%.c
  61   65          $(COMPILE.c)  -o $@ $<
  62   66          $(POST_PROCESS_O)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX