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


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


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