Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized


   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 CERRWARN +=             -_gcc=-Wno-parentheses
  29 CERRWARN +=             -_gcc=-Wno-uninitialized
  30 CERRWARN +=             -_gcc=-Wno-address
  31 
  32 # not linted
  33 SMATCH=off
  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 




   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 CERRWARN +=             -_gcc=-Wno-parentheses
  29 CERRWARN +=             $(CNOWARN_UNINIT)
  30 CERRWARN +=             -_gcc=-Wno-address
  31 
  32 # not linted
  33 SMATCH=off
  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