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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/kwarn/Makefile
          +++ new/usr/src/cmd/krb5/kwarn/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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  #
  23   23  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
  27   28  TESTPROG = kwarndtest 
  28   29  
  29   30  PROG= ktkt_warnd
  30   31  MANIFEST=       ktkt_warn.xml
  31   32  
  32   33  KWARNDOBJS = kwarnd.o kwarnd_svc.o kwarnd_proc.o kwarnd_generic.o kwarnd_send.o
  33   34  KWARNTOBJS = kwarndtest.o
  34   35  
  35   36  G_OBJS   = kwarnd_xdr.o 
↓ open down ↓ 13 lines elided ↑ open up ↑
  49   50  POFILES = generic.po
  50   51  
  51   52  COPTFLAG +=     $(XESS) #-I$(KINCDIR) 
  52   53  CPPFLAGS +=     -D_REENTRANT
  53   54  
  54   55  CERRWARN +=     -_gcc=-Wno-unused-variable
  55   56  CERRWARN +=     -_gcc=-Wno-unused-function
  56   57  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  57   58  CERRWARN +=     -_gcc=-Wno-parentheses
  58   59  
       60 +# not linted
       61 +SMATCH=off
       62 +
  59   63  CPPFLAGS += -I../../lib/gss_mechs/mech_krb5/include \
  60   64                   -I$(SRC)/lib/gss_mechs/mech_krb5 \
  61   65                   -I$(SRC)/lib/gss_mechs/mech_krb5/include \
  62   66                   -I$(SRC)/uts/common/gssapi/mechs/krb5/include
  63   67  
  64   68  ktkt_warnd :=   MAPFILES =      $(MAPFILE.INT) $(MAPFILE.NGB)
  65   69  ktkt_warnd :=   LDFLAGS +=      $(KRUNPATH) $(MAPFILES:%=-M%)
  66   70  
  67   71  LDFLAGS +=      $(KRUNPATH)
  68   72  LDLIBS +=       $(KMECHLIB) -lnsl
↓ open down ↓ 60 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX