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


  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 #       Overrides.
  62 #
  63 DEBUG_FLGS      =
  64 DEBUG_DEFS      += $(DEBUG_FLGS)
  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 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74 
  75 CERRWARN        += -_gcc=-Wno-parentheses
  76 CERRWARN        += -_gcc=-Wno-switch
  77 CERRWARN        += -_gcc=-Wno-uninitialized
  78 
  79 # needs work
  80 SMATCH=off
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS)
  92 
  93 clobber:        $(CLOBBER_DEPS)
  94 
  95 lint:           $(LINT_DEPS)
  96 
  97 modlintlib:     $(MODLINTLIB_DEPS)


  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  59 
  60 #
  61 #       Overrides.
  62 #
  63 DEBUG_FLGS      =
  64 DEBUG_DEFS      += $(DEBUG_FLGS)
  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 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  74 
  75 CERRWARN        += -_gcc=-Wno-parentheses
  76 CERRWARN        += -_gcc=-Wno-switch
  77 CERRWARN        += $(CNOWARN_UNINIT)
  78 
  79 # needs work
  80 SMATCH=off
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS)
  92 
  93 clobber:        $(CLOBBER_DEPS)
  94 
  95 lint:           $(LINT_DEPS)
  96 
  97 modlintlib:     $(MODLINTLIB_DEPS)