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


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


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