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


  52 
  53 #
  54 #       Override defaults to build a unique, local modstubs.o.
  55 #
  56 MODSTUBS_DIR     = $(OBJS_DIR)
  57 CLEANFILES      += $(MODSTUBS_O)
  58 
  59 #
  60 # depends on misc/usba
  61 #
  62 LDFLAGS         += -dy -Nmisc/usba -Nmisc/hidparser
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 # Please do not carry these forward to new Makefiles.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 
  71 CERRWARN        += -_gcc=-Wno-parentheses
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 
  74 # needs work
  75 SMOFF += deref_check
  76 
  77 #
  78 #       Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)


  52 
  53 #
  54 #       Override defaults to build a unique, local modstubs.o.
  55 #
  56 MODSTUBS_DIR     = $(OBJS_DIR)
  57 CLEANFILES      += $(MODSTUBS_O)
  58 
  59 #
  60 # depends on misc/usba
  61 #
  62 LDFLAGS         += -dy -Nmisc/usba -Nmisc/hidparser
  63 
  64 #
  65 # For now, disable these lint checks; maintainers should endeavor
  66 # to investigate and remove these for maximum lint coverage.
  67 # Please do not carry these forward to new Makefiles.
  68 #
  69 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  70 
  71 CERRWARN        += -_gcc=-Wno-parentheses
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 
  74 # needs work
  75 SMOFF += deref_check
  76 
  77 #
  78 #       Default build targets.
  79 #
  80 .KEEP_STATE:
  81 
  82 def:            $(DEF_DEPS)
  83 
  84 all:            $(ALL_DEPS)
  85 
  86 clean:          $(CLEAN_DEPS)
  87 
  88 clobber:        $(CLOBBER_DEPS)
  89 
  90 lint:           $(LINT_DEPS)
  91 
  92 modlintlib:     $(MODLINTLIB_DEPS)