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


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


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