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


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


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