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


  48 #
  49 ALL_TARGET      = $(BINARY)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 #
  54 # depends on
  55 #
  56 LDFLAGS         += -dy -Nmisc/scsi -Nmisc/s1394 -Nmisc/sbp2
  57 
  58 #
  59 # For now, disable these lint checks; maintainers should endeavor
  60 # to investigate and remove these for maximum lint coverage.
  61 # Please do not carry these forward to new Makefiles.
  62 #
  63 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  64 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  65 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  66 
  67 CERRWARN        += -_gcc=-Wno-parentheses
  68 CERRWARN        += -_gcc=-Wno-uninitialized
  69 
  70 # needs work
  71 $(OBJS_DIR)/sbp2_driver.o := SMOFF += indenting
  72 
  73 #       Default build targets.
  74 #
  75 .KEEP_STATE:
  76 
  77 def:            $(DEF_DEPS)
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 clean:          $(CLEAN_DEPS)
  82 
  83 clobber:        $(CLOBBER_DEPS)
  84 
  85 lint:           $(LINT_DEPS)
  86 
  87 modlintlib:     $(MODLINTLIB_DEPS)
  88 


  48 #
  49 ALL_TARGET      = $(BINARY)
  50 LINT_TARGET     = $(MODULE).lint
  51 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
  52 
  53 #
  54 # depends on
  55 #
  56 LDFLAGS         += -dy -Nmisc/scsi -Nmisc/s1394 -Nmisc/sbp2
  57 
  58 #
  59 # For now, disable these lint checks; maintainers should endeavor
  60 # to investigate and remove these for maximum lint coverage.
  61 # Please do not carry these forward to new Makefiles.
  62 #
  63 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  64 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  65 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  66 
  67 CERRWARN        += -_gcc=-Wno-parentheses
  68 CERRWARN        += $(CNOWARN_UNINIT)
  69 
  70 # needs work
  71 $(OBJS_DIR)/sbp2_driver.o := SMOFF += indenting
  72 
  73 #       Default build targets.
  74 #
  75 .KEEP_STATE:
  76 
  77 def:            $(DEF_DEPS)
  78 
  79 all:            $(ALL_DEPS)
  80 
  81 clean:          $(CLEAN_DEPS)
  82 
  83 clobber:        $(CLOBBER_DEPS)
  84 
  85 lint:           $(LINT_DEPS)
  86 
  87 modlintlib:     $(MODLINTLIB_DEPS)
  88