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


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


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