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


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


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