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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/vi/port/Makefile
          +++ new/usr/src/cmd/vi/port/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright 2010 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  # cmd/vi/port/Makefile
  28   29  
  29   30  PROG= ex
  30   31  XPG4PROG= ex
  31   32  XPG6PROG= ex
  32   33  LIBPROGS= expreserve exrecover
  33   34  XD4= exobjs.xpg4
  34   35  XD6= exobjs.xpg6
  35   36  
↓ open down ↓ 18 lines elided ↑ open up ↑
  54   55  
  55   56  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  56   57  CERRWARN += -_gcc=-Wno-clobbered
  57   58  CERRWARN += -_gcc=-Wno-parentheses
  58   59  CERRWARN += -_gcc=-Wno-unused-variable
  59   60  CERRWARN += -_gcc=-Wno-unused-label
  60   61  CERRWARN += -_gcc=-Wno-unused-value
  61   62  CERRWARN += -_gcc=-Wno-uninitialized
  62   63  CERRWARN += -_gcc=-Wno-address
  63   64  
       65 +# way too old
       66 +SMATCH=off
       67 +
  64   68  #
  65   69  # For message catalogue files
  66   70  #
  67   71  POFILES= $(EXOBJS:%.o=%.po) expreserve.po exrecover.po
  68   72  POFILE= port.po
  69   73  
  70   74  # Include all XPG4 and XPG4ONLY changes in the XPG4 version
  71   75  $(XPG4) := CFLAGS += -DXPG4 -DXPG4ONLY
  72   76  
  73   77  # Include all XPG4 changes, but don't include XPG4ONLY in the XPG6 version
↓ open down ↓ 100 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX