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


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


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