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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/listen/Makefile
          +++ new/usr/src/cmd/listen/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 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
       27 +
  26   28  PROG= listen nlps_server
  27   29  
  28   30  DBGOBJ  = doprnt.o
  29   31  DBGSRC  = doprnt.c
  30   32  
  31   33  LSOBJS  =       listen.o lslog.o lsdbf.o lsdata.o nstoa.o nlsaddr.o
  32   34  
  33   35  NLPSOBJS =      nlps_serv.o lsdbf.o lssmb.o nstoa.o lslog.o lsdata.o
  34   36  
  35   37  OBJS= $(LSOBJS) $(NLPSOBJS)
↓ open down ↓ 20 lines elided ↑ open up ↑
  56   58  LDFLAGS += $(MAPFILE.NGB:%=-M%)
  57   59  LINTFLAGS = -b -x
  58   60  FILEMODE= 0755
  59   61  
  60   62  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  61   63  CERRWARN += -_gcc=-Wno-unused-variable
  62   64  CERRWARN += -_gcc=-Wno-empty-body
  63   65  CERRWARN += -_gcc=-Wno-parentheses
  64   66  CERRWARN += -_gcc=-Wno-uninitialized
  65   67  
       68 +# not linted
       69 +SMATCH=off
       70 +
  66   71  $(LIBSAFD)/% : %
  67   72          $(INS.file)
  68   73  
  69   74  .KEEP_STATE:
  70   75  
  71   76  all: $(PROG)
  72   77  
  73   78  listen: $(LSOBJS) $(MAPFILE.NGB)
  74   79          $(LINK.c) $(LSOBJS) -o $@ $(LDLIBS)
  75   80          $(POST_PROCESS)
↓ open down ↓ 22 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX