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


  58 DEBUG_DEFS      += $(DEBUG_FLGS)
  59 
  60 # enable larger than 1TB VTOC support
  61 
  62 CPPFLAGS        += -D_EXTVTOC
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 # Please do not carry these forward to new Makefiles.
  68 #
  69 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_STATIC_UNUSED
  72 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  73 
  74 CERRWARN        += -_gcc=-Wno-unused-label
  75 CERRWARN        += -_gcc=-Wno-type-limits
  76 CERRWARN        += -_gcc=-Wno-parentheses
  77 CERRWARN        += -_gcc=-Wno-unused-function
  78 CERRWARN        += -_gcc=-Wno-uninitialized
  79 
  80 # needs work
  81 $(OBJS_DIR)/cmlb.o := SMOFF += signed
  82 
  83 #
  84 #       Default build targets.
  85 #
  86 .KEEP_STATE:
  87 
  88 def:            $(DEF_DEPS)
  89 
  90 all:            $(ALL_DEPS)
  91 
  92 clean:          $(CLEAN_DEPS)
  93 
  94 clobber:        $(CLOBBER_DEPS)
  95 
  96 lint:           $(LINT_DEPS)
  97 
  98 modlintlib:     $(MODLINTLIB_DEPS)


  58 DEBUG_DEFS      += $(DEBUG_FLGS)
  59 
  60 # enable larger than 1TB VTOC support
  61 
  62 CPPFLAGS        += -D_EXTVTOC
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 # Please do not carry these forward to new Makefiles.
  68 #
  69 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 LINTTAGS        += -erroff=E_STATIC_UNUSED
  72 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  73 
  74 CERRWARN        += -_gcc=-Wno-unused-label
  75 CERRWARN        += -_gcc=-Wno-type-limits
  76 CERRWARN        += -_gcc=-Wno-parentheses
  77 CERRWARN        += -_gcc=-Wno-unused-function
  78 CERRWARN        += $(CNOWARN_UNINIT)
  79 
  80 # needs work
  81 $(OBJS_DIR)/cmlb.o := SMOFF += signed
  82 
  83 #
  84 #       Default build targets.
  85 #
  86 .KEEP_STATE:
  87 
  88 def:            $(DEF_DEPS)
  89 
  90 all:            $(ALL_DEPS)
  91 
  92 clean:          $(CLEAN_DEPS)
  93 
  94 clobber:        $(CLOBBER_DEPS)
  95 
  96 lint:           $(LINT_DEPS)
  97 
  98 modlintlib:     $(MODLINTLIB_DEPS)