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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/krb5/kadmin/server/Makefile
          +++ new/usr/src/cmd/krb5/kadmin/server/Makefile
   1    1  #
   2    2  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   3    3  # Use is subject to license terms.
   4    4  #
        5 +# Copyright (c) 2018, Joyent, Inc.
   5    6  
   6    7  PROG= kadmind
   7    8  MANIFEST=       kadmin.xml
   8    9  
   9   10  OBJS    = kadm_rpc_svc.o server_stubs.o ovsec_kadmd.o misc.o server_glue_v1.o \
  10   11            ipropd_svc.o
  11   12  
  12   13  DERIVED_OBJS= iprop_xdr.o
  13   14  
  14   15  SRCS=   $(OBJS:.o=.c)
↓ open down ↓ 25 lines elided ↑ open up ↑
  40   41                  -I$(KRB5IPROPDIR) \
  41   42                  -I$(SRC)/uts/common/gssapi/include/ $(DEFS)
  42   43  
  43   44  COPTFLAG += $(XESS) #-I$(KINCDIR) 
  44   45  
  45   46  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  46   47  CERRWARN += -_gcc=-Wno-unused-variable
  47   48  CERRWARN += -_gcc=-Wno-parentheses
  48   49  CERRWARN += -_gcc=-Wno-unused-function
  49   50  
       51 +# not linted
       52 +SMATCH=off
       53 +
  50   54  LDFLAGS += $(KRUNPATH) $(KERBRUNPATH)
  51   55  LDLIBS += -lgss -L$(KRB5LIB) \
  52   56          -lmech_krb5 -lkadm5srv -lkdb -lnsl -lresolv -lbsm -lpam -lsocket
  53   57  
  54   58  .KEEP_STATE:
  55   59  
  56   60  all: $(PROG)
  57   61  
  58   62  $(PROG):        $(OBJS) $(DERIVED_OBJS)
  59   63          $(LINK.c) $(OBJS) $(DERIVED_OBJS) -o $@ $(LDLIBS)
↓ open down ↓ 38 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX