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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/awk_xpg4/Makefile
          +++ new/usr/src/cmd/awk_xpg4/Makefile
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23   23  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  # cmd/awk_xpg4/Makefile
  27   27  #
       28 +# Copyright (c) 2018, Joyent, Inc.
  28   29  
  29   30  # NOTE: this is nawk in usr/src/cmd/awk_xpg4 to reside as /usr/xpg4/bin/awk
  30   31  
  31   32  PROG= awk
  32   33  XPG4PROG= awk
  33   34  
  34   35  OBJ1= awk0.o awk1.o awk2.o awk3.o awk4.o
  35   36  OBJ2= awk.o
  36   37  XPG4AWKOBJ= values-xpg4.o
  37   38  OBJS= $(OBJ2) $(OBJ1) $(XPG4AWKOBJ)
↓ open down ↓ 3 lines elided ↑ open up ↑
  41   42  
  42   43  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  43   44  CFLAGS += $(CCVERBOSE)
  44   45  CERRWARN += -_gcc=-Wno-unused-label
  45   46  CERRWARN += -_gcc=-Wno-parentheses
  46   47  CERRWARN += -_gcc=-Wno-uninitialized
  47   48  YFLAGS += -d
  48   49  LDLIBS += -lm
  49   50  CLEANFILES= awk.c y.tab.h
  50   51  
       52 +# not linted
       53 +SMATCH=off
       54 +
  51   55  # for messaging catalog
  52   56  
  53   57  POFILE= awk_xpg4.po
  54   58  POFILES= $(OBJ1:%.o=%.po) $(OBJ2:%.o=%.po)
  55   59  
  56   60  .KEEP_STATE:
  57   61  
  58   62  .PARALLEL:      $(OBJS)
  59   63  
  60   64  all: $(XPG4)
↓ open down ↓ 35 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX