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


  67 #
  68 #DEBUG_DEFS_DBG32 += -DTNF_DEBUG
  69 #DEBUG_DEFS_DBG64 += -DTNF_DEBUG
  70 
  71 #
  72 # lint pass one enforcement
  73 #
  74 CFLAGS += $(CCVERBOSE)
  75 
  76 #
  77 # For now, disable these lint checks; maintainers should endeavor
  78 # to investigate and remove these for maximum lint coverage.
  79 # Please do not carry these forward to new Makefiles.
  80 #
  81 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  82 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  83 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  84 
  85 CERRWARN        += -_gcc=-Wno-unused-value
  86 CERRWARN        += -_gcc=-Wno-unused-label
  87 CERRWARN        += -_gcc=-Wno-uninitialized
  88 CERRWARN        += -_gcc=-Wno-type-limits
  89 
  90 #
  91 #       Default build targets.
  92 #
  93 .KEEP_STATE:
  94 
  95 def:            $(DEF_DEPS)
  96 
  97 all:            $(ALL_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 clean:          $(CLEAN_DEPS)
 102 
 103 clobber:        $(CLOBBER_DEPS)
 104 
 105 modlintlib:     $(MODLINTLIB_DEPS) lint32
 106 
 107 clean.lint:     $(CLEAN_LINT_DEPS)


  67 #
  68 #DEBUG_DEFS_DBG32 += -DTNF_DEBUG
  69 #DEBUG_DEFS_DBG64 += -DTNF_DEBUG
  70 
  71 #
  72 # lint pass one enforcement
  73 #
  74 CFLAGS += $(CCVERBOSE)
  75 
  76 #
  77 # For now, disable these lint checks; maintainers should endeavor
  78 # to investigate and remove these for maximum lint coverage.
  79 # Please do not carry these forward to new Makefiles.
  80 #
  81 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  82 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  83 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  84 
  85 CERRWARN        += -_gcc=-Wno-unused-value
  86 CERRWARN        += -_gcc=-Wno-unused-label
  87 CERRWARN        += $(CNOWARN_UNINIT)
  88 CERRWARN        += -_gcc=-Wno-type-limits
  89 
  90 #
  91 #       Default build targets.
  92 #
  93 .KEEP_STATE:
  94 
  95 def:            $(DEF_DEPS)
  96 
  97 all:            $(ALL_DEPS)
  98 
  99 lint:           $(LINT_DEPS)
 100 
 101 clean:          $(CLEAN_DEPS)
 102 
 103 clobber:        $(CLOBBER_DEPS)
 104 
 105 modlintlib:     $(MODLINTLIB_DEPS) lint32
 106 
 107 clean.lint:     $(CLEAN_LINT_DEPS)