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 # Build demos for the JDK into $(SUPPORT_OUTPUTDIR)/demos/image.
28 ################################################################################
29
30 default: all
31
32 include $(SPEC)
33 include MakeBase.gmk
34 include JavaCompilation.gmk
35 include NativeCompilation.gmk
36 include SetupJavaCompilers.gmk
37 include TextFileProcessing.gmk
38 include ZipArchive.gmk
39
40 # Prepare the find cache.
41 $(eval $(call FillCacheFind, $(JDK_TOPDIR)/src))
42
43 # Append demo goals to this variable.
44 TARGETS =
45
46 # The demo structure and contents should really be cleaned up.
47 # Now every other demo has its own quirks where to put the
48 # READMEs and other files.
49
50 DEMO_SHARE_SRC := $(JDK_TOPDIR)/src/demo/share
51 GLOBAL_VERSION_INFO_RESOURCE := $(JDK_TOPDIR)/src/java.base/windows/native/common/version.rc
52
53 DEMO_MANIFEST := $(SUPPORT_OUTPUTDIR)/demos/java-main-manifest.mf
54
55 # This rule will be depended on due to the MANIFEST line in SetupBuildDemo
56 # and SetupBuildJvmtiDemo.
57 $(eval $(call SetupTextFileProcessing, BUILD_JAVA_MANIFEST, \
58 SOURCE_FILES := $(JDK_TOPDIR)/make/data/mainmanifest/manifest.mf, \
59 OUTPUT_FILE := $(DEMO_MANIFEST), \
60 REPLACEMENTS := \
61 @@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
|
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 # Build demos for the JDK into $(SUPPORT_OUTPUTDIR)/demos/image.
28 ################################################################################
29
30 default: all
31
32 include $(SPEC)
33 include MakeBase.gmk
34 include JavaCompilation.gmk
35 include NativeCompilation.gmk
36 include SetupJavaCompilers.gmk
37 include TextFileProcessing.gmk
38 include ZipArchive.gmk
39
40 # Prepare the find cache.
41 $(eval $(call FillCacheFind, $(wildcard $(JDK_TOPDIR)/src/demo \
42 $(JDK_TOPDIR)/src/*/demo)))
43
44 # Append demo goals to this variable.
45 TARGETS =
46
47 # The demo structure and contents should really be cleaned up.
48 # Now every other demo has its own quirks where to put the
49 # READMEs and other files.
50
51 DEMO_SHARE_SRC := $(JDK_TOPDIR)/src/demo/share
52 GLOBAL_VERSION_INFO_RESOURCE := $(JDK_TOPDIR)/src/java.base/windows/native/common/version.rc
53
54 DEMO_MANIFEST := $(SUPPORT_OUTPUTDIR)/demos/java-main-manifest.mf
55
56 # This rule will be depended on due to the MANIFEST line in SetupBuildDemo
57 # and SetupBuildJvmtiDemo.
58 $(eval $(call SetupTextFileProcessing, BUILD_JAVA_MANIFEST, \
59 SOURCE_FILES := $(JDK_TOPDIR)/make/data/mainmanifest/manifest.mf, \
60 OUTPUT_FILE := $(DEMO_MANIFEST), \
61 REPLACEMENTS := \
62 @@VERSION_SPECIFICATION@@ => $(VERSION_SPECIFICATION) ; \
|