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


  39 CONF_SRCDIR     = $(UTSBASE)/intel/io/intel_nhm
  40 
  41 #
  42 #       Include common rules.
  43 #
  44 include $(UTSBASE)/intel/Makefile.intel
  45 
  46 OBJECTS         = $(INTEL_NHM_OBJS:%=$(OBJS_DIR)/%)
  47 LINTS           = $(INTEL_NHM_OBJS:%.o=$(LINTS_DIR)/%.ln)
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  53 LINT_TARGET     = $(LINT_MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 CPPFLAGS        +=  -I$(UTSBASE)/i86pc
  57 LDFLAGS         += -dy -N drv/smbios
  58 
  59 CERRWARN        += -_gcc=-Wno-uninitialized
  60 
  61 #
  62 #       Default build targets.
  63 #
  64 .KEEP_STATE:
  65 
  66 def:            $(DEF_DEPS)
  67 
  68 all:            $(ALL_DEPS)
  69 
  70 clean:          $(CLEAN_DEPS)
  71 
  72 clobber:        $(CLOBBER_DEPS)
  73 
  74 lint:           $(LINT_DEPS)
  75 
  76 modlintlib:     $(MODLINTLIB_DEPS)
  77 
  78 clean.lint:     $(CLEAN_LINT_DEPS)
  79 


  39 CONF_SRCDIR     = $(UTSBASE)/intel/io/intel_nhm
  40 
  41 #
  42 #       Include common rules.
  43 #
  44 include $(UTSBASE)/intel/Makefile.intel
  45 
  46 OBJECTS         = $(INTEL_NHM_OBJS:%=$(OBJS_DIR)/%)
  47 LINTS           = $(INTEL_NHM_OBJS:%.o=$(LINTS_DIR)/%.ln)
  48 
  49 #
  50 #       Define targets
  51 #
  52 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  53 LINT_TARGET     = $(LINT_MODULE).lint
  54 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  55 
  56 CPPFLAGS        +=  -I$(UTSBASE)/i86pc
  57 LDFLAGS         += -dy -N drv/smbios
  58 
  59 CERRWARN        += $(CNOWARN_UNINIT)
  60 
  61 #
  62 #       Default build targets.
  63 #
  64 .KEEP_STATE:
  65 
  66 def:            $(DEF_DEPS)
  67 
  68 all:            $(ALL_DEPS)
  69 
  70 clean:          $(CLEAN_DEPS)
  71 
  72 clobber:        $(CLOBBER_DEPS)
  73 
  74 lint:           $(LINT_DEPS)
  75 
  76 modlintlib:     $(MODLINTLIB_DEPS)
  77 
  78 clean.lint:     $(CLEAN_LINT_DEPS)
  79