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


  40 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  41 CONF_SRCDIR     = $(UTSBASE)/common/io
  42 
  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/intel/Makefile.intel
  47 
  48 #
  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54 
  55 #
  56 # lint pass one enforcement
  57 #
  58 CFLAGS          += $(CCVERBOSE)
  59 
  60 CERRWARN        += -_gcc=-Wno-uninitialized
  61 CERRWARN        += -_gcc=-Wno-switch
  62 CERRWARN        += -_gcc=-Wno-parentheses
  63 
  64 #
  65 # Driver depends on MAC, DLS, and DLD
  66 #
  67 LDFLAGS         += -dy -Nmisc/mac -Nmisc/dls -Ndrv/dld -Nfs/dev
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)


  40 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  41 CONF_SRCDIR     = $(UTSBASE)/common/io
  42 
  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/intel/Makefile.intel
  47 
  48 #
  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54 
  55 #
  56 # lint pass one enforcement
  57 #
  58 CFLAGS          += $(CCVERBOSE)
  59 
  60 CERRWARN        += $(CNOWARN_UNINIT)
  61 CERRWARN        += -_gcc=-Wno-switch
  62 CERRWARN        += -_gcc=-Wno-parentheses
  63 
  64 #
  65 # Driver depends on MAC, DLS, and DLD
  66 #
  67 LDFLAGS         += -dy -Nmisc/mac -Nmisc/dls -Ndrv/dld -Nfs/dev
  68 
  69 #
  70 #       Default build targets.
  71 #
  72 .KEEP_STATE:
  73 
  74 def:            $(DEF_DEPS)
  75 
  76 all:            $(ALL_DEPS)
  77 
  78 clean:          $(CLEAN_DEPS)
  79 
  80 clobber:        $(CLOBBER_DEPS)