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/chat/Makefile
          +++ new/usr/src/cmd/cmd-inet/usr.bin/chat/Makefile
   1    1  #
   2    2  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
   3    3  #  Use is subject to license terms.
   4    4  #
        5 +# Copyright (c) 2018, Joyent, Inc.
   5    6  
   6    7  PROG=           chat
   7    8  OBJS=           chat.o
   8    9  SRCS=           $(OBJS:%.o=%.c)
   9   10  
  10   11  include         ../../../Makefile.cmd
  11   12  
  12   13  CPPFLAGS +=     -DSOL2
  13   14  LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
  14   15  CERRWARN +=     -_gcc=-Wno-unused-value
  15   16  CERRWARN +=     -_gcc=-Wno-trigraphs
  16   17  
       18 +# not linted
       19 +SMATCH=off
       20 +
  17   21  .KEEP_STATE:
  18   22  
  19   23  all: $(PROG)
  20   24  
  21   25  install: all $(ROOTPROG)
  22   26  
  23   27  clean:
  24   28          $(RM) $(OBJS)
  25   29  
  26   30  lint:   
  27   31  
  28   32  include         ../../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX