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


  53 #
  54 #       Override defaults
  55 #
  56 INC_PATH        += -I$(CONF_SRCDIR)
  57 
  58 # CFLAGS += $(CINLINEFLAGS)
  59 
  60 #
  61 # Driver depends on GLD
  62 #
  63 LDFLAGS         += -dy -N misc/mac
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 
  72 CERRWARN        += -_gcc=-Wno-switch
  73 CERRWARN        += -_gcc=-Wno-uninitialized
  74 
  75 # needs work
  76 SMOFF += all_func_returns
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS)
  88 
  89 clobber:        $(CLOBBER_DEPS)
  90 
  91 lint:           $(LINT_DEPS)
  92 
  93 modlintlib:     $(MODLINTLIB_DEPS)


  53 #
  54 #       Override defaults
  55 #
  56 INC_PATH        += -I$(CONF_SRCDIR)
  57 
  58 # CFLAGS += $(CINLINEFLAGS)
  59 
  60 #
  61 # Driver depends on GLD
  62 #
  63 LDFLAGS         += -dy -N misc/mac
  64 
  65 #
  66 # For now, disable these lint checks; maintainers should endeavor
  67 # to investigate and remove these for maximum lint coverage.
  68 # Please do not carry these forward to new Makefiles.
  69 #
  70 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  71 
  72 CERRWARN        += -_gcc=-Wno-switch
  73 CERRWARN        += $(CNOWARN_UNINIT)
  74 
  75 # needs work
  76 SMOFF += all_func_returns
  77 
  78 #
  79 #       Default build targets.
  80 #
  81 .KEEP_STATE:
  82 
  83 def:            $(DEF_DEPS)
  84 
  85 all:            $(ALL_DEPS)
  86 
  87 clean:          $(CLEAN_DEPS)
  88 
  89 clobber:        $(CLOBBER_DEPS)
  90 
  91 lint:           $(LINT_DEPS)
  92 
  93 modlintlib:     $(MODLINTLIB_DEPS)