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


  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  56 
  57 #
  58 #       Overrides and depends_on
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 LDFLAGS         += -dy -Ndrv/stmf
  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_ASSIGN_NARROW_CONV
  71 LINTTAGS        += -erroff=E_IF_ELSE_ANNOTATION
  72 
  73 CERRWARN        += -_gcc=-Wno-unused-label
  74 CERRWARN        += -_gcc=-Wno-switch
  75 CERRWARN        += -_gcc=-Wno-uninitialized
  76 
  77 #
  78 #       Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95 


  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  56 
  57 #
  58 #       Overrides and depends_on
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 LDFLAGS         += -dy -Ndrv/stmf
  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_ASSIGN_NARROW_CONV
  71 LINTTAGS        += -erroff=E_IF_ELSE_ANNOTATION
  72 
  73 CERRWARN        += -_gcc=-Wno-unused-label
  74 CERRWARN        += -_gcc=-Wno-switch
  75 CERRWARN        += $(CNOWARN_UNINIT)
  76 
  77 #
  78 #       Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95