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_BAD_PTR_CAST_ALIGN
  84 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  85 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  86 LINTTAGS        += -erroff=E_STATIC_UNUSED
  87 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  88 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  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 #
  98 #       Default build targets.
  99 #
 100 .KEEP_STATE:
 101 
 102 def:            $(DEF_DEPS)
 103 
 104 all:            $(ALL_DEPS)
 105 
 106 clean:          $(CLEAN_DEPS)
 107                 $(RM) $(DERIVED_FILES)
 108 
 109 clobber:        $(CLOBBER_DEPS)
 110                 $(RM) $(DERIVED_FILES)
 111 
 112 lint:           $(LINT_DEPS)
 113 
 114 modlintlib:     $(MODLINTLIB_DEPS)
 115 


  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_BAD_PTR_CAST_ALIGN
  84 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  85 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  86 LINTTAGS        += -erroff=E_STATIC_UNUSED
  87 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  88 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  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 #
  98 #       Default build targets.
  99 #
 100 .KEEP_STATE:
 101 
 102 def:            $(DEF_DEPS)
 103 
 104 all:            $(ALL_DEPS)
 105 
 106 clean:          $(CLEAN_DEPS)
 107                 $(RM) $(DERIVED_FILES)
 108 
 109 clobber:        $(CLOBBER_DEPS)
 110                 $(RM) $(DERIVED_FILES)
 111 
 112 lint:           $(LINT_DEPS)
 113 
 114 modlintlib:     $(MODLINTLIB_DEPS)
 115