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


  57 ALL_TARGET      = $(BINARY)
  58 LINT_TARGET     = $(MODULE).lint
  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  60 
  61 #
  62 #       Override defaults to build a unique, local modstubs.o.
  63 #
  64 MODSTUBS_DIR     = $(OBJS_DIR)
  65 $(MODSTUBS_O)   := AS_CPPFLAGS += -DSPEC_MODULE
  66 CLEANFILES      += $(MODSTUBS_O)
  67 LDFLAGS         += -dy -Nfs/fifofs
  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_SUSPICIOUS_COMPARISON
  75 
  76 CERRWARN        += -_gcc=-Wno-parentheses
  77 CERRWARN        += -_gcc=-Wno-uninitialized
  78 
  79 # needs work
  80 $(OBJS_DIR)/specvnops.o := SMOFF += signed
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS)
  92 
  93 clobber:        $(CLOBBER_DEPS)
  94 
  95 lint:           $(LINT_DEPS)
  96 
  97 modlintlib:     $(MODLINTLIB_DEPS)


  57 ALL_TARGET      = $(BINARY)
  58 LINT_TARGET     = $(MODULE).lint
  59 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  60 
  61 #
  62 #       Override defaults to build a unique, local modstubs.o.
  63 #
  64 MODSTUBS_DIR     = $(OBJS_DIR)
  65 $(MODSTUBS_O)   := AS_CPPFLAGS += -DSPEC_MODULE
  66 CLEANFILES      += $(MODSTUBS_O)
  67 LDFLAGS         += -dy -Nfs/fifofs
  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_SUSPICIOUS_COMPARISON
  75 
  76 CERRWARN        += -_gcc=-Wno-parentheses
  77 CERRWARN        += $(CNOWARN_UNINIT)
  78 
  79 # needs work
  80 $(OBJS_DIR)/specvnops.o := SMOFF += signed
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS)
  92 
  93 clobber:        $(CLOBBER_DEPS)
  94 
  95 lint:           $(LINT_DEPS)
  96 
  97 modlintlib:     $(MODLINTLIB_DEPS)