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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/script/Makefile
          +++ new/usr/src/cmd/script/Makefile
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  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  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22   22  # Use is subject to license terms.
  23   23  #
       24 +# Copyright (c) 2018, Joyent, Inc.
  24   25  
  25   26  PROG= script
  26   27  
  27   28  include ../Makefile.cmd
  28   29  
  29   30  FILEMODE= 0555
  30   31  
  31   32  CERRWARN += -_gcc=-Wno-unused-variable
  32   33  
       34 +SMOFF += all_func_returns
       35 +
  33   36  .KEEP_STATE:
  34   37  
  35      -all: $(PROG) 
       38 +all: $(PROG)
  36   39  
  37   40  install: all $(ROOTPROG)
  38   41  
  39   42  clean:
  40   43  
  41   44  lint:   lint_PROG
  42   45  
  43   46  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX