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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rpcsvc/Makefile
          +++ new/usr/src/cmd/rpcsvc/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      -#
  26      -# cmd/rpcsvc/Makefile
       25 +# Copyright (c) 2018, Joyent, Inc.
  27   26  
  28   27  PROTOCOL_DIR= $(ROOT)/usr/include/rpcsvc
  29   28  
  30   29  BINPROG= rusers rup
  31   30  SBINPROG= rwall spray
  32   31  RPROG= rpc.rusersd
  33   32  SPROG= rpc.sprayd
  34   33  WPROG= rpc.rwalld
  35   34  TPROG= rpc.rstatd
  36   35  
↓ open down ↓ 20 lines elided ↑ open up ↑
  57   56  include ../Makefile.cmd
  58   57  
  59   58  ROOTMANIFESTDIR=        $(ROOTSVCNETWORKRPC)
  60   59  
  61   60  CPPFLAGS= -I. $(CPPFLAGS.master)
  62   61  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  63   62  CERRWARN += -_gcc=-Wno-unused-variable
  64   63  CERRWARN += -_gcc=-Wno-parentheses
  65   64  CERRWARN += -_gcc=-Wno-extra
  66   65  CERRWARN += -_gcc=-Wno-unused-function
       66 +
       67 +# not linted
       68 +SMATCH=off
       69 +
  67   70  LDLIBS += -lnsl
  68   71  rusers :=       CFLAGS += $(CCVERBOSE)
  69   72  $(BINPROG) :=   LDLIBS += -lrpcsvc
  70   73  $(RPROG) :=     LDLIBS += -lrpcsvc
  71   74  $(SPROG) :=     LDLIBS += -lrpcsvc
  72   75  $(TPROG) :=     LDLIBS += -lrpcsvc
  73   76  spray :=        LDLIBS += -lrpcsvc
  74   77  
  75   78  
  76   79  SUBDIRS= rpc.bootparamd
↓ open down ↓ 164 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX