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


  41 LINTS           = $(VR_OBJS:%.o=$(LINTS_DIR)/%.ln)
  42 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  43 
  44 #
  45 #       Include common rules.
  46 #
  47 include $(UTSBASE)/intel/Makefile.intel
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 #       Overrides
  58 #
  59 
  60 CERRWARN        += -_gcc=-Wno-unused-label
  61 CERRWARN        += -_gcc=-Wno-uninitialized
  62 
  63 # needs work
  64 SMOFF += array_condition
  65 
  66 #
  67 # Driver depends on GLD
  68 #
  69 LDFLAGS         += -dy -N misc/mac
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81 


  41 LINTS           = $(VR_OBJS:%.o=$(LINTS_DIR)/%.ln)
  42 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  43 
  44 #
  45 #       Include common rules.
  46 #
  47 include $(UTSBASE)/intel/Makefile.intel
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY)
  53 LINT_TARGET     = $(MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  55 
  56 #
  57 #       Overrides
  58 #
  59 
  60 CERRWARN        += -_gcc=-Wno-unused-label
  61 CERRWARN        += $(CNOWARN_UNINIT)
  62 
  63 # needs work
  64 SMOFF += array_condition
  65 
  66 #
  67 # Driver depends on GLD
  68 #
  69 LDFLAGS         += -dy -N misc/mac
  70 
  71 #
  72 #       Default build targets.
  73 #
  74 .KEEP_STATE:
  75 
  76 def:            $(DEF_DEPS)
  77 
  78 all:            $(ALL_DEPS)
  79 
  80 clean:          $(CLEAN_DEPS)
  81