25
26 include CopyCommon.gmk
27
28 $(eval $(call IncludeCustomExtension, copy/Copy-java.base.gmk))
29
30 ################################################################################
31 #
32 # Copy exported header files to outputdir.
33 #
34 TARGETS += \
35 $(INCLUDE_DST_DIR)/jni.h \
36 $(INCLUDE_DST_DIR)/jvmticmlr.h \
37 $(INCLUDE_DST_DIR)/classfile_constants.h \
38 $(INCLUDE_DST_OS_DIR)/jni_md.h \
39 #
40
41 $(INCLUDE_DST_DIR)/%.h: $(TOPDIR)/src/java.base/share/native/include/%.h
42 $(call install-file)
43
44 $(INCLUDE_DST_OS_DIR)/%.h: \
45 $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_EXPORT_DIR)/native/include/%.h
46 $(call install-file)
47
48 ################################################################################
49
50 ifneq ($(findstring $(OPENJDK_TARGET_OS), windows aix),)
51
52 TZMAPPINGS_SRC := $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/conf
53
54 $(LIB_DST_DIR)/tzmappings: $(TZMAPPINGS_SRC)/tzmappings
55 $(call install-file)
56
57 TARGETS += $(LIB_DST_DIR)/tzmappings
58
59 endif
60
61 ################################################################################
62 # Copy the microsoft runtime libraries on windows
63 ifeq ($(OPENJDK_TARGET_OS), windows)
64
65 # Chmod to avoid permission issues if bundles are unpacked on unix platforms.
|
25
26 include CopyCommon.gmk
27
28 $(eval $(call IncludeCustomExtension, copy/Copy-java.base.gmk))
29
30 ################################################################################
31 #
32 # Copy exported header files to outputdir.
33 #
34 TARGETS += \
35 $(INCLUDE_DST_DIR)/jni.h \
36 $(INCLUDE_DST_DIR)/jvmticmlr.h \
37 $(INCLUDE_DST_DIR)/classfile_constants.h \
38 $(INCLUDE_DST_OS_DIR)/jni_md.h \
39 #
40
41 $(INCLUDE_DST_DIR)/%.h: $(TOPDIR)/src/java.base/share/native/include/%.h
42 $(call install-file)
43
44 $(INCLUDE_DST_OS_DIR)/%.h: \
45 $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_TYPE)/native/include/%.h
46 $(call install-file)
47
48 ################################################################################
49
50 ifneq ($(findstring $(OPENJDK_TARGET_OS), windows aix),)
51
52 TZMAPPINGS_SRC := $(TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/conf
53
54 $(LIB_DST_DIR)/tzmappings: $(TZMAPPINGS_SRC)/tzmappings
55 $(call install-file)
56
57 TARGETS += $(LIB_DST_DIR)/tzmappings
58
59 endif
60
61 ################################################################################
62 # Copy the microsoft runtime libraries on windows
63 ifeq ($(OPENJDK_TARGET_OS), windows)
64
65 # Chmod to avoid permission issues if bundles are unpacked on unix platforms.
|