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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/tnf/prex/Makefile.com
          +++ new/usr/src/cmd/tnf/prex/Makefile.com
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  
  23   23  #
  24   24  # Copyright 1989,2003 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27      -# cmd/tnf/prex/Makefile.com
  28      -#
       27 +# Copyright (c) 2018, Joyent, Inc.
  29   28  
  30   29  PROG=           prex
  31   30  
  32   31  OBJS.c=         source.o        \
  33   32                  main.o          \
  34   33                  util.o          \
  35   34                  expr.o          \
  36   35                  spec.o          \
  37   36                  set.o           \
  38   37                  queue.o         \
↓ open down ↓ 26 lines elided ↑ open up ↑
  65   64  LDLIBS +=       -lgen -ltnfctl -lelf -lc
  66   65  # Uncomment the following line for a debug build
  67   66  # COPTFLAG =    -g -DDEBUG
  68   67  
  69   68  CFLAGS +=       $(CCVERBOSE)
  70   69  CERRWARN +=     -_gcc=-Wno-unused-label
  71   70  CERRWARN +=     -_gcc=-Wno-unused-variable
  72   71  CERRWARN +=     -_gcc=-Wno-parentheses
  73   72  CERRWARN +=     -_gcc=-Wno-uninitialized
  74   73  
       74 +# not linted
       75 +SMATCH=off
       76 +
  75   77  .KEEP_STATE:
  76   78  
  77   79  .PARALLEL: $(OBJS)
  78   80  
  79   81  all: $(PROG)
  80   82  
  81   83  #OBJS can be built in parallel after all .c (and y.tab.h) are properly built
  82   84  $(PROG): $(SRCS.yl) .WAIT $(OBJS)
  83   85          $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
  84   86          $(POST_PROCESS)
↓ open down ↓ 32 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX