59 $(TOPDIR)/test/hotspot/jtreg/runtime/modules/getModuleJNI \ 60 $(TOPDIR)/test/hotspot/jtreg/runtime/SameObject \ 61 $(TOPDIR)/test/hotspot/jtreg/runtime/BoolReturn \ 62 $(TOPDIR)/test/hotspot/jtreg/runtime/noClassDefFoundMsg \ 63 $(TOPDIR)/test/hotspot/jtreg/runtime/RedefineTests \ 64 $(TOPDIR)/test/hotspot/jtreg/compiler/floatingpoint/ \ 65 $(TOPDIR)/test/hotspot/jtreg/compiler/calls \ 66 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/GetOwnedMonitorInfo \ 67 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/GetNamedModule \ 68 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/IsModifiableModule \ 69 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/AddModuleReads \ 70 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/AddModuleExportsAndOpens \ 71 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/AddModuleUsesAndProvides \ 72 $(TOPDIR)/test/hotspot/jtreg/testlibrary/jvmti \ 73 $(TOPDIR)/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test \ 74 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/GetModulesInfo \ 75 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/ModuleAwareAgents/ClassFileLoadHook \ 76 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/ModuleAwareAgents/ClassLoadPrepare \ 77 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/ModuleAwareAgents/ThreadStart \ 78 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/StartPhase/AllowedFunctions \ 79 # 80 81 # Add conditional directories here when needed. 82 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), solaris-sparc) 83 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \ 84 $(TOPDIR)/test/hotspot/jtreg/runtime/libadimalloc.solaris.sparc \ 85 $(TOPDIR)/test/hotspot/jtreg/runtime/ThreadSignalMask 86 endif 87 88 ifeq ($(OPENJDK_TARGET_OS), linux) 89 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \ 90 $(TOPDIR)/test/hotspot/jtreg/runtime/execstack \ 91 $(TOPDIR)/test/hotspot/jtreg/runtime/jsig \ 92 $(TOPDIR)/test/hotspot/jtreg/runtime/StackGuardPages 93 endif 94 95 ifeq ($(TOOLCHAIN_TYPE), solstudio) 96 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_liboverflow := -lc 97 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libSimpleClassFileLoadHook := -lc 98 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libGetOwnedMonitorInfoTest := -lc 99 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libGetNamedModuleTest := -lc 100 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libIsModifiableModuleTest := -lc 101 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libAddModuleReadsTest := -lc 102 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libAddModuleExportsAndOpensTest := -lc 103 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libAddModuleUsesAndProvidesTest := -lc 104 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libMAAClassFileLoadHook := -lc 105 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libMAAClassLoadPrepare := -lc 106 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libMAAThreadStart := -lc 107 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libAllowedFunctions := -lc 108 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libRedefineDoubleDelete := -lc 109 endif 110 111 ifeq ($(OPENJDK_TARGET_OS), linux) 112 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libtest-rw := -z noexecstack 113 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libtest-rwx := -z execstack 114 BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeinvoke := -ljvm -lpthread 115 BUILD_TEST_invoke_exeinvoke.c_OPTIMIZATION := NONE 116 BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeFPRegs := -ldl 117 endif 118 119 ifeq ($(OPENJDK_TARGET_OS), windows) 120 BUILD_HOTSPOT_JTREG_EXECUTABLES_CFLAGS_exeFPRegs := -MT 121 endif 122 123 BUILD_HOTSPOT_JTREG_OUTPUT_DIR := $(OUTPUTDIR)/support/test/hotspot/jtreg/native 124 125 BUILD_HOTSPOT_JTREG_IMAGE_DIR := $(TEST_IMAGE_DIR)/hotspot/jtreg 126 127 $(eval $(call SetupTestFilesCompilation, BUILD_HOTSPOT_JTREG_LIBRARIES, \ 128 TYPE := LIBRARY, \ | 59 $(TOPDIR)/test/hotspot/jtreg/runtime/modules/getModuleJNI \ 60 $(TOPDIR)/test/hotspot/jtreg/runtime/SameObject \ 61 $(TOPDIR)/test/hotspot/jtreg/runtime/BoolReturn \ 62 $(TOPDIR)/test/hotspot/jtreg/runtime/noClassDefFoundMsg \ 63 $(TOPDIR)/test/hotspot/jtreg/runtime/RedefineTests \ 64 $(TOPDIR)/test/hotspot/jtreg/compiler/floatingpoint/ \ 65 $(TOPDIR)/test/hotspot/jtreg/compiler/calls \ 66 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/GetOwnedMonitorInfo \ 67 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/GetNamedModule \ 68 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/IsModifiableModule \ 69 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/AddModuleReads \ 70 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/AddModuleExportsAndOpens \ 71 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/AddModuleUsesAndProvides \ 72 $(TOPDIR)/test/hotspot/jtreg/testlibrary/jvmti \ 73 $(TOPDIR)/test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test \ 74 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/GetModulesInfo \ 75 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/ModuleAwareAgents/ClassFileLoadHook \ 76 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/ModuleAwareAgents/ClassLoadPrepare \ 77 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/ModuleAwareAgents/ThreadStart \ 78 $(TOPDIR)/test/hotspot/jtreg/serviceability/jvmti/StartPhase/AllowedFunctions \ 79 $(TOPDIR)/test/hotspot/jtreg/serviceability/dcmd/jvmti/AttachFailed \ 80 # 81 82 # Add conditional directories here when needed. 83 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), solaris-sparc) 84 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \ 85 $(TOPDIR)/test/hotspot/jtreg/runtime/libadimalloc.solaris.sparc \ 86 $(TOPDIR)/test/hotspot/jtreg/runtime/ThreadSignalMask 87 endif 88 89 ifeq ($(OPENJDK_TARGET_OS), linux) 90 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \ 91 $(TOPDIR)/test/hotspot/jtreg/runtime/execstack \ 92 $(TOPDIR)/test/hotspot/jtreg/runtime/jsig \ 93 $(TOPDIR)/test/hotspot/jtreg/runtime/StackGuardPages 94 endif 95 96 ifeq ($(TOOLCHAIN_TYPE), solstudio) 97 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_liboverflow := -lc 98 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libSimpleClassFileLoadHook := -lc 99 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libGetOwnedMonitorInfoTest := -lc 100 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libGetNamedModuleTest := -lc 101 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libIsModifiableModuleTest := -lc 102 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libAddModuleReadsTest := -lc 103 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libAddModuleExportsAndOpensTest := -lc 104 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libAddModuleUsesAndProvidesTest := -lc 105 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libMAAClassFileLoadHook := -lc 106 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libMAAClassLoadPrepare := -lc 107 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libMAAThreadStart := -lc 108 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libAllowedFunctions := -lc 109 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libRedefineDoubleDelete := -lc 110 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libException := -lc 111 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libHasNoEntryPoint := -lc 112 BUILD_HOTSPOT_JTREG_LIBRARIES_LIBS_libReturnError := -lc 113 endif 114 115 ifeq ($(OPENJDK_TARGET_OS), linux) 116 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libtest-rw := -z noexecstack 117 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libtest-rwx := -z execstack 118 BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeinvoke := -ljvm -lpthread 119 BUILD_TEST_invoke_exeinvoke.c_OPTIMIZATION := NONE 120 BUILD_HOTSPOT_JTREG_EXECUTABLES_LIBS_exeFPRegs := -ldl 121 endif 122 123 ifeq ($(OPENJDK_TARGET_OS), windows) 124 BUILD_HOTSPOT_JTREG_EXECUTABLES_CFLAGS_exeFPRegs := -MT 125 endif 126 127 BUILD_HOTSPOT_JTREG_OUTPUT_DIR := $(OUTPUTDIR)/support/test/hotspot/jtreg/native 128 129 BUILD_HOTSPOT_JTREG_IMAGE_DIR := $(TEST_IMAGE_DIR)/hotspot/jtreg 130 131 $(eval $(call SetupTestFilesCompilation, BUILD_HOTSPOT_JTREG_LIBRARIES, \ 132 TYPE := LIBRARY, \ |