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


  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 #       Driver depends on MAC
  57 #
  58 LDFLAGS         +=  -dy -N misc/mac -N misc/mii
  59 
  60 #       Lint flag
  61 #
  62 
  63 CERRWARN        += -_gcc=-Wno-switch
  64 CERRWARN        += -_gcc=-Wno-uninitialized
  65 
  66 #
  67 #
  68 #       Default build targets.
  69 #
  70 .KEEP_STATE:
  71 
  72 def:            $(DEF_DEPS)
  73 
  74 all:            $(ALL_DEPS)
  75 
  76 clean:          $(CLEAN_DEPS)
  77 
  78 clobber:        $(CLOBBER_DEPS)
  79 
  80 lint:           $(LINT_DEPS)
  81 
  82 modlintlib:     $(MODLINTLIB_DEPS)
  83 
  84 clean.lint:     $(CLEAN_LINT_DEPS)


  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 #       Driver depends on MAC
  57 #
  58 LDFLAGS         +=  -dy -N misc/mac -N misc/mii
  59 
  60 #       Lint flag
  61 #
  62 
  63 CERRWARN        += -_gcc=-Wno-switch
  64 CERRWARN        += $(CNOWARN_UNINIT)
  65 
  66 #
  67 #
  68 #       Default build targets.
  69 #
  70 .KEEP_STATE:
  71 
  72 def:            $(DEF_DEPS)
  73 
  74 all:            $(ALL_DEPS)
  75 
  76 clean:          $(CLEAN_DEPS)
  77 
  78 clobber:        $(CLOBBER_DEPS)
  79 
  80 lint:           $(LINT_DEPS)
  81 
  82 modlintlib:     $(MODLINTLIB_DEPS)
  83 
  84 clean.lint:     $(CLEAN_LINT_DEPS)