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


  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY) $(CONFMOD)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  58 
  59 #
  60 # lint pass one enforcement
  61 #
  62 CFLAGS          += $(CCVERBOSE)
  63 
  64 #
  65 #       Kernel Module Dependencies
  66 #
  67 LDFLAGS         += -dy -Nmisc/scsi
  68 
  69 #
  70 #       Overrides
  71 #
  72 
  73 CERRWARN        += -_gcc=-Wno-uninitialized
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 CERRWARN        += -_gcc=-Wno-unused-value
  76 CERRWARN        += -_gcc=-Wno-unused-label
  77 CERRWARN        += -_gcc=-Wno-switch
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)
  93 


  53 #       Define targets
  54 #
  55 ALL_TARGET      = $(BINARY) $(CONFMOD)
  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  58 
  59 #
  60 # lint pass one enforcement
  61 #
  62 CFLAGS          += $(CCVERBOSE)
  63 
  64 #
  65 #       Kernel Module Dependencies
  66 #
  67 LDFLAGS         += -dy -Nmisc/scsi
  68 
  69 #
  70 #       Overrides
  71 #
  72 
  73 CERRWARN        += $(CNOWARN_UNINIT)
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 CERRWARN        += -_gcc=-Wno-unused-value
  76 CERRWARN        += -_gcc=-Wno-unused-label
  77 CERRWARN        += -_gcc=-Wno-switch
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 
  90 clobber:        $(CLOBBER_DEPS)
  91 
  92 lint:           $(LINT_DEPS)
  93