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


  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/intel/Makefile.intel
  47 
  48 #
  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  54 
  55 #
  56 #       Overrides.
  57 #
  58 CFLAGS          += $(CCVERBOSE)
  59 LDFLAGS         += -dy -Nmisc/mii -Nmisc/mac
  60 
  61 CERRWARN        += -_gcc=-Wno-switch
  62 CERRWARN        += -_gcc=-Wno-unused-label
  63 CERRWARN        += -_gcc=-Wno-uninitialized
  64 
  65 # needs work
  66 $(OBJS_DIR)/hme.o := SMOFF += indenting,deref_check
  67 
  68 #
  69 #       Default build targets.
  70 #
  71 .KEEP_STATE:
  72 
  73 def:            $(DEF_DEPS)
  74 
  75 all:            $(ALL_DEPS)
  76 
  77 clean:          $(CLEAN_DEPS)
  78 
  79 clobber:        $(CLOBBER_DEPS)
  80 
  81 lint:           $(LINT_DEPS)
  82 
  83 modlintlib:     $(MODLINTLIB_DEPS)


  43 #
  44 #       Include common rules.
  45 #
  46 include $(UTSBASE)/intel/Makefile.intel
  47 
  48 #
  49 #       Define targets
  50 #
  51 ALL_TARGET      = $(BINARY)
  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  54 
  55 #
  56 #       Overrides.
  57 #
  58 CFLAGS          += $(CCVERBOSE)
  59 LDFLAGS         += -dy -Nmisc/mii -Nmisc/mac
  60 
  61 CERRWARN        += -_gcc=-Wno-switch
  62 CERRWARN        += -_gcc=-Wno-unused-label
  63 CERRWARN        += $(CNOWARN_UNINIT)
  64 
  65 # needs work
  66 $(OBJS_DIR)/hme.o := SMOFF += indenting,deref_check
  67 
  68 #
  69 #       Default build targets.
  70 #
  71 .KEEP_STATE:
  72 
  73 def:            $(DEF_DEPS)
  74 
  75 all:            $(ALL_DEPS)
  76 
  77 clean:          $(CLEAN_DEPS)
  78 
  79 clobber:        $(CLOBBER_DEPS)
  80 
  81 lint:           $(LINT_DEPS)
  82 
  83 modlintlib:     $(MODLINTLIB_DEPS)