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


  75 CFLAGS          += -I.
  76 LINTFLAGS       += -I.
  77 
  78 #
  79 # For now, disable these lint checks; maintainers should endeavor
  80 # to investigate and remove these for maximum lint coverage.
  81 # Please do not carry these forward to new Makefiles.
  82 #
  83 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  84 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  85 LINTTAGS        += -erroff=E_STATIC_UNUSED
  86 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  87 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  88 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  89 
  90 CERRWARN        += -_gcc=-Wno-unused-label
  91 CERRWARN        += -_gcc=-Wno-unused-value
  92 CERRWARN        += -_gcc=-Wno-unused-variable
  93 CERRWARN        += -_gcc=-Wno-unused-function
  94 CERRWARN        += -_gcc=-Wno-parentheses
  95 CERRWARN        += -_gcc=-Wno-uninitialized
  96 
  97 # needs work
  98 SMATCH=off
  99 
 100 #
 101 #       Default build targets.
 102 #
 103 .KEEP_STATE:
 104 
 105 def:            $(DEF_DEPS)
 106 
 107 all:            $(ALL_DEPS)
 108 
 109 clean:          $(CLEAN_DEPS)
 110                 $(RM) $(DERIVED_FILES)
 111 
 112 clobber:        $(CLOBBER_DEPS)
 113                 $(RM) $(DERIVED_FILES)
 114 
 115 lint:           $(LINT_DEPS)


  75 CFLAGS          += -I.
  76 LINTFLAGS       += -I.
  77 
  78 #
  79 # For now, disable these lint checks; maintainers should endeavor
  80 # to investigate and remove these for maximum lint coverage.
  81 # Please do not carry these forward to new Makefiles.
  82 #
  83 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  84 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  85 LINTTAGS        += -erroff=E_STATIC_UNUSED
  86 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  87 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  88 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  89 
  90 CERRWARN        += -_gcc=-Wno-unused-label
  91 CERRWARN        += -_gcc=-Wno-unused-value
  92 CERRWARN        += -_gcc=-Wno-unused-variable
  93 CERRWARN        += -_gcc=-Wno-unused-function
  94 CERRWARN        += -_gcc=-Wno-parentheses
  95 CERRWARN        += $(CNOWARN_UNINIT)
  96 
  97 # needs work
  98 SMATCH=off
  99 
 100 #
 101 #       Default build targets.
 102 #
 103 .KEEP_STATE:
 104 
 105 def:            $(DEF_DEPS)
 106 
 107 all:            $(ALL_DEPS)
 108 
 109 clean:          $(CLEAN_DEPS)
 110                 $(RM) $(DERIVED_FILES)
 111 
 112 clobber:        $(CLOBBER_DEPS)
 113                 $(RM) $(DERIVED_FILES)
 114 
 115 lint:           $(LINT_DEPS)