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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/keyserv/Makefile
          +++ new/usr/src/cmd/keyserv/Makefile
↓ 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 +# Copyright (c) 2018, Joyent, Inc.
  25   26  
  26   27  SBINPROG = keyserv newkey
  27   28  BINPROG = keylogout keylogin domainname chkey
  28   29  
  29   30  MANIFEST= keyserv.xml
  30   31  
  31   32  PROG= $(SBINPROG) $(BINPROG)
  32   33  
  33   34  HDRS= key_prot.h
  34   35  
↓ open down ↓ 32 lines elided ↑ open up ↑
  67   68  CPPFLAGS += -I. -I$(SRC)/lib/libnsl/include -I$(SRC)/lib/libsldap/common \
  68   69                  -D_REENTRANT
  69   70  
  70   71  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  71   72  CERRWARN +=     -_gcc=-Wno-parentheses
  72   73  CERRWARN +=     -_gcc=-Wno-uninitialized
  73   74  CERRWARN +=     -_gcc=-Wno-unused-variable
  74   75  CERRWARN +=     -_gcc=-Wno-address
  75   76  CERRWARN +=     -_gcc=-Wno-unused-function
  76   77  
       78 +# not linted
       79 +SMATCH=off
       80 +
  77   81  LDLIBS +=       -lnsl
  78   82  chkey :=        LDLIBS += -lsldap
  79   83  keyserv :=      LDLIBS += -lmp
  80   84  newkey  :=      LDLIBS += -lsldap -lsocket
  81   85  
  82   86  .KEEP_STATE:
  83   87  
  84   88  all: $(PROG)
  85   89  
  86   90  keyserv: $(K_OBJS)  $(KEYSERVOBJS)
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX