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


  45 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  46 CONF_SRCDIR     = $(UTSBASE)/common/io/e1000g
  47 
  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/sparc/Makefile.sparc
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59 
  60 LINTFLAGS  += \
  61         -I$(UTSBASE)/common/io/e1000g \
  62         -I$(UTSBASE)/common/io/e1000api
  63 
  64 
  65 CERRWARN        += -_gcc=-Wno-uninitialized
  66 CERRWARN        += -_gcc=-Wno-parentheses
  67 CERRWARN        += -_gcc=-Wno-switch
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += -_gcc=-Wno-unused-variable
  70 CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  71 
  72 LINTTAGS        += -erroff=E_CONSTANT_CONDITION
  73 
  74 #
  75 #       Override defaults
  76 #
  77 INC_PATH        += -I$(CONF_SRCDIR) -I$(UTSBASE)/common/io/e1000api
  78 
  79 
  80 #
  81 # lint pass one enforcement
  82 #
  83 CFLAGS          += $(CCVERBOSE)
  84 
  85 #




  45 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  46 CONF_SRCDIR     = $(UTSBASE)/common/io/e1000g
  47 
  48 #
  49 #       Include common rules.
  50 #
  51 include $(UTSBASE)/sparc/Makefile.sparc
  52 
  53 #
  54 #       Define targets
  55 #
  56 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59 
  60 LINTFLAGS  += \
  61         -I$(UTSBASE)/common/io/e1000g \
  62         -I$(UTSBASE)/common/io/e1000api
  63 
  64 
  65 CERRWARN        += $(CNOWARN_UNINIT)
  66 CERRWARN        += -_gcc=-Wno-parentheses
  67 CERRWARN        += -_gcc=-Wno-switch
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += -_gcc=-Wno-unused-variable
  70 CERRWARN        += -_cc=-erroff=E_STATEMENT_NOT_REACHED
  71 
  72 LINTTAGS        += -erroff=E_CONSTANT_CONDITION
  73 
  74 #
  75 #       Override defaults
  76 #
  77 INC_PATH        += -I$(CONF_SRCDIR) -I$(UTSBASE)/common/io/e1000api
  78 
  79 
  80 #
  81 # lint pass one enforcement
  82 #
  83 CFLAGS          += $(CCVERBOSE)
  84 
  85 #