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


  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 #       Override defaults to build a unique, local modstubs.o.
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 CLEANFILES      += $(MODSTUBS_O)
  62 
  63 #
  64 # depends on misc/usba
  65 #
  66 LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndrv/usb_ac
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 
  75 CERRWARN        += -_gcc=-Wno-uninitialized
  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)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95 


  55 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  56 
  57 #
  58 #       Override defaults to build a unique, local modstubs.o.
  59 #
  60 MODSTUBS_DIR     = $(OBJS_DIR)
  61 CLEANFILES      += $(MODSTUBS_O)
  62 
  63 #
  64 # depends on misc/usba
  65 #
  66 LDFLAGS += -dy -Nmisc/usba -Nmisc/hidparser -Ndrv/usb_ac
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 
  75 CERRWARN        += $(CNOWARN_UNINIT)
  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)
  93 
  94 clean.lint:     $(CLEAN_LINT_DEPS)
  95