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


  63 #ALL_BUILDS     = $(ALL_BUILDSONLY64)
  64 #DEF_BUILDS     = $(DEF_BUILDSONLY64)
  65 #CLEANLINTFILES += $(LINT32_FILES)
  66 
  67 DEBUG_DEFS_DBG32 += -DTNF_DEBUG
  68 #DEBUG_DEFS_DBG64 += -DTNF_DEBUG
  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_SUSPICIOUS_COMPARISON
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  78 LINTTAGS        += -erroff=E_STATIC_UNUSED
  79 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  80 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  81 
  82 CERRWARN        += -_gcc=-Wno-switch
  83 CERRWARN        += -_gcc=-Wno-uninitialized
  84 CERRWARN        += -_gcc=-Wno-unused-variable
  85 CERRWARN        += -_gcc=-Wno-parentheses
  86 
  87 # needs work
  88 SMOFF += indenting
  89 
  90 #
  91 #       Default build targets.
  92 #
  93 .KEEP_STATE:
  94 
  95 def:            $(DEF_DEPS)
  96 
  97 all:            $(ALL_DEPS)
  98 
  99 clean:          $(CLEAN_DEPS)
 100 
 101 clobber:        $(CLOBBER_DEPS)
 102 
 103 lint:           $(LINT_DEPS)


  63 #ALL_BUILDS     = $(ALL_BUILDSONLY64)
  64 #DEF_BUILDS     = $(DEF_BUILDSONLY64)
  65 #CLEANLINTFILES += $(LINT32_FILES)
  66 
  67 DEBUG_DEFS_DBG32 += -DTNF_DEBUG
  68 #DEBUG_DEFS_DBG64 += -DTNF_DEBUG
  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_SUSPICIOUS_COMPARISON
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  78 LINTTAGS        += -erroff=E_STATIC_UNUSED
  79 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  80 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  81 
  82 CERRWARN        += -_gcc=-Wno-switch
  83 CERRWARN        += $(CNOWARN_UNINIT)
  84 CERRWARN        += -_gcc=-Wno-unused-variable
  85 CERRWARN        += -_gcc=-Wno-parentheses
  86 
  87 # needs work
  88 SMOFF += indenting
  89 
  90 #
  91 #       Default build targets.
  92 #
  93 .KEEP_STATE:
  94 
  95 def:            $(DEF_DEPS)
  96 
  97 all:            $(ALL_DEPS)
  98 
  99 clean:          $(CLEAN_DEPS)
 100 
 101 clobber:        $(CLOBBER_DEPS)
 102 
 103 lint:           $(LINT_DEPS)