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


  56 ALL_TARGET      = $(BINARY) $(CONFMOD)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59 
  60 #
  61 #       Overrides.
  62 #
  63 #DEBUG_FLGS     = -DATA_DEBUG -DGHD_DEBUG -DDEBUG
  64 DEBUG_FLGS      = 
  65 DEBUG_DEFS      += $(DEBUG_FLGS)
  66 INC_PATH        += -I$(UTSBASE)/intel/io/dktp/hba/ghd
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 
  75 CERRWARN        += -_gcc=-Wno-parentheses
  76 CERRWARN        += -_gcc=-Wno-uninitialized
  77 
  78 #
  79 # Depends on scsi
  80 #
  81 LDFLAGS         += -dy -N misc/scsi
  82 
  83 #
  84 #       Default build targets.
  85 #
  86 .KEEP_STATE:
  87 
  88 def:            $(DEF_DEPS)
  89 
  90 all:            $(ALL_DEPS)
  91 
  92 clean:          $(CLEAN_DEPS)
  93 
  94 clobber:        $(CLOBBER_DEPS)
  95 
  96 lint:           $(LINT_DEPS)


  56 ALL_TARGET      = $(BINARY) $(CONFMOD)
  57 LINT_TARGET     = $(MODULE).lint
  58 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  59 
  60 #
  61 #       Overrides.
  62 #
  63 #DEBUG_FLGS     = -DATA_DEBUG -DGHD_DEBUG -DDEBUG
  64 DEBUG_FLGS      = 
  65 DEBUG_DEFS      += $(DEBUG_FLGS)
  66 INC_PATH        += -I$(UTSBASE)/intel/io/dktp/hba/ghd
  67 
  68 #
  69 # For now, disable these lint checks; maintainers should endeavor
  70 # to investigate and remove these for maximum lint coverage.
  71 # Please do not carry these forward to new Makefiles.
  72 #
  73 LINTTAGS        += -erroff=E_BAD_PTR_CAST_ALIGN
  74 
  75 CERRWARN        += -_gcc=-Wno-parentheses
  76 CERRWARN        += $(CNOWARN_UNINIT)
  77 
  78 #
  79 # Depends on scsi
  80 #
  81 LDFLAGS         += -dy -N misc/scsi
  82 
  83 #
  84 #       Default build targets.
  85 #
  86 .KEEP_STATE:
  87 
  88 def:            $(DEF_DEPS)
  89 
  90 all:            $(ALL_DEPS)
  91 
  92 clean:          $(CLEAN_DEPS)
  93 
  94 clobber:        $(CLOBBER_DEPS)
  95 
  96 lint:           $(LINT_DEPS)