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


  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY) $(CONFMOD)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  53 
  54 #
  55 #       Kernel Module Dependencies
  56 #
  57 LDFLAGS         += -dy -Nmisc/scsi
  58 
  59 CERRWARN        += -_gcc=-Wno-unused-label
  60 CERRWARN        += -_gcc=-Wno-switch
  61 CERRWARN        += -_gcc=-Wno-uninitialized
  62 
  63 # needs work
  64 SMATCH=off
  65 
  66 #
  67 #       Default build targets.
  68 #
  69 .KEEP_STATE:
  70 
  71 def:            $(DEF_DEPS)
  72 
  73 all:            $(ALL_DEPS)
  74 
  75 clean:          $(CLEAN_DEPS)
  76 
  77 clobber:        $(CLOBBER_DEPS)
  78 
  79 lint:           $(LINT_DEPS)
  80 
  81 modlintlib:     $(MODLINTLIB_DEPS)


  41 
  42 #
  43 #       Include common rules.
  44 #
  45 include $(UTSBASE)/intel/Makefile.intel
  46 
  47 #
  48 #       Define targets
  49 #
  50 ALL_TARGET      = $(BINARY) $(CONFMOD)
  51 LINT_TARGET     = $(MODULE).lint
  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  53 
  54 #
  55 #       Kernel Module Dependencies
  56 #
  57 LDFLAGS         += -dy -Nmisc/scsi
  58 
  59 CERRWARN        += -_gcc=-Wno-unused-label
  60 CERRWARN        += -_gcc=-Wno-switch
  61 CERRWARN        += $(CNOWARN_UNINIT)
  62 
  63 # needs work
  64 SMATCH=off
  65 
  66 #
  67 #       Default build targets.
  68 #
  69 .KEEP_STATE:
  70 
  71 def:            $(DEF_DEPS)
  72 
  73 all:            $(ALL_DEPS)
  74 
  75 clean:          $(CLEAN_DEPS)
  76 
  77 clobber:        $(CLOBBER_DEPS)
  78 
  79 lint:           $(LINT_DEPS)
  80 
  81 modlintlib:     $(MODLINTLIB_DEPS)