27 # This file builds the native component of the JTReg tests for Hotspot.
28 # It also covers the test-image part, where the built files are copied to the
29 # test image.
30 ################################################################################
31
32 default: all
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/serviceability/jvmti/GetNamedModule \
54 $(HOTSPOT_TOPDIR)/test/testlibrary/jvmti \
55 $(HOTSPOT_TOPDIR)/test/compiler/jvmci/jdk.vm.ci.code.test \
56 $(HOTSPOT_TOPDIR)/test/serviceability/jvmti/GetModulesInfo \
57 #
58
59 # Add conditional directories here when needed.
60 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), solaris-sparc)
61 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \
62 $(HOTSPOT_TOPDIR)/test/runtime/libadimalloc.solaris.sparc \
63 $(HOTSPOT_TOPDIR)/test/runtime/ThreadSignalMask
64 endif
65
66 ifeq ($(OPENJDK_TARGET_OS), linux)
|
27 # This file builds the native component of the JTReg tests for Hotspot.
28 # It also covers the test-image part, where the built files are copied to the
29 # test image.
30 ################################################################################
31
32 default: all
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/8164086 \
48 $(HOTSPOT_TOPDIR)/test/runtime/jni/ToStringInInterfaceTest \
49 $(HOTSPOT_TOPDIR)/test/runtime/modules/getModuleJNI \
50 $(HOTSPOT_TOPDIR)/test/runtime/SameObject \
51 $(HOTSPOT_TOPDIR)/test/runtime/BoolReturn \
52 $(HOTSPOT_TOPDIR)/test/compiler/floatingpoint/ \
53 $(HOTSPOT_TOPDIR)/test/compiler/calls \
54 $(HOTSPOT_TOPDIR)/test/serviceability/jvmti/GetNamedModule \
55 $(HOTSPOT_TOPDIR)/test/testlibrary/jvmti \
56 $(HOTSPOT_TOPDIR)/test/compiler/jvmci/jdk.vm.ci.code.test \
57 $(HOTSPOT_TOPDIR)/test/serviceability/jvmti/GetModulesInfo \
58 #
59
60 # Add conditional directories here when needed.
61 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), solaris-sparc)
62 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \
63 $(HOTSPOT_TOPDIR)/test/runtime/libadimalloc.solaris.sparc \
64 $(HOTSPOT_TOPDIR)/test/runtime/ThreadSignalMask
65 endif
66
67 ifeq ($(OPENJDK_TARGET_OS), linux)
|