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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/cmd-inet/usr.bin/pppdump/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/pppdump/Makefile
   1    1  #
   2    2  # Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
   3    3  # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
        4 +# Copyright (c) 2018, Joyent, Inc.
   4    5  #
   5    6  
   6    7  PROG=           pppdump
   7    8  OBJS=           bsd-comp.o deflate.o pppdump.o zlib.o
   8    9  SRCS=           $(OBJS:%.o=%.c)
   9   10  
  10   11  include         ../../../Makefile.cmd
  11   12  
  12   13  CPPFLAGS +=     -DPPP_DEFS_IN_NET
  13   14  
  14   15  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  15   16  CERRWARN +=     -_gcc=-Wno-parentheses
  16   17  CERRWARN +=     -_gcc=-Wno-unused-variable
  17   18  CERRWARN +=     -_gcc=-Wno-uninitialized
  18   19  
       20 +# not linted
       21 +SMATCH=off
       22 +
  19   23  .KEEP_STATE:
  20   24  
  21   25  all:            $(PROG)
  22   26  
  23   27  $(PROG):        $(OBJS)
  24   28                  $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  25   29                  $(POST_PROCESS)
  26   30  
  27   31  install:         all $(ROOTPROG)
  28   32  
  29   33  clean:
  30   34                  $(RM) $(OBJS)
  31   35  
  32   36  lint:
  33   37  
  34   38  include         ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX