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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oawk/Makefile
          +++ new/usr/src/cmd/oawk/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  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  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright (c) 2018, Joyent, Inc.
  26   27  
  27   28  include         ../Makefile.cmd
  28   29  
  29   30  PROG =          oawk
  30   31  LINKPROG =      awk
  31   32  
  32   33  SRCS =          b.c lib.c main.c parse.c run.c tran.c
  33   34  
  34   35  #TXTS =         README EXPLAIN
  35   36  
↓ open down ↓ 26 lines elided ↑ open up ↑
  62   63  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
  63   64  
  64   65  ROOTLINK =      $(LINKPROG:%=$(ROOTBIN)/%)
  65   66  
  66   67  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  67   68  CERRWARN +=     -_gcc=-Wno-unused-label
  68   69  CERRWARN +=     -_gcc=-Wno-unused-variable
  69   70  CERRWARN +=     -_gcc=-Wno-extra
  70   71  CERRWARN +=     -_gcc=-Wno-parentheses
  71   72  
       73 +# missing type declarations
       74 +SMATCH =        off
       75 +
  72   76  .KEEP_STATE :
  73   77  
  74   78  all :           $(PROG) $(TXTS)
  75   79  
  76   80  $(PROG) :       $(OBJS)
  77   81                  $(LINK.c) $(OBJS)  -o $@  $(LDLIBS)
  78   82                  $(POST_PROCESS)
  79   83  
  80   84  $(POFILE):      $(POFILES)
  81   85                  $(RM)   $@
↓ open down ↓ 42 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX