30 ################################################################################ |
30 ################################################################################ |
31 # |
31 # |
32 # Copy exported header files to outputdir. |
32 # Copy exported header files to outputdir. |
33 # |
33 # |
34 JAVA_BASE_HEADERS := \ |
34 JAVA_BASE_HEADERS := \ |
35 $(INCLUDEDIR)/jni.h \ |
35 $(INCLUDE_DST_DIR)/jni.h \ |
36 $(INCLUDEDIR)/jvmti.h \ |
36 $(INCLUDE_DST_DIR)/jvmti.h \ |
37 $(INCLUDEDIR)/jvmticmlr.h \ |
37 $(INCLUDE_DST_DIR)/jvmticmlr.h \ |
38 $(INCLUDEDIR)/classfile_constants.h \ |
38 $(INCLUDE_DST_DIR)/classfile_constants.h \ |
39 $(OPENJDK_TARGET_OS_INCLUDE)/jni_md.h \ |
39 $(INCLUDE_DST_OS_DIR)/jni_md.h \ |
40 # |
40 # |
41 |
41 |
42 $(INCLUDEDIR)/%.h: $(JDK_TOPDIR)/src/java.base/share/native/include/%.h |
42 $(INCLUDE_DST_DIR)/%.h: $(JDK_TOPDIR)/src/java.base/share/native/include/%.h |
43 $(call install-file) |
43 $(call install-file) |
44 |
44 |
45 $(OPENJDK_TARGET_OS_INCLUDE)/%.h: \ |
45 $(INCLUDE_DST_OS_DIR)/%.h: \ |
46 $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_EXPORT_DIR)/native/include/%.h |
46 $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS_EXPORT_DIR)/native/include/%.h |
47 $(call install-file) |
47 $(call install-file) |
48 |
48 |
49 ################################################################################ |
49 ################################################################################ |
50 |
50 |
51 CALENDARS_SRC := $(JDK_TOPDIR)/src/java.base/share/conf |
51 CALENDARS_SRC := $(JDK_TOPDIR)/src/java.base/share/conf |
52 |
52 |
53 $(LIBDIR)/calendars.properties: $(CALENDARS_SRC)/calendars.properties |
53 $(LIB_DST_DIR)/calendars.properties: $(CALENDARS_SRC)/calendars.properties |
54 $(call install-file) |
54 $(call install-file) |
55 |
55 |
56 BASE_CONF_FILES += $(LIBDIR)/calendars.properties |
56 BASE_CONF_FILES += $(LIB_DST_DIR)/calendars.properties |
57 |
57 |
58 $(LIBDIR)/hijrah-config-umalqura.properties: $(CALENDARS_SRC)/hijrah-config-umalqura.properties |
58 $(LIB_DST_DIR)/hijrah-config-umalqura.properties: $(CALENDARS_SRC)/hijrah-config-umalqura.properties |
59 $(MKDIR) -p $(@D) |
59 $(MKDIR) -p $(@D) |
60 $(RM) $@ |
60 $(RM) $@ |
61 $(CP) $< $@ |
61 $(CP) $< $@ |
62 |
62 |
63 BASE_CONF_FILES += $(LIBDIR)/hijrah-config-umalqura.properties |
63 BASE_CONF_FILES += $(LIB_DST_DIR)/hijrah-config-umalqura.properties |
64 |
64 |
65 ################################################################################ |
65 ################################################################################ |
66 |
66 |
67 ifneq ($(findstring $(OPENJDK_TARGET_OS), windows aix),) |
67 ifneq ($(findstring $(OPENJDK_TARGET_OS), windows aix),) |
68 |
68 |
69 TZMAPPINGS_SRC := $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/conf |
69 TZMAPPINGS_SRC := $(JDK_TOPDIR)/src/java.base/$(OPENJDK_TARGET_OS)/conf |
70 |
70 |
71 $(LIBDIR)/tzmappings: $(TZMAPPINGS_SRC)/tzmappings |
71 $(LIB_DST_DIR)/tzmappings: $(TZMAPPINGS_SRC)/tzmappings |
72 $(call install-file) |
72 $(call install-file) |
73 |
73 |
74 BASE_CONF_FILES += $(LIBDIR)/tzmappings |
74 BASE_CONF_FILES += $(LIB_DST_DIR)/tzmappings |
75 |
75 |
76 endif |
76 endif |
77 |
77 |
78 ################################################################################ |
78 ################################################################################ |
79 # Copy msvcrXX.dll on windows |
79 # Copy msvcrXX.dll on windows |