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


  33 #
  34 #       Paths to the base of the uts directory trees
  35 #
  36 UTSBASE   = ../..
  37 
  38 #
  39 # Define the module and object file sets.
  40 #
  41 MODULE          = scsi_vhci
  42 OBJECTS         = $(SCSI_VHCI_OBJS:%=$(OBJS_DIR)/%)
  43 LINTS           = $(SCSI_VHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45 CONF_SRCDIR     = $(UTSBASE)/common/io/scsi/adapters/scsi_vhci
  46 
  47 #
  48 # Include common rules.
  49 #
  50 include $(UTSBASE)/intel/Makefile.intel
  51 
  52 CERRWARN        += -_gcc=-Wno-parentheses
  53 CERRWARN        += -_gcc=-Wno-uninitialized
  54 CERRWARN        += -_gcc=-Wno-unused-label
  55 
  56 # needs work
  57 SMATCH=off
  58 
  59 #
  60 # Define targets.
  61 #
  62 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  65 
  66 #
  67 # Note dependancy on misc/scsi.
  68 #
  69 LDFLAGS += -dy -N"misc/scsi"
  70 
  71 #
  72 # Default build targets.
  73 #




  33 #
  34 #       Paths to the base of the uts directory trees
  35 #
  36 UTSBASE   = ../..
  37 
  38 #
  39 # Define the module and object file sets.
  40 #
  41 MODULE          = scsi_vhci
  42 OBJECTS         = $(SCSI_VHCI_OBJS:%=$(OBJS_DIR)/%)
  43 LINTS           = $(SCSI_VHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
  44 ROOTMODULE      = $(ROOT_DRV_DIR)/$(MODULE)
  45 CONF_SRCDIR     = $(UTSBASE)/common/io/scsi/adapters/scsi_vhci
  46 
  47 #
  48 # Include common rules.
  49 #
  50 include $(UTSBASE)/intel/Makefile.intel
  51 
  52 CERRWARN        += -_gcc=-Wno-parentheses
  53 CERRWARN        += $(CNOWARN_UNINIT)
  54 CERRWARN        += -_gcc=-Wno-unused-label
  55 
  56 # needs work
  57 SMATCH=off
  58 
  59 #
  60 # Define targets.
  61 #
  62 ALL_TARGET      = $(BINARY) $(SRC_CONFILE)
  63 LINT_TARGET     = $(MODULE).lint
  64 INSTALL_TARGET  = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
  65 
  66 #
  67 # Note dependancy on misc/scsi.
  68 #
  69 LDFLAGS += -dy -N"misc/scsi"
  70 
  71 #
  72 # Default build targets.
  73 #