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


  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54 
  55 #
  56 #       Overrides.
  57 #
  58 DEBUG_FLGS      =
  59 DEBUG_DEFS      += $(DEBUG_FLGS)
  60 
  61 #
  62 # For now, disable these lint checks; maintainers should endeavor
  63 # to investigate and remove these for maximum lint coverage.
  64 # Please do not carry these forward to new Makefiles.
  65 #
  66 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  69 
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-switch
  72 CERRWARN        += -_gcc=-Wno-uninitialized
  73 
  74 # needs work
  75 SMATCH=off
  76 
  77 #
  78 # Depends on scsi
  79 #
  80 LDFLAGS         += -dy -N misc/scsi
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS)
  92 


  52 LINT_TARGET     = $(MODULE).lint
  53 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  54 
  55 #
  56 #       Overrides.
  57 #
  58 DEBUG_FLGS      =
  59 DEBUG_DEFS      += $(DEBUG_FLGS)
  60 
  61 #
  62 # For now, disable these lint checks; maintainers should endeavor
  63 # to investigate and remove these for maximum lint coverage.
  64 # Please do not carry these forward to new Makefiles.
  65 #
  66 LINTTAGS        += -erroff=E_SUSPICIOUS_COMPARISON
  67 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  68 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  69 
  70 CERRWARN        += -_gcc=-Wno-parentheses
  71 CERRWARN        += -_gcc=-Wno-switch
  72 CERRWARN        += $(CNOWARN_UNINIT)
  73 
  74 # needs work
  75 SMATCH=off
  76 
  77 #
  78 # Depends on scsi
  79 #
  80 LDFLAGS         += -dy -N misc/scsi
  81 
  82 #
  83 #       Default build targets.
  84 #
  85 .KEEP_STATE:
  86 
  87 def:            $(DEF_DEPS)
  88 
  89 all:            $(ALL_DEPS)
  90 
  91 clean:          $(CLEAN_DEPS)
  92