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


  46 #
  47 #       Define targets
  48 #
  49 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  52 
  53 #
  54 #       Overrides.
  55 #
  56 CFLAGS          += $(CCVERBOSE)
  57 
  58 #
  59 # For now, disable these lint checks; maintainers should endeavor
  60 # to investigate and remove these for maximum lint coverage.
  61 # Please do not carry these forward to new Makefiles.
  62 #
  63 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  64 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  65 
  66 CERRWARN        += -_gcc=-Wno-uninitialized
  67 
  68 #
  69 #       Default build targets.
  70 #
  71 .KEEP_STATE:
  72 
  73 def:            $(DEF_DEPS)
  74 
  75 all:            $(ALL_DEPS)
  76 
  77 clean:          $(CLEAN_DEPS)
  78 
  79 clobber:        $(CLOBBER_DEPS)
  80 
  81 lint:           $(LINT_DEPS)
  82 
  83 modlintlib:     $(MODLINTLIB_DEPS)
  84 
  85 clean.lint:     $(CLEAN_LINT_DEPS)
  86 


  46 #
  47 #       Define targets
  48 #
  49 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  52 
  53 #
  54 #       Overrides.
  55 #
  56 CFLAGS          += $(CCVERBOSE)
  57 
  58 #
  59 # For now, disable these lint checks; maintainers should endeavor
  60 # to investigate and remove these for maximum lint coverage.
  61 # Please do not carry these forward to new Makefiles.
  62 #
  63 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  64 LINTTAGS        += -erroff=E_PTRDIFF_OVERFLOW
  65 
  66 CERRWARN        += $(CNOWARN_UNINIT)
  67 
  68 #
  69 #       Default build targets.
  70 #
  71 .KEEP_STATE:
  72 
  73 def:            $(DEF_DEPS)
  74 
  75 all:            $(ALL_DEPS)
  76 
  77 clean:          $(CLEAN_DEPS)
  78 
  79 clobber:        $(CLOBBER_DEPS)
  80 
  81 lint:           $(LINT_DEPS)
  82 
  83 modlintlib:     $(MODLINTLIB_DEPS)
  84 
  85 clean.lint:     $(CLEAN_LINT_DEPS)
  86