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


  23 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  24 
  25 #
  26 #       Include common rules.
  27 #
  28 include $(UTSBASE)/sparc/Makefile.sparc
  29 
  30 #
  31 #       Define targets.
  32 #
  33 ALL_TARGET      = $(BINARY)
  34 LINT_TARGET     = $(MODULE).lint
  35 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  36 
  37 #
  38 #       Driver flags.
  39 #
  40 CFLAGS          += $(CCVERBOSE)
  41 LDFLAGS         += -dy -N misc/mac -N misc/mii
  42 
  43 CERRWARN        += -_gcc=-Wno-uninitialized
  44 
  45 #
  46 #       Default build targets.
  47 #
  48 .KEEP_STATE:
  49 
  50 def:            $(DEF_DEPS)
  51 
  52 all:            $(ALL_DEPS)
  53 
  54 clean:          $(CLEAN_DEPS)
  55 
  56 clobber:        $(CLOBBER_DEPS)
  57 
  58 lint:           $(LINT_DEPS)
  59 
  60 modlintlib:     $(MODLINTLIB_DEPS)
  61 
  62 clean.lint:     $(CLEAN_LINT_DEPS)
  63 


  23 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  24 
  25 #
  26 #       Include common rules.
  27 #
  28 include $(UTSBASE)/sparc/Makefile.sparc
  29 
  30 #
  31 #       Define targets.
  32 #
  33 ALL_TARGET      = $(BINARY)
  34 LINT_TARGET     = $(MODULE).lint
  35 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  36 
  37 #
  38 #       Driver flags.
  39 #
  40 CFLAGS          += $(CCVERBOSE)
  41 LDFLAGS         += -dy -N misc/mac -N misc/mii
  42 
  43 CERRWARN        += $(CNOWARN_UNINIT)
  44 
  45 #
  46 #       Default build targets.
  47 #
  48 .KEEP_STATE:
  49 
  50 def:            $(DEF_DEPS)
  51 
  52 all:            $(ALL_DEPS)
  53 
  54 clean:          $(CLEAN_DEPS)
  55 
  56 clobber:        $(CLOBBER_DEPS)
  57 
  58 lint:           $(LINT_DEPS)
  59 
  60 modlintlib:     $(MODLINTLIB_DEPS)
  61 
  62 clean.lint:     $(CLEAN_LINT_DEPS)
  63