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


  63 #
  64 #ALL_BUILDS     = $(ALL_BUILDSONLY64)
  65 #DEF_BUILDS     = $(DEF_BUILDSONLY64)
  66 CLEANLINTFILES  += $(LINT32_FILES)
  67 
  68 DEBUG_DEFS_DBG32 += -DTNF_DEBUG
  69 #DEBUG_DEFS_DBG64 += -DTNF_DEBUG
  70 
  71 #
  72 # For now, disable these lint checks; maintainers should endeavor
  73 # to investigate and remove these for maximum lint coverage.
  74 # Please do not carry these forward to new Makefiles.
  75 #
  76 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  77 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  78 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  79 LINTTAGS        += -erroff=E_STATIC_UNUSED
  80 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  81 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  82 
  83 CERRWARN        += -_gcc=-Wno-uninitialized
  84 CERRWARN        += -_gcc=-Wno-parentheses
  85 
  86 #
  87 #       Default build targets.
  88 #
  89 .KEEP_STATE:
  90 
  91 def:            $(DEF_DEPS)
  92 
  93 all:            $(ALL_DEPS)
  94 
  95 clean:          $(CLEAN_DEPS)
  96 
  97 clobber:        $(CLOBBER_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 modlintlib:     $(MODLINTLIB_DEPS)
 102 
 103 clean.lint:     $(CLEAN_LINT_DEPS)


  63 #
  64 #ALL_BUILDS     = $(ALL_BUILDSONLY64)
  65 #DEF_BUILDS     = $(DEF_BUILDSONLY64)
  66 CLEANLINTFILES  += $(LINT32_FILES)
  67 
  68 DEBUG_DEFS_DBG32 += -DTNF_DEBUG
  69 #DEBUG_DEFS_DBG64 += -DTNF_DEBUG
  70 
  71 #
  72 # For now, disable these lint checks; maintainers should endeavor
  73 # to investigate and remove these for maximum lint coverage.
  74 # Please do not carry these forward to new Makefiles.
  75 #
  76 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  77 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  78 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  79 LINTTAGS        += -erroff=E_STATIC_UNUSED
  80 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  81 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  82 
  83 CERRWARN        += $(CNOWARN_UNINIT)
  84 CERRWARN        += -_gcc=-Wno-parentheses
  85 
  86 #
  87 #       Default build targets.
  88 #
  89 .KEEP_STATE:
  90 
  91 def:            $(DEF_DEPS)
  92 
  93 all:            $(ALL_DEPS)
  94 
  95 clean:          $(CLEAN_DEPS)
  96 
  97 clobber:        $(CLOBBER_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 modlintlib:     $(MODLINTLIB_DEPS)
 102 
 103 clean.lint:     $(CLEAN_LINT_DEPS)