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


  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 #       Overrides.
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 $(MODSTUBS_O)   := AS_CPPFLAGS += -DSEMSYS_MODULE
  62 CLEANFILES      += $(MODSTUBS_O)
  63 LDFLAGS         += -dy -Nmisc/ipc
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  71 
  72 CERRWARN        += -_gcc=-Wno-parentheses
  73 CERRWARN        += -_gcc=-Wno-uninitialized
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 
  90 modlintlib:     $(MODLINTLIB_DEPS)
  91 
  92 clean.lint:     $(CLEAN_LINT_DEPS)
  93 


  53 ALL_TARGET      = $(BINARY)
  54 LINT_TARGET     = $(MODULE).lint
  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 #       Overrides.
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 $(MODSTUBS_O)   := AS_CPPFLAGS += -DSEMSYS_MODULE
  62 CLEANFILES      += $(MODSTUBS_O)
  63 LDFLAGS         += -dy -Nmisc/ipc
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  71 
  72 CERRWARN        += -_gcc=-Wno-parentheses
  73 CERRWARN        += $(CNOWARN_UNINIT)
  74 
  75 #
  76 #       Default build targets.
  77 #
  78 .KEEP_STATE:
  79 
  80 def:            $(DEF_DEPS)
  81 
  82 all:            $(ALL_DEPS)
  83 
  84 clean:          $(CLEAN_DEPS)
  85 
  86 clobber:        $(CLOBBER_DEPS)
  87 
  88 lint:           $(LINT_DEPS)
  89 
  90 modlintlib:     $(MODLINTLIB_DEPS)
  91 
  92 clean.lint:     $(CLEAN_LINT_DEPS)
  93