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


  59 # 
  60 # lint pass one enforcement 
  61 # 
  62 CFLAGS += $(CCVERBOSE)
  63 
  64 #
  65 # depends on misc/ibtl and misc/ibcm
  66 #
  67 LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm
  68 
  69 #
  70 # For now, disable these lint checks; maintainers should endeavor
  71 # to investigate and remove these for maximum lint coverage.
  72 # Please do not carry these forward to new Makefiles.
  73 #
  74 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  75 LINTTAGS        += -erroff=E_STATIC_UNUSED
  76 
  77 CERRWARN        += -_gcc=-Wno-unused-variable
  78 CERRWARN        += -_gcc=-Wno-unused-function
  79 CERRWARN        += -_gcc=-Wno-uninitialized
  80 
  81 # needs work
  82 SMATCH=off
  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)


  59 # 
  60 # lint pass one enforcement 
  61 # 
  62 CFLAGS += $(CCVERBOSE)
  63 
  64 #
  65 # depends on misc/ibtl and misc/ibcm
  66 #
  67 LDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm
  68 
  69 #
  70 # For now, disable these lint checks; maintainers should endeavor
  71 # to investigate and remove these for maximum lint coverage.
  72 # Please do not carry these forward to new Makefiles.
  73 #
  74 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  75 LINTTAGS        += -erroff=E_STATIC_UNUSED
  76 
  77 CERRWARN        += -_gcc=-Wno-unused-variable
  78 CERRWARN        += -_gcc=-Wno-unused-function
  79 CERRWARN        += $(CNOWARN_UNINIT)
  80 
  81 # needs work
  82 SMATCH=off
  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)