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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/ksh/builtins/Makefile
          +++ new/usr/src/cmd/ksh/builtins/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 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26      -
  27      -#
  28   26  # Copyright 2010 Nexenta Systems, Inc.  All rights reserved.
  29   27  #
       28 +# Copyright (c) 2018, Joyent, Inc.
       29 +#
  30   30  
  31   31  PROG= alias
  32   32  ALIASPROG= \
  33   33          bg \
  34   34          cd \
  35   35          cksum \
  36   36          cmp \
  37   37          comm \
  38   38          command \
  39   39          cut \
↓ open down ↓ 46 lines elided ↑ open up ↑
  86   86  ROOTXPG4ALIAS= \
  87   87          $(XPG4SH:%=$(ROOTXPG4BIN)/%) $(XPG4ALIASPROG:%=$(ROOTXPG4BIN)/%)
  88   88  ROOTALIASPROG= $(ALIASPROG:%=$(ROOTBIN)/%)
  89   89  
  90   90  include ../../Makefile.cmd
  91   91  $(SPARC_BLD)include ../../Makefile.cmd.64
  92   92  
  93   93  FILEMODE= 555
  94   94  CERRWARN += -_gcc=-Wno-parentheses
  95   95  
       96 +# not linted
       97 +SMATCH=off
       98 +
  96   99  .KEEP_STATE:
  97  100  
  98  101  all: $(PROG)
  99  102  
 100  103  $(XPG4ALIASPROG:%=$(ROOTXPG4BIN)/%):
 101  104          $(RM) $@; $(SYMLINK) ../../bin/alias $@
 102  105  
 103  106  $(XPG4SH:%=$(ROOTXPG4BIN)/%):
 104  107          $(RM) $@; $(SYMLINK) ../../bin/ksh93 $@
 105  108  
↓ open down ↓ 44 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX