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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/prtvtoc/Makefile
          +++ new/usr/src/cmd/prtvtoc/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      -# cmd/prtvtoc/Makefile
  25      -#
       24 +# Copyright (c) 2018, Joyent, Inc.
  26   25  
  27      -PROG= prtvtoc 
       26 +PROG= prtvtoc
  28   27  
  29   28  include ../Makefile.cmd
  30   29  
  31   30  RELUSRSBIN=     ../usr/sbin
  32   31  ROOTSYMLINK=    $(ROOTETC)/$(PROG)
  33   32  LDLIBS +=       -ladm -lefi
  34   33  
  35   34  CERRWARN +=     -_gcc=-Wno-parentheses
  36   35  CERRWARN +=     -_gcc=-Wno-uninitialized
  37   36  
       37 +# not linted
       38 +SMATCH=off
       39 +
  38   40  .KEEP_STATE:
  39   41  
  40      -all: $(PROG) 
       42 +all: $(PROG)
  41   43  
  42   44  install: all $(ROOTUSRSBINPROG) $(ROOTSYMLINK)
  43   45  
  44   46  $(ROOTSYMLINK):
  45   47          -$(RM) $@; $(SYMLINK) $(RELUSRSBIN)/$(PROG) $@
  46   48  
  47   49  clean:
  48   50  
  49   51  lint:   lint_PROG
  50   52  
  51   53  include ../Makefile.targ
  52   54  
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX