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


  58 DEBUG_DEFS_DBG32        += -DTNF_DEBUG
  59 DEBUG_DEFS_DBG64        += -DTNF_DEBUG
  60 
  61 #
  62 # lint pass one enforcement
  63 #
  64 CFLAGS += $(CCVERBOSE)
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  72 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  74 LINTTAGS        += -erroff=E_STATIC_UNUSED
  75 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  76 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  77 
  78 CERRWARN        += -_gcc=-Wno-uninitialized
  79 CERRWARN        += -_gcc=-Wno-parentheses
  80 CERRWARN        += -_gcc=-Wno-type-limits
  81 
  82 #
  83 # depends on misc/s1394
  84 LDFLAGS         += -dy -Nmisc/s1394
  85 
  86 #       Default build targets.
  87 #
  88 .KEEP_STATE:
  89 
  90 def:            $(DEF_DEPS)
  91 
  92 all:            $(ALL_DEPS)
  93 
  94 clean:          $(CLEAN_DEPS)
  95 
  96 clobber:        $(CLOBBER_DEPS)
  97 
  98 lint:           $(LINT_DEPS)


  58 DEBUG_DEFS_DBG32        += -DTNF_DEBUG
  59 DEBUG_DEFS_DBG64        += -DTNF_DEBUG
  60 
  61 #
  62 # lint pass one enforcement
  63 #
  64 CFLAGS += $(CCVERBOSE)
  65 
  66 #
  67 # For now, disable these lint checks; maintainers should endeavor
  68 # to investigate and remove these for maximum lint coverage.
  69 # Please do not carry these forward to new Makefiles.
  70 #
  71 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  72 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  73 LINTTAGS        += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
  74 LINTTAGS        += -erroff=E_STATIC_UNUSED
  75 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  76 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  77 
  78 CERRWARN        += $(CNOWARN_UNINIT)
  79 CERRWARN        += -_gcc=-Wno-parentheses
  80 CERRWARN        += -_gcc=-Wno-type-limits
  81 
  82 #
  83 # depends on misc/s1394
  84 LDFLAGS         += -dy -Nmisc/s1394
  85 
  86 #       Default build targets.
  87 #
  88 .KEEP_STATE:
  89 
  90 def:            $(DEF_DEPS)
  91 
  92 all:            $(ALL_DEPS)
  93 
  94 clean:          $(CLEAN_DEPS)
  95 
  96 clobber:        $(CLOBBER_DEPS)
  97 
  98 lint:           $(LINT_DEPS)