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


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


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