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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/streams/log/Makefile
          +++ new/usr/src/cmd/streams/log/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=   strace strerr strclean
  26   27  
  27   28  include ../../Makefile.cmd
  28   29  
  29   30  CFLAGS += $(CCVERBOSE)
  30   31  CERRWARN += -_gcc=-Wno-unused-variable
  31   32  
       33 +SMOFF += all_func_returns
       34 +
  32   35  FILEMODE= 0555
  33   36  
  34   37  .KEEP_STATE:
  35   38  
  36      -all: $(PROG) 
       39 +all: $(PROG)
  37   40  
  38   41  install: all $(ROOTUSRSBINPROG)
  39   42          -$(RM) $(ROOTBIN)/strace
  40   43          -$(RM) $(ROOTBIN)/strerr
  41   44          -$(RM) $(ROOTBIN)/strclean
  42   45          -$(SYMLINK) ../sbin/strace $(ROOTBIN)/strace
  43   46          -$(SYMLINK) ../sbin/strerr $(ROOTBIN)/strerr
  44   47          -$(SYMLINK) ../sbin/strclean $(ROOTBIN)/strclean
  45   48  
  46   49  clean:
  47   50  
  48   51  lint:   lint_PROG
  49   52  
  50   53  include ../../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX