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


  49 CFLAGS          += $(CCVERBOSE)
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 # lint pass one enforcement
  60 #
  61 CFLAGS += $(CCVERBOSE)
  62 
  63 #
  64 # Define dependency on scsi
  65 #
  66 LDFLAGS         += -dy -N misc/scsi
  67 
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += -_gcc=-Wno-uninitialized
  70 
  71 #
  72 # For now, disable these lint checks; maintainers should endeavor
  73 # to investigate and remove these for maximum lint coverage.
  74 # Please do not carry these forward to new Makefiles.
  75 #
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89 


  49 CFLAGS          += $(CCVERBOSE)
  50 
  51 #
  52 #       Define targets
  53 #
  54 ALL_TARGET      = $(BINARY) $(SRC_CONFFILE)
  55 LINT_TARGET     = $(MODULE).lint
  56 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  57 
  58 #
  59 # lint pass one enforcement
  60 #
  61 CFLAGS += $(CCVERBOSE)
  62 
  63 #
  64 # Define dependency on scsi
  65 #
  66 LDFLAGS         += -dy -N misc/scsi
  67 
  68 CERRWARN        += -_gcc=-Wno-unused-label
  69 CERRWARN        += $(CNOWARN_UNINIT)
  70 
  71 #
  72 # For now, disable these lint checks; maintainers should endeavor
  73 # to investigate and remove these for maximum lint coverage.
  74 # Please do not carry these forward to new Makefiles.
  75 #
  76 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  77 LINTTAGS        += -erroff=E_ASSIGN_NARROW_CONV
  78 
  79 #
  80 #       Default build targets.
  81 #
  82 .KEEP_STATE:
  83 
  84 def:            $(DEF_DEPS)
  85 
  86 all:            $(ALL_DEPS)
  87 
  88 clean:          $(CLEAN_DEPS)
  89