35 include MakeBase.gmk
36 include TestFilesCompilation.gmk
37
38 ################################################################################
39 # Targets for building the native tests themselves.
40 ################################################################################
41
42 # Add more directories here when needed.
43 BUILD_HOTSPOT_JTREG_NATIVE_SRC := \
44 $(HOTSPOT_TOPDIR)/test/native_sanity \
45 $(HOTSPOT_TOPDIR)/test/runtime/jni/8025979 \
46 $(HOTSPOT_TOPDIR)/test/runtime/jni/8033445 \
47 $(HOTSPOT_TOPDIR)/test/runtime/jni/ToStringInInterfaceTest \
48 $(HOTSPOT_TOPDIR)/test/runtime/modules/getModuleJNI \
49 $(HOTSPOT_TOPDIR)/test/runtime/SameObject \
50 $(HOTSPOT_TOPDIR)/test/runtime/BoolReturn \
51 $(HOTSPOT_TOPDIR)/test/compiler/floatingpoint/ \
52 $(HOTSPOT_TOPDIR)/test/compiler/calls \
53 $(HOTSPOT_TOPDIR)/test/compiler/native \
54 $(HOTSPOT_TOPDIR)/test/testlibrary/jvmti \
55 #
56
57 # Add conditional directories here when needed.
58 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), solaris-sparc)
59 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \
60 $(HOTSPOT_TOPDIR)/test/runtime/libadimalloc.solaris.sparc \
61 $(HOTSPOT_TOPDIR)/test/runtime/ThreadSignalMask
62 endif
63
64 ifeq ($(TOOLCHAIN_TYPE), solstudio)
65 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_liboverflow := -lc
66 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libSimpleClassFileLoadHook := -lc
67 endif
68
69 BUILD_HOTSPOT_JTREG_OUTPUT_DIR := $(BUILD_OUTPUT)/support/test/hotspot/jtreg/native
70
71 BUILD_HOTSPOT_JTREG_IMAGE_DIR := $(TEST_IMAGE_DIR)/hotspot/jtreg
72
73 $(eval $(call SetupTestFilesCompilation, BUILD_HOTSPOT_JTREG_LIBRARIES, \
74 TYPE := LIBRARY, \
|
35 include MakeBase.gmk
36 include TestFilesCompilation.gmk
37
38 ################################################################################
39 # Targets for building the native tests themselves.
40 ################################################################################
41
42 # Add more directories here when needed.
43 BUILD_HOTSPOT_JTREG_NATIVE_SRC := \
44 $(HOTSPOT_TOPDIR)/test/native_sanity \
45 $(HOTSPOT_TOPDIR)/test/runtime/jni/8025979 \
46 $(HOTSPOT_TOPDIR)/test/runtime/jni/8033445 \
47 $(HOTSPOT_TOPDIR)/test/runtime/jni/ToStringInInterfaceTest \
48 $(HOTSPOT_TOPDIR)/test/runtime/modules/getModuleJNI \
49 $(HOTSPOT_TOPDIR)/test/runtime/SameObject \
50 $(HOTSPOT_TOPDIR)/test/runtime/BoolReturn \
51 $(HOTSPOT_TOPDIR)/test/compiler/floatingpoint/ \
52 $(HOTSPOT_TOPDIR)/test/compiler/calls \
53 $(HOTSPOT_TOPDIR)/test/compiler/native \
54 $(HOTSPOT_TOPDIR)/test/testlibrary/jvmti \
55 $(HOTSPOT_TOPDIR)/test/compiler/jvmci/jdk.vm.ci.code.test \
56 #
57
58 # Add conditional directories here when needed.
59 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), solaris-sparc)
60 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \
61 $(HOTSPOT_TOPDIR)/test/runtime/libadimalloc.solaris.sparc \
62 $(HOTSPOT_TOPDIR)/test/runtime/ThreadSignalMask
63 endif
64
65 ifeq ($(TOOLCHAIN_TYPE), solstudio)
66 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_liboverflow := -lc
67 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libSimpleClassFileLoadHook := -lc
68 endif
69
70 BUILD_HOTSPOT_JTREG_OUTPUT_DIR := $(BUILD_OUTPUT)/support/test/hotspot/jtreg/native
71
72 BUILD_HOTSPOT_JTREG_IMAGE_DIR := $(TEST_IMAGE_DIR)/hotspot/jtreg
73
74 $(eval $(call SetupTestFilesCompilation, BUILD_HOTSPOT_JTREG_LIBRARIES, \
75 TYPE := LIBRARY, \
|