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


  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 #       Overrides.
  60 #
  61 MODSTUBS_DIR     = $(OBJS_DIR)
  62 $(MODSTUBS_O)   := AS_CPPFLAGS += -DSAD_MODULE
  63 CLEANFILES      += $(MODSTUBS_O)
  64 CFLAGS          += $(CCVERBOSE)
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 CERRWARN        += -_gcc=-Wno-uninitialized
  76 
  77 #
  78 #       Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95 


  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 #       Overrides.
  60 #
  61 MODSTUBS_DIR     = $(OBJS_DIR)
  62 $(MODSTUBS_O)   := AS_CPPFLAGS += -DSAD_MODULE
  63 CLEANFILES      += $(MODSTUBS_O)
  64 CFLAGS          += $(CCVERBOSE)
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  72 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  73 
  74 CERRWARN        += -_gcc=-Wno-parentheses
  75 CERRWARN        += $(CNOWARN_UNINIT)
  76 
  77 #
  78 #       Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95