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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/awk/Makefile
          +++ new/usr/src/cmd/awk/Makefile
↓ 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 2005 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
       27 +# Copyright (c) 2018, Joyent, Inc.
  27   28  
  28   29  # NOTE: awk is oawk.
  29   30  
  30   31  PROG= nawk
  31   32  
  32   33  OBJ1= b.o lib.o main.o parse.o proctab.o run.o tran.o
  33   34  OBJ2= awk.g.o awk.lx.o
  34   35  OBJS= $(OBJ2) $(OBJ1)
  35   36  SRCS= $(OBJ1:%.o=%.c)
  36   37  
  37   38  include ../Makefile.cmd
  38   39  
  39   40  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  40   41  CERRWARN += -_gcc=-Wno-unused-label
  41   42  CERRWARN += -_gcc=-Wno-parentheses
  42   43  CERRWARN += -_gcc=-Wno-unused-variable
  43   44  CERRWARN += -_gcc=-Wno-uninitialized
  44   45  
       46 +# not linted
       47 +SMATCH=off
       48 +
  45   49  #
  46   50  # Message catalog
  47   51  #
  48   52  POFILES= $(OBJS:%.o=%.po)
  49   53  POFILE= awk.po
  50   54  XGETFLAGS += -a -x awk.xcl
  51   55  #
  52   56  
  53   57  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  54   58  YFLAGS += -d
↓ open down ↓ 45 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX