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


  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  53 
  54 #
  55 #       Overrides and depends_on
  56 #
  57 MODSTUBS_DIR     = $(OBJS_DIR)
  58 CERRWARN        += -erroff=E_STATEMENT_NOT_REACHED
  59 
  60 # needs work
  61 SMATCH=off
  62 
  63 C99LMODE=       -Xc99=%all
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_STATIC_UNUSED
  71 
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 CERRWARN        += -_gcc=-Wno-switch
  74 CERRWARN        += -_gcc=-Wno-unused-variable
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)
  92 


  52 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  53 
  54 #
  55 #       Overrides and depends_on
  56 #
  57 MODSTUBS_DIR     = $(OBJS_DIR)
  58 CERRWARN        += -erroff=E_STATEMENT_NOT_REACHED
  59 
  60 # needs work
  61 SMATCH=off
  62 
  63 C99LMODE=       -Xc99=%all
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 LINTTAGS        += -erroff=E_STATIC_UNUSED
  71 
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 CERRWARN        += -_gcc=-Wno-switch
  74 CERRWARN        += -_gcc=-Wno-unused-variable
  75 
  76 #
  77 #       Default build targets.
  78 #
  79 .KEEP_STATE:
  80 
  81 def:            $(DEF_DEPS)
  82 
  83 all:            $(ALL_DEPS)
  84 
  85 clean:          $(CLEAN_DEPS)
  86 
  87 clobber:        $(CLOBBER_DEPS)
  88 
  89 lint:           $(LINT_DEPS)
  90 
  91 modlintlib:     $(MODLINTLIB_DEPS)
  92