1015 # and in line with this, our targets for creating these are named *-image[s].
1016
1017 # This target builds the product images, e.g. the JDK image
1018 # (and possibly other, more specific versions)
1019 product-images: jdk-image symbols-image exploded-image
1020
1021 # zip-security is actually a bundle, but for now it needs to be considered
1022 # an image until this can be cleaned up properly.
1023 product-images: zip-security
1024
1025 # The module summary cannot be run when:
1026 # * Cross compiling and building a partial BUILDJDK for the build host
1027 # * An external buildjdk has been supplied since it may not match the
1028 # module selection of the target jdk
1029 ifneq ($(CREATE_BUILDJDK), true)
1030 ifeq ($(EXTERNAL_BUILDJDK), false)
1031 product-images: generate-summary
1032 endif
1033 endif
1034
1035 ifeq ($(OPENJDK_TARGET_OS), macosx)
1036 product-images: mac-jdk-bundle
1037 endif
1038
1039 # This target builds the documentation image
1040 docs-image: docs-jdk
1041
1042 # If not already set, set the JVM specific targets to build the test image
1043 JVM_TEST_IMAGE_TARGETS ?= test-image-hotspot-jtreg-native test-image-hotspot-gtest
1044
1045 ifeq ($(INCLUDE_GRAAL), true)
1046 JVM_TEST_IMAGE_TARGETS += test-image-hotspot-jtreg-graal
1047 endif
1048
1049 # This target builds the test image
1050 test-image: prepare-test-image \
1051 test-image-jdk-jtreg-native test-image-failure-handler \
1052 test-image-demos-jdk $(JVM_TEST_IMAGE_TARGETS)
1053
1054 ifneq ($(JMH_CORE_JAR), )
1055 test-image: build-microbenchmark
|
1015 # and in line with this, our targets for creating these are named *-image[s].
1016
1017 # This target builds the product images, e.g. the JDK image
1018 # (and possibly other, more specific versions)
1019 product-images: jdk-image symbols-image exploded-image
1020
1021 # zip-security is actually a bundle, but for now it needs to be considered
1022 # an image until this can be cleaned up properly.
1023 product-images: zip-security
1024
1025 # The module summary cannot be run when:
1026 # * Cross compiling and building a partial BUILDJDK for the build host
1027 # * An external buildjdk has been supplied since it may not match the
1028 # module selection of the target jdk
1029 ifneq ($(CREATE_BUILDJDK), true)
1030 ifeq ($(EXTERNAL_BUILDJDK), false)
1031 product-images: generate-summary
1032 endif
1033 endif
1034
1035 ifeq ($(call isTargetOs, macosx), true)
1036 product-images: mac-jdk-bundle
1037 endif
1038
1039 # This target builds the documentation image
1040 docs-image: docs-jdk
1041
1042 # If not already set, set the JVM specific targets to build the test image
1043 JVM_TEST_IMAGE_TARGETS ?= test-image-hotspot-jtreg-native test-image-hotspot-gtest
1044
1045 ifeq ($(INCLUDE_GRAAL), true)
1046 JVM_TEST_IMAGE_TARGETS += test-image-hotspot-jtreg-graal
1047 endif
1048
1049 # This target builds the test image
1050 test-image: prepare-test-image \
1051 test-image-jdk-jtreg-native test-image-failure-handler \
1052 test-image-demos-jdk $(JVM_TEST_IMAGE_TARGETS)
1053
1054 ifneq ($(JMH_CORE_JAR), )
1055 test-image: build-microbenchmark
|