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


  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 #
  60 #       Override defaults to build a unique, local modstubs.o.
  61 #
  62 MODSTUBS_DIR     = $(OBJS_DIR)
  63 CLEANFILES      += $(MODSTUBS_O)
  64 
  65 #
  66 # depends on misc/usba
  67 #
  68 LDFLAGS         += -dy -Nmisc/usba
  69 
  70 #
  71 # Disable this because it is necessary for this driver
  72 # and it is surely safe
  73 #
  74 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  75 
  76 CERRWARN        += -_gcc=-Wno-uninitialized
  77 
  78 # needs work
  79 SMOFF += deref_check
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)
  95 
  96 modlintlib:     $(MODLINTLIB_DEPS)


  56 LINT_TARGET     = $(MODULE).lint
  57 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  58 
  59 #
  60 #       Override defaults to build a unique, local modstubs.o.
  61 #
  62 MODSTUBS_DIR     = $(OBJS_DIR)
  63 CLEANFILES      += $(MODSTUBS_O)
  64 
  65 #
  66 # depends on misc/usba
  67 #
  68 LDFLAGS         += -dy -Nmisc/usba
  69 
  70 #
  71 # Disable this because it is necessary for this driver
  72 # and it is surely safe
  73 #
  74 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  75 
  76 CERRWARN        += $(CNOWARN_UNINIT)
  77 
  78 # needs work
  79 SMOFF += deref_check
  80 
  81 #
  82 #       Default build targets.
  83 #
  84 .KEEP_STATE:
  85 
  86 def:            $(DEF_DEPS)
  87 
  88 all:            $(ALL_DEPS)
  89 
  90 clean:          $(CLEAN_DEPS)
  91 
  92 clobber:        $(CLOBBER_DEPS)
  93 
  94 lint:           $(LINT_DEPS)
  95 
  96 modlintlib:     $(MODLINTLIB_DEPS)