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


  70 $(MODSTUBS_O)   := AS_CPPFLAGS += -DTTYMUX_MODULE
  71 CLEANFILES      += $(MODSTUBS_O)
  72 
  73 
  74 #
  75 # lint pass one enforcement
  76 #
  77 CFLAGS += $(CCVERBOSE)
  78 
  79 #
  80 # For now, disable these lint checks; maintainers should endeavor
  81 # to investigate and remove these for maximum lint coverage.
  82 # Please do not carry these forward to new Makefiles.
  83 #
  84 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  85 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  86 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  87 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  88 
  89 CERRWARN        += -_gcc=-Wno-parentheses
  90 CERRWARN        += -_gcc=-Wno-uninitialized
  91 CERRWARN        += -_gcc=-Wno-type-limits
  92 
  93 #
  94 #       Default build targets.
  95 #
  96 .KEEP_STATE:
  97 
  98 def:            $(DEF_DEPS)
  99 
 100 all:            $(ALL_DEPS)
 101 
 102 clean:          $(CLEAN_DEPS)
 103 
 104 clobber:        $(CLOBBER_DEPS)
 105 
 106 lint:           $(LINT_DEPS)
 107 
 108 modlintlib:     $(MODLINTLIB_DEPS) lint32
 109 
 110 clean.lint:     $(CLEAN_LINT_DEPS)


  70 $(MODSTUBS_O)   := AS_CPPFLAGS += -DTTYMUX_MODULE
  71 CLEANFILES      += $(MODSTUBS_O)
  72 
  73 
  74 #
  75 # lint pass one enforcement
  76 #
  77 CFLAGS += $(CCVERBOSE)
  78 
  79 #
  80 # For now, disable these lint checks; maintainers should endeavor
  81 # to investigate and remove these for maximum lint coverage.
  82 # Please do not carry these forward to new Makefiles.
  83 #
  84 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  85 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  86 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  87 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  88 
  89 CERRWARN        += -_gcc=-Wno-parentheses
  90 CERRWARN        += $(CNOWARN_UNINIT)
  91 CERRWARN        += -_gcc=-Wno-type-limits
  92 
  93 #
  94 #       Default build targets.
  95 #
  96 .KEEP_STATE:
  97 
  98 def:            $(DEF_DEPS)
  99 
 100 all:            $(ALL_DEPS)
 101 
 102 clean:          $(CLEAN_DEPS)
 103 
 104 clobber:        $(CLOBBER_DEPS)
 105 
 106 lint:           $(LINT_DEPS)
 107 
 108 modlintlib:     $(MODLINTLIB_DEPS) lint32
 109 
 110 clean.lint:     $(CLEAN_LINT_DEPS)