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/SameObject \
49 #
50
51 # Add conditional directories here when needed.
52 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), solaris-sparc)
53 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \
54 $(HOTSPOT_TOPDIR)/test/runtime/libadimalloc.solaris.sparc \
55 $(HOTSPOT_TOPDIR)/test/runtime/ThreadSignalMask
56 endif
57
58 ifeq ($(TOOLCHAIN_TYPE), solstudio)
59 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_liboverflow := -lc
60 endif
61
62 BUILD_HOTSPOT_JTREG_OUTPUT_DIR := $(BUILD_OUTPUT)/support/test/hotspot/jtreg/native
63
64 BUILD_HOTSPOT_JTREG_IMAGE_DIR := $(TEST_IMAGE_DIR)/hotspot/jtreg
65
66 $(eval $(call SetupTestFilesCompilation, BUILD_HOTSPOT_JTREG_LIBRARIES, \
67 TYPE := LIBRARY, \
68 SOURCE_DIRS := $(BUILD_HOTSPOT_JTREG_NATIVE_SRC), \
|
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/SameObject \
49 $(HOTSPOT_TOPDIR)/test/compiler/calls \
50 #
51
52 # Add conditional directories here when needed.
53 ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), solaris-sparc)
54 BUILD_HOTSPOT_JTREG_NATIVE_SRC += \
55 $(HOTSPOT_TOPDIR)/test/runtime/libadimalloc.solaris.sparc \
56 $(HOTSPOT_TOPDIR)/test/runtime/ThreadSignalMask
57 endif
58
59 ifeq ($(TOOLCHAIN_TYPE), solstudio)
60 BUILD_HOTSPOT_JTREG_LIBRARIES_LDFLAGS_liboverflow := -lc
61 endif
62
63 BUILD_HOTSPOT_JTREG_OUTPUT_DIR := $(BUILD_OUTPUT)/support/test/hotspot/jtreg/native
64
65 BUILD_HOTSPOT_JTREG_IMAGE_DIR := $(TEST_IMAGE_DIR)/hotspot/jtreg
66
67 $(eval $(call SetupTestFilesCompilation, BUILD_HOTSPOT_JTREG_LIBRARIES, \
68 TYPE := LIBRARY, \
69 SOURCE_DIRS := $(BUILD_HOTSPOT_JTREG_NATIVE_SRC), \
|