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


   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # cmd/fwflash/Makefile.com
  25 #
  26 #
  27 # common rules for $SRC/cmd/fwflash
  28 
  29 CLOSED=                 $(SRC)/../closed
  30 
  31 CERRWARN +=             -_gcc=-Wno-parentheses
  32 CERRWARN +=             -_gcc=-Wno-uninitialized
  33 CERRWARN +=             -_gcc=-Wno-address
  34 



  35 ROOTUSR=                $(ROOT)/usr
  36 ROOTUSRINCLD=           $(ROOTUSR)/include
  37 ROOTUSRINCLDFWFLASH=    $(ROOTUSRINCLD)/fwflash
  38 ROOTUSRLIB=             $(ROOTUSR)/lib
  39 ROOTUSRLIBFWFLASH=      $(ROOTUSRLIB)/fwflash
  40 ROOTUSRLIBFWFLASHIDF=   $(ROOTUSRLIBFWFLASH)/identify
  41 ROOTUSRLIBFWFLASHVRF=   $(ROOTUSRLIBFWFLASH)/verify
  42 ROOTUSRSBIN=            $(ROOTUSR)/sbin
  43 
  44 $(ROOTUSR):
  45         $(INS.dir)
  46 
  47 $(ROOTUSRINCLD):        $(ROOTUSR)
  48         $(INS.dir)
  49 
  50 $(ROOTUSRINCLDFWFLASH):
  51         $(INS.dir)
  52 
  53 $(ROOTUSRINCLDFWFLASH)/%: $(ROOTUSRINCLDFWFLASH) %
  54         $(INS.file)




   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  22 # Use is subject to license terms.
  23 #
  24 # Copyright (c) 2018, Joyent, Inc.
  25 #

  26 # common rules for $SRC/cmd/fwflash
  27 
  28 CLOSED=                 $(SRC)/../closed
  29 
  30 CERRWARN +=             -_gcc=-Wno-parentheses
  31 CERRWARN +=             -_gcc=-Wno-uninitialized
  32 CERRWARN +=             -_gcc=-Wno-address
  33 
  34 # not linted
  35 SMATCH=off
  36 
  37 ROOTUSR=                $(ROOT)/usr
  38 ROOTUSRINCLD=           $(ROOTUSR)/include
  39 ROOTUSRINCLDFWFLASH=    $(ROOTUSRINCLD)/fwflash
  40 ROOTUSRLIB=             $(ROOTUSR)/lib
  41 ROOTUSRLIBFWFLASH=      $(ROOTUSRLIB)/fwflash
  42 ROOTUSRLIBFWFLASHIDF=   $(ROOTUSRLIBFWFLASH)/identify
  43 ROOTUSRLIBFWFLASHVRF=   $(ROOTUSRLIBFWFLASH)/verify
  44 ROOTUSRSBIN=            $(ROOTUSR)/sbin
  45 
  46 $(ROOTUSR):
  47         $(INS.dir)
  48 
  49 $(ROOTUSRINCLD):        $(ROOTUSR)
  50         $(INS.dir)
  51 
  52 $(ROOTUSRINCLDFWFLASH):
  53         $(INS.dir)
  54 
  55 $(ROOTUSRINCLDFWFLASH)/%: $(ROOTUSRINCLDFWFLASH) %
  56         $(INS.file)