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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/unlink/Makefile
          +++ new/usr/src/cmd/unlink/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= unlink
  26   27  
  27   28  include ../Makefile.cmd
  28   29  
  29   30  FILEMODE = 0555
  30   31  CERRWARN += -_gcc=-Wno-implicit-function-declaration
  31   32  CERRWARN += -_gcc=-Wno-parentheses
  32   33  
       34 +# not linted
       35 +SMATCH=off
       36 +
  33   37  .KEEP_STATE:
  34   38  
  35      -all: $(PROG) 
       39 +all: $(PROG)
  36   40  
  37   41  install: all $(ROOTUSRSBINPROG)
  38   42          -$(RM) $(ROOTETCPROG)
  39   43          -$(SYMLINK) ../usr/sbin/$(PROG) $(ROOTETCPROG)
  40   44  
  41   45  clean:
  42   46  
  43   47  lint:   lint_PROG
  44   48  
  45   49  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX