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


  61 # Linkage dependencies
  62 #
  63 LDFLAGS += -dy -Ndrv/ip -Ndrv/tcp -Nmisc/kcf
  64 
  65 #
  66 # lint pass one enforcement
  67 #
  68 CFLAGS += $(CCVERBOSE)
  69 
  70 #
  71 # For now, disable these lint checks; maintainers should endeavor
  72 # to investigate and remove these for maximum lint coverage.
  73 # Please do not carry these forward to new Makefiles.
  74 #
  75 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  77 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  78 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  79 
  80 CERRWARN        += -_gcc=-Wno-parentheses
  81 CERRWARN        += -_gcc=-Wno-uninitialized
  82 
  83 #
  84 #       Default build targets.
  85 #
  86 .KEEP_STATE:
  87 
  88 def:            $(DEF_DEPS)
  89 
  90 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  91 
  92 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  93 
  94 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  95 
  96 lint:           $(LINT_DEPS)
  97 
  98 modlintlib:     $(MODLINTLIB_DEPS)
  99 
 100 clean.lint:     $(CLEAN_LINT_DEPS)
 101 


  61 # Linkage dependencies
  62 #
  63 LDFLAGS += -dy -Ndrv/ip -Ndrv/tcp -Nmisc/kcf
  64 
  65 #
  66 # lint pass one enforcement
  67 #
  68 CFLAGS += $(CCVERBOSE)
  69 
  70 #
  71 # For now, disable these lint checks; maintainers should endeavor
  72 # to investigate and remove these for maximum lint coverage.
  73 # Please do not carry these forward to new Makefiles.
  74 #
  75 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  76 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  77 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  78 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  79 
  80 CERRWARN        += -_gcc=-Wno-parentheses
  81 CERRWARN        += $(CNOWARN_UNINIT)
  82 
  83 #
  84 #       Default build targets.
  85 #
  86 .KEEP_STATE:
  87 
  88 def:            $(DEF_DEPS)
  89 
  90 all:            $(ALL_DEPS) $(SISCHECK_DEPS)
  91 
  92 clean:          $(CLEAN_DEPS) $(SISCLEAN_DEPS)
  93 
  94 clobber:        $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
  95 
  96 lint:           $(LINT_DEPS)
  97 
  98 modlintlib:     $(MODLINTLIB_DEPS)
  99 
 100 clean.lint:     $(CLEAN_LINT_DEPS)
 101