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


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


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