30 include JavaCompilation.gmk
31 include NativeCompilation.gmk
32 include TextFileProcessing.gmk
33
34 include HotspotCommon.gmk
35
36 # The real work is done in these files
37
38 include gensrc/GensrcAdlc.gmk
39 include gensrc/GensrcDtrace.gmk
40 include gensrc/GensrcJvmti.gmk
41
42 $(eval $(call IncludeCustomExtension, hotspot, gensrc/GenerateSources.gmk))
43
44 # While technically the rules below are "gendata" which can be done in parallel
45 # with native compilation, let's keep it here for simplicity.
46
47 # The Xusage.txt file needs to have platform specific path separator
48 $(eval $(call SetupTextFileProcessing, CREATE_XUSAGE, \
49 SOURCE_FILES := $(HOTSPOT_TOPDIR)/src/share/vm/Xusage.txt, \
50 OUTPUT_FILE := $(JVM_SUPPORT_DIR)/misc/Xusage.txt, \
51 REPLACEMENTS := separated by ;> => separated by $(PATH_SEP)> ; , \
52 ))
53
54 TARGETS += $(CREATE_XUSAGE)
55
56 # Setup the hotspot launcher script for developer use
57 $(eval $(call SetupTextFileProcessing, CREATE_HOTSPOT_LAUNCHER, \
58 SOURCE_FILES := $(HOTSPOT_TOPDIR)/make/hotspot.script, \
59 OUTPUT_FILE := $(JVM_OUTPUTDIR)/hotspot, \
60 REPLACEMENTS := \
61 @@LIBARCH@@ => $(OPENJDK_TARGET_CPU_LEGACY_LIB) ; \
62 @@JDK_IMPORT_PATH@@ => $(JDK_OUTPUTDIR) ; , \
63 ))
64
65 CHMOD_HOTSPOT_LAUNCHER := $(JVM_VARIANT_OUTPUTDIR)/libjvm/_hotspot-script-chmod.marker
66
67 $(CHMOD_HOTSPOT_LAUNCHER): $(CREATE_HOTSPOT_LAUNCHER)
68 $(CHMOD) +x $<
69 $(TOUCH) $@
70
|
30 include JavaCompilation.gmk
31 include NativeCompilation.gmk
32 include TextFileProcessing.gmk
33
34 include HotspotCommon.gmk
35
36 # The real work is done in these files
37
38 include gensrc/GensrcAdlc.gmk
39 include gensrc/GensrcDtrace.gmk
40 include gensrc/GensrcJvmti.gmk
41
42 $(eval $(call IncludeCustomExtension, hotspot, gensrc/GenerateSources.gmk))
43
44 # While technically the rules below are "gendata" which can be done in parallel
45 # with native compilation, let's keep it here for simplicity.
46
47 # The Xusage.txt file needs to have platform specific path separator
48 $(eval $(call SetupTextFileProcessing, CREATE_XUSAGE, \
49 SOURCE_FILES := $(HOTSPOT_TOPDIR)/src/share/vm/Xusage.txt, \
50 OUTPUT_FILE := $(JVM_LIB_OUTPUTDIR)/Xusage.txt, \
51 REPLACEMENTS := separated by ;> => separated by $(PATH_SEP)> ; , \
52 ))
53
54 TARGETS += $(CREATE_XUSAGE)
55
56 # Setup the hotspot launcher script for developer use
57 $(eval $(call SetupTextFileProcessing, CREATE_HOTSPOT_LAUNCHER, \
58 SOURCE_FILES := $(HOTSPOT_TOPDIR)/make/hotspot.script, \
59 OUTPUT_FILE := $(JVM_OUTPUTDIR)/hotspot, \
60 REPLACEMENTS := \
61 @@LIBARCH@@ => $(OPENJDK_TARGET_CPU_LEGACY_LIB) ; \
62 @@JDK_IMPORT_PATH@@ => $(JDK_OUTPUTDIR) ; , \
63 ))
64
65 CHMOD_HOTSPOT_LAUNCHER := $(JVM_VARIANT_OUTPUTDIR)/libjvm/_hotspot-script-chmod.marker
66
67 $(CHMOD_HOTSPOT_LAUNCHER): $(CREATE_HOTSPOT_LAUNCHER)
68 $(CHMOD) +x $<
69 $(TOUCH) $@
70
|