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


  37 MODULE          = mii
  38 OBJECTS         = $(MII_OBJS:%=$(OBJS_DIR)/%)
  39 LINTS           = $(MII_OBJS:%.o=$(LINTS_DIR)/%.ln)
  40 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53 
  54 LDFLAGS         += -dy -N misc/mac
  55 
  56 CERRWARN        += -_gcc=-Wno-switch
  57 CERRWARN        += -_gcc=-Wno-uninitialized
  58 
  59 # needs work
  60 SMOFF += all_func_returns
  61 
  62 #
  63 #       Default build targets.
  64 #
  65 .KEEP_STATE:
  66 
  67 def:            $(DEF_DEPS)
  68 
  69 all:            $(ALL_DEPS)
  70 
  71 clean:          $(CLEAN_DEPS)
  72 
  73 clobber:        $(CLOBBER_DEPS)
  74 
  75 lint:           $(LINT_DEPS)
  76 
  77 modlintlib:     $(MODLINTLIB_DEPS)


  37 MODULE          = mii
  38 OBJECTS         = $(MII_OBJS:%=$(OBJS_DIR)/%)
  39 LINTS           = $(MII_OBJS:%.o=$(LINTS_DIR)/%.ln)
  40 ROOTMODULE      = $(ROOT_MISC_DIR)/$(MODULE)
  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  53 
  54 LDFLAGS         += -dy -N misc/mac
  55 
  56 CERRWARN        += -_gcc=-Wno-switch
  57 CERRWARN        += $(CNOWARN_UNINIT)
  58 
  59 # needs work
  60 SMOFF += all_func_returns
  61 
  62 #
  63 #       Default build targets.
  64 #
  65 .KEEP_STATE:
  66 
  67 def:            $(DEF_DEPS)
  68 
  69 all:            $(ALL_DEPS)
  70 
  71 clean:          $(CLEAN_DEPS)
  72 
  73 clobber:        $(CLOBBER_DEPS)
  74 
  75 lint:           $(LINT_DEPS)
  76 
  77 modlintlib:     $(MODLINTLIB_DEPS)