103 |
103 |
104 JLINK_ORDER_RESOURCES := **module-info.class |
104 JLINK_ORDER_RESOURCES := **module-info.class |
105 JLINK_JLI_CLASSES := |
105 JLINK_JLI_CLASSES := |
106 ifeq ($(ENABLE_GENERATE_CLASSLIST), true) |
106 ifeq ($(ENABLE_GENERATE_CLASSLIST), true) |
107 JLINK_ORDER_RESOURCES += @$(SUPPORT_OUTPUTDIR)/link_opt/classlist |
107 JLINK_ORDER_RESOURCES += @$(SUPPORT_OUTPUTDIR)/link_opt/classlist |
108 JLINK_JLI_CLASSES := --generate-jli-classes=@$(SUPPORT_OUTPUTDIR)/link_opt/jli_trace.out |
108 JLINK_JLI_CLASSES := --generate-jli-classes=@$(SUPPORT_OUTPUTDIR)/link_opt/default_jli_trace.txt |
109 endif |
109 endif |
110 JLINK_ORDER_RESOURCES += \ |
110 JLINK_ORDER_RESOURCES += \ |
111 /java.base/java/** \ |
111 /java.base/java/** \ |
112 /java.base/jdk/** \ |
112 /java.base/jdk/** \ |
113 /java.base/sun/** \ |
113 /java.base/sun/** \ |
308 JRE_TARGETS += $(JRE_MAN_PAGE_LIST) |
308 JRE_TARGETS += $(JRE_MAN_PAGE_LIST) |
309 JDK_TARGETS += $(JDK_MAN_PAGE_LIST) |
309 JDK_TARGETS += $(JDK_MAN_PAGE_LIST) |
310 endif # Windows |
310 endif # Windows |
311 |
311 |
312 ################################################################################ |
312 ################################################################################ |
313 # doc files |
|
314 |
|
315 JRE_DOC_LOCATION ?= $(JDK_TOPDIR) |
|
316 JDK_DOC_LOCATION ?= $(JDK_TOPDIR) |
|
317 |
|
318 JRE_DOC_TARGETS := $(addprefix $(JRE_IMAGE_DIR)/, $(JRE_DOC_FILES)) |
|
319 JDK_DOC_TARGETS := $(addprefix $(JDK_IMAGE_DIR)/, $(JDK_DOC_FILES)) |
|
320 |
|
321 # Processing license files from source area to image area |
|
322 # These are modified to have the platform specific EOL chars. |
|
323 define process-doc-file |
|
324 $(call LogInfo, Processing $(patsubst $(OUTPUT_ROOT)/%,%,$@)) |
|
325 $(MKDIR) -p $(@D) |
|
326 $(RM) $@ |
|
327 LC_ALL=C $(SED) 's/$$//g' $< > $@ |
|
328 $(CHMOD) 444 $@ |
|
329 endef |
|
330 |
|
331 $(JRE_IMAGE_DIR)/%: $(JRE_DOC_LOCATION)/% |
|
332 $(process-doc-file) |
|
333 |
|
334 $(JDK_IMAGE_DIR)/%: $(JDK_DOC_LOCATION)/% |
|
335 $(process-doc-file) |
|
336 |
|
337 JRE_TARGETS += $(JRE_DOC_TARGETS) |
|
338 JDK_TARGETS += $(JDK_DOC_TARGETS) |
|
339 |
|
340 ################################################################################ |
|
341 # src.zip |
313 # src.zip |
342 |
314 |
343 $(JDK_IMAGE_DIR)/lib/src.zip: $(SUPPORT_OUTPUTDIR)/src.zip |
315 $(JDK_IMAGE_DIR)/lib/src.zip: $(SUPPORT_OUTPUTDIR)/src.zip |
344 $(call LogInfo, Copying $(patsubst $(OUTPUT_ROOT)/%,%,$@)) |
316 $(call LogInfo, Copying $(patsubst $(OUTPUT_ROOT)/%,%,$@)) |
345 $(install-file) |
317 $(install-file) |