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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/rpcbind/Makefile
          +++ new/usr/src/cmd/rpcbind/Makefile
↓ open down ↓ 16 lines elided ↑ open up ↑
  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   25  # Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
  26   26  #
       27 +# Copyright (c) 2018, Joyent, Inc.
  27   28  
  28   29  PROG=           rpcbind
  29   30  MANIFEST=       bind.xml
  30   31  SVCMETHOD=      rpc-bind
  31   32  
  32   33  OBJS= check_bound.o pmap_svc.o rpcb_svc.o rpcb_svc_com.o rpcb_svc_4.o \
  33   34           rpcb_stat.o rpcbind.o warmstart.o selfcheck.o rpcb_check.o
  34   35  
  35   36  CLOBBERFILES += $(SVCMETHOD)
  36   37  
↓ open down ↓ 2 lines elided ↑ open up ↑
  39   40  
  40   41  include ../Makefile.cmd
  41   42  
  42   43  ROOTMANIFESTDIR=        $(ROOTSVCNETWORKRPC)
  43   44  
  44   45  CPPFLAGS= -I. -DPORTMAP $(CPPFLAGS.master)
  45   46  CPPFLAGS += -D_REENTRANT
  46   47  $(RELEASE_BUILD)CPPFLAGS += -DNDEBUG
  47   48  LDLIBS += -lsocket -lnsl -lwrap -lscf -lumem
  48   49  
       50 +# not linted
       51 +SMATCH=off
       52 +
  49   53  .KEEP_STATE:
  50   54  
  51   55  all: $(PROG) $(SVCMETHOD)
  52   56  
  53   57  $(PROG): $(OBJS)
  54   58          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  55   59          $(POST_PROCESS)
  56   60  
  57   61  selfcheck.o:    ../fs.d/nfs/lib/selfcheck.c
  58   62                  $(COMPILE.c) ../fs.d/nfs/lib/selfcheck.c
↓ open down ↓ 12 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX