hotspot/test/Makefile
changeset 42633 0c23e9d8fccf
parent 42045 b2f2a5b257f1
child 42640 09dba077f1e7
equal deleted inserted replaced
42632:c4f00b77b6d4 42633:0c23e9d8fccf
   413 # basicvmtest (make sure various basic java options work)
   413 # basicvmtest (make sure various basic java options work)
   414 
   414 
   415 # Set up the directory in which the jvm directories live (client/, server/, etc.)
   415 # Set up the directory in which the jvm directories live (client/, server/, etc.)
   416 ifeq ($(PLATFORM),windows)
   416 ifeq ($(PLATFORM),windows)
   417 JVMS_DIR := $(PRODUCT_HOME)/bin
   417 JVMS_DIR := $(PRODUCT_HOME)/bin
   418 else ifeq ($(PLATFORM),bsd)
   418 else
   419 JVMS_DIR := $(PRODUCT_HOME)/lib
   419 JVMS_DIR := $(PRODUCT_HOME)/lib
   420 else
       
   421 # The jvms live in the architecture directory (amd64, sparcv9,
       
   422 # etc.). By using a wildcard there's no need to figure out the exact
       
   423 # name of that directory.
       
   424 JVMS_DIR := $(PRODUCT_HOME)/lib/*
       
   425 endif
   420 endif
   426 
   421 
   427 # Use the existance of a directory as a sign that jvm variant is available
   422 # Use the existance of a directory as a sign that jvm variant is available
   428 CANDIDATE_JVM_VARIANTS := client minimal server
   423 CANDIDATE_JVM_VARIANTS := client minimal server
   429 JVM_VARIANTS := $(strip $(foreach x,$(CANDIDATE_JVM_VARIANTS),$(if $(wildcard $(JVMS_DIR)/$(x)),$(x))))
   424 JVM_VARIANTS := $(strip $(foreach x,$(CANDIDATE_JVM_VARIANTS),$(if $(wildcard $(JVMS_DIR)/$(x)),$(x))))