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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/ufs/quotaon/Makefile
          +++ new/usr/src/cmd/fs.d/ufs/quotaon/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  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  # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
  24   24  #
  25      -# cmd/fs.d/ufs/quotaon/Makefile
       25 +# Copyright (c) 2018, Joyent, Inc.
  26   26  
  27   27  FSTYPE=         ufs
  28   28  LIBPROG=        quotaon
  29   29  QUOTAOFF=       quotaoff
  30   30  ATTMK=          $(LIBPROG)
  31   31  
  32   32  OTHERINSTALL=   $(ROOTLIBFSTYPE)/$(QUOTAOFF) \
  33   33                  $(ROOTUSRSBIN)/$(LIBPROG) $(ROOTUSRSBIN)/$(QUOTAOFF)
  34   34  
  35   35  LINKVALUEON=    ../lib/fs/$(FSTYPE)/$(LIBPROG)
  36   36  LINKVALUEOFF=   ../lib/fs/$(FSTYPE)/$(QUOTAOFF)
  37   37  
  38   38  include         ../../Makefile.fstype
  39   39  
  40   40  $(ROOTINIT_SCRIPT) :=   FILEMODE = 0744
  41   41  
  42   42  CPPFLAGS +=     -D_LARGEFILE64_SOURCE
  43   43  CERRWARN +=     -_gcc=-Wno-unused-variable
  44   44  CERRWARN +=     -_gcc=-Wno-unused-function
  45   45  
       46 +# not linted
       47 +SMATCH=off
       48 +
  46   49  lint:           lint_PROG
  47   50  
  48   51  $(ROOTLIBFSTYPE)/$(QUOTAOFF):   $(ROOTLIBFSTYPE)/$(LIBPROG) 
  49   52                  -$(RM) $@; $(LN) $(ROOTLIBFSTYPE)/$(LIBPROG) $@
  50   53  
  51   54  $(ROOTUSRSBIN)/$(LIBPROG):
  52   55                  -$(RM) $@; $(SYMLINK) $(LINKVALUEON) $@
  53   56  
  54   57  $(ROOTUSRSBIN)/$(QUOTAOFF):
  55   58                  -$(RM) $@; $(SYMLINK) $(LINKVALUEOFF) $@
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX