33
34 include $(SPEC)
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, \
|
33
34 include $(SPEC)
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/testlibrary/jvmti \
54 #
55
56 # Add conditional directories here when needed.
57 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), solaris-sparc)
58 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \
59 $(HOTSPOT_TOPDIR)/test/runtime/libadimalloc.solaris.sparc \
60 $(HOTSPOT_TOPDIR)/test/runtime/ThreadSignalMask
61 endif
62
63 ifeq ($(TOOLCHAIN_TYPE), solstudio)
64 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_liboverflow := -lc
65 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_libSimpleClassFileLoadHook := -lc
66 endif
67
68 BUILD_HOTSPOT_JTREG_OUTPUT_DIR := $(BUILD_OUTPUT)/support/test/hotspot/jtreg/native
69
70 BUILD_HOTSPOT_JTREG_IMAGE_DIR := $(TEST_IMAGE_DIR)/hotspot/jtreg
71
72 $(eval $(call SetupTestFilesCompilation, BUILD_HOTSPOT_JTREG_LIBRARIES, \
|