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


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


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