18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 ################################################################################
27 # This file builds the native component of the JTReg tests for JDK.
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 $(eval $(call IncludeCustomExtension, test/JtregNative.gmk))
39
40 ################################################################################
41 # Targets for building the native tests themselves.
42 ################################################################################
43
44 # Add more directories here when needed.
45 BUILD_JDK_JTREG_NATIVE_SRC += \
46 $(TOPDIR)/test/jdk/native_sanity \
47 $(TOPDIR)/test/jdk/java/lang/String/nativeEncoding \
48 #
49
50 BUILD_JDK_JTREG_OUTPUT_DIR := $(OUTPUTDIR)/support/test/jdk/jtreg/native
51
52 BUILD_JDK_JTREG_IMAGE_DIR := $(TEST_IMAGE_DIR)/jdk/jtreg
53
54 ifeq ($(OPENJDK_TARGET_OS), windows)
55 WIN_LIB_JAVA := $(SUPPORT_OUTPUTDIR)/native/java.base/libjava/java.lib
56 BUILD_JDK_JTREG_LIBRARIES_LIBS_libstringPlatformChars := $(WIN_LIB_JAVA)
57 else ifeq ($(OPENJDK_TARGET_OS), solaris)
58 BUILD_JDK_JTREG_LIBRARIES_LIBS_libstringPlatformChars := -ljava -lc
|
18 # 2 along with this work; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #
21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 # or visit www.oracle.com if you need additional information or have any
23 # questions.
24 #
25
26 ################################################################################
27 # This file builds the native component of the JTReg tests for JDK.
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 $(eval $(call IncludeCustomExtension, test/JtregNativeJdk.gmk))
39
40 ################################################################################
41 # Targets for building the native tests themselves.
42 ################################################################################
43
44 # Add more directories here when needed.
45 BUILD_JDK_JTREG_NATIVE_SRC += \
46 $(TOPDIR)/test/jdk/native_sanity \
47 $(TOPDIR)/test/jdk/java/lang/String/nativeEncoding \
48 #
49
50 BUILD_JDK_JTREG_OUTPUT_DIR := $(OUTPUTDIR)/support/test/jdk/jtreg/native
51
52 BUILD_JDK_JTREG_IMAGE_DIR := $(TEST_IMAGE_DIR)/jdk/jtreg
53
54 ifeq ($(OPENJDK_TARGET_OS), windows)
55 WIN_LIB_JAVA := $(SUPPORT_OUTPUTDIR)/native/java.base/libjava/java.lib
56 BUILD_JDK_JTREG_LIBRARIES_LIBS_libstringPlatformChars := $(WIN_LIB_JAVA)
57 else ifeq ($(OPENJDK_TARGET_OS), solaris)
58 BUILD_JDK_JTREG_LIBRARIES_LIBS_libstringPlatformChars := -ljava -lc
|