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


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


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