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


  62 #       Override defaults to build a unique, local modstubs.o.
  63 #
  64 MODSTUBS_DIR     = $(OBJS_DIR)
  65 $(MODSTUBS_O)   := AS_CPPFLAGS += -DUFS_MODULE
  66 CLEANFILES      += $(MODSTUBS_O)
  67 LDFLAGS         += -dy -Nfs/specfs -Nmisc/fssnap_if
  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 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  77 LINTTAGS        += -erroff=E_STATIC_UNUSED
  78 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  79 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  80 
  81 CERRWARN        += -_gcc=-Wno-parentheses
  82 CERRWARN        += -_gcc=-Wno-uninitialized
  83 CERRWARN        += -_gcc=-Wno-type-limits
  84 CERRWARN        += -_gcc=-Wno-unused-label
  85 
  86 # needs work
  87 SMATCH=off
  88 
  89 #
  90 #       Default build targets.
  91 #
  92 .KEEP_STATE:
  93 
  94 def:            $(DEF_DEPS)
  95 
  96 all:            $(ALL_DEPS)
  97 
  98 clean:          $(CLEAN_DEPS)
  99 
 100 clobber:        $(CLOBBER_DEPS)
 101 
 102 lint:           $(LINT_DEPS)


  62 #       Override defaults to build a unique, local modstubs.o.
  63 #
  64 MODSTUBS_DIR     = $(OBJS_DIR)
  65 $(MODSTUBS_O)   := AS_CPPFLAGS += -DUFS_MODULE
  66 CLEANFILES      += $(MODSTUBS_O)
  67 LDFLAGS         += -dy -Nfs/specfs -Nmisc/fssnap_if
  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 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  77 LINTTAGS        += -erroff=E_STATIC_UNUSED
  78 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  79 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  80 
  81 CERRWARN        += -_gcc=-Wno-parentheses
  82 CERRWARN        += $(CNOWARN_UNINIT)
  83 CERRWARN        += -_gcc=-Wno-type-limits
  84 CERRWARN        += -_gcc=-Wno-unused-label
  85 
  86 # needs work
  87 SMATCH=off
  88 
  89 #
  90 #       Default build targets.
  91 #
  92 .KEEP_STATE:
  93 
  94 def:            $(DEF_DEPS)
  95 
  96 all:            $(ALL_DEPS)
  97 
  98 clean:          $(CLEAN_DEPS)
  99 
 100 clobber:        $(CLOBBER_DEPS)
 101 
 102 lint:           $(LINT_DEPS)