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


  73 #
  74 CFLAGS          += $(CCVERBOSE) -I$(COM_DIR)
  75 LINTFLAGS       += -I$(COM_DIR)
  76 
  77 #
  78 # Turn on doubleword alignment for 64 bit registers
  79 #
  80 CFLAGS += -dalign
  81 
  82 #
  83 # For now, disable these lint checks; maintainers should endeavor
  84 # to investigate and remove these for maximum lint coverage.
  85 # Please do not carry these forward to new Makefiles.
  86 #
  87 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  88 LINTTAGS        += -erroff=E_STATIC_UNUSED
  89 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  90 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  91 
  92 CERRWARN        += -_gcc=-Wno-parentheses
  93 CERRWARN        += -_gcc=-Wno-uninitialized
  94 
  95 #
  96 #       Default build targets.
  97 #
  98 .KEEP_STATE:
  99 
 100 def:            $(DEF_DEPS)
 101 
 102 all:            $(ALL_DEPS)
 103 
 104 clean:          $(CLEAN_DEPS)
 105 
 106 clobber:        $(CLOBBER_DEPS)
 107 
 108 lint:           $(LINT_DEPS)
 109 
 110 modlintlib:     $(MODLINTLIB_DEPS)
 111 
 112 clean.lint:     $(CLEAN_LINT_DEPS)
 113 


  73 #
  74 CFLAGS          += $(CCVERBOSE) -I$(COM_DIR)
  75 LINTFLAGS       += -I$(COM_DIR)
  76 
  77 #
  78 # Turn on doubleword alignment for 64 bit registers
  79 #
  80 CFLAGS += -dalign
  81 
  82 #
  83 # For now, disable these lint checks; maintainers should endeavor
  84 # to investigate and remove these for maximum lint coverage.
  85 # Please do not carry these forward to new Makefiles.
  86 #
  87 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  88 LINTTAGS        += -erroff=E_STATIC_UNUSED
  89 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  90 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  91 
  92 CERRWARN        += -_gcc=-Wno-parentheses
  93 CERRWARN        += $(CNOWARN_UNINIT)
  94 
  95 #
  96 #       Default build targets.
  97 #
  98 .KEEP_STATE:
  99 
 100 def:            $(DEF_DEPS)
 101 
 102 all:            $(ALL_DEPS)
 103 
 104 clean:          $(CLEAN_DEPS)
 105 
 106 clobber:        $(CLOBBER_DEPS)
 107 
 108 lint:           $(LINT_DEPS)
 109 
 110 modlintlib:     $(MODLINTLIB_DEPS)
 111 
 112 clean.lint:     $(CLEAN_LINT_DEPS)
 113