< prev index next >

make/Main.gmk

Print this page




 323         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk jimages)
 324 
 325 profiles:
 326         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk profiles)
 327 
 328 mac-bundles-jdk:
 329         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk)
 330 
 331 ALL_TARGETS += source-tips bootcycle-images zip-security zip-source \
 332     jrtfs-jar jimages profiles mac-bundles-jdk
 333 
 334 ################################################################################
 335 # Docs targets
 336 
 337 docs-javadoc:
 338         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
 339 
 340 docs-jvmtidoc:
 341         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk jvmtidocs)
 342 
 343 zip-docs: docs-javadoc docs-jvmtidoc
 344         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk zip-docs)
 345 
 346 ALL_TARGETS += docs-javadoc docs-jvmtidoc
 347 
 348 ################################################################################
 349 # Cross compilation support
 350 
 351 ifeq ($(CREATE_BUILDJDK), true)
 352   # This target is only called by the recursive call below.
 353   create-buildjdk-compile-hotspot-helper: hotspot
 354   create-buildjdk-compile-modules-helper: jdk.jlink-launchers java.base-copy \
 355       jdk.jdeps-launchers
 356 endif
 357 
 358 create-buildjdk-copy:
 359         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f CreateBuildJdkCopy.gmk)
 360 
 361 create-buildjdk-compile-hotspot create-buildjdk-compile-modules:
 362         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Main.gmk \
 363             $@-helper \
 364             SPEC=$(dir $(SPEC))buildjdk-spec.gmk \
 365             HOTSPOT_SPEC=$(dir $(SPEC))buildjdk-spec.gmk \
 366             CREATING_BUILDJDK=true)


 585 
 586   zip-security: java.base-java java.security.jgss-java java.security.jgss-libs \
 587       $(filter jdk.crypto%, $(JAVA_TARGETS))
 588 
 589   zip-source: gensrc rmic
 590 
 591   jrtfs-jar: interim-langtools
 592 
 593   jimages: jmods zip-source source-tips demos samples jrtfs-jar
 594 
 595   profiles: jmods zip-source source-tips jrtfs-jar
 596 
 597   mac-bundles-jdk: jimages
 598 
 599   bootcycle-images: jimages
 600 
 601   docs-javadoc: $(GENSRC_TARGETS) rmic
 602 
 603   docs-jvmtidoc: hotspot
 604 


 605   test: jimages test-image
 606 
 607   create-buildjdk-copy: jdk.jlink-java java.base-gendata
 608 
 609   create-buildjdk-compile-modules: create-buildjdk-copy create-buildjdk-compile-hotspot
 610 
 611   test-make: clean-test-make
 612 
 613   build-test-lib: java
 614 
 615   build-test-failure-handler: interim-langtools
 616 
 617   test-failure-handler: build-test-failure-handler
 618 
 619   test-image-failure-handler: build-test-failure-handler
 620 
 621   build-test-hotspot-jtreg-native: buildtools-jdk
 622 
 623   build-test-jdk-jtreg-native: buildtools-jdk
 624 


 686 mac-bundles: mac-bundles-jdk
 687 
 688 # The $(BUILD_OUTPUT)/images directory contain the resulting deliverables,
 689 # and in line with this, our targets for creating these are named *-image[s].
 690 
 691 # This target builds the product images, e.g. the JRE and JDK image
 692 # (and possibly other, more specific versions)
 693 product-images: jimages demos samples zip-security exploded-image
 694 
 695 # When cross compiling and building a partial BUILDJDK for the build host,
 696 # the summary generation cannot be run.
 697 ifneq ($(CREATE_BUILDJDK), true)
 698   product-images: generate-summary
 699 endif
 700 
 701 ifeq ($(OPENJDK_TARGET_OS), macosx)
 702   product-images: mac-bundles
 703 endif
 704 
 705 # This target builds the documentation image
 706 docs-image: zip-docs
 707 
 708 # This target builds the test image
 709 test-image: prepare-test-image test-image-hotspot-jtreg-native \
 710     test-image-jdk-jtreg-native test-image-failure-handler
 711 
 712 # all-images is the top-most target, it builds all our deliverables ("images").
 713 all-images: product-images test-image docs-image
 714 
 715 ALL_TARGETS += buildtools gensrc gendata copy java rmic libs launchers jmods \
 716     jdk.jdwp.agent-gensrc $(ALL_MODULES) demos samples exploded-image \
 717     create-buildjdk mac-bundles product-images docs-image test-image all-images
 718 
 719 ################################################################################
 720 
 721 # Traditional targets typically run by users.
 722 # These can be considered aliases for the targets now named by a more
 723 # "modern" naming scheme.
 724 default: $(DEFAULT_MAKE_TARGET)
 725 jdk: exploded-image
 726 images: product-images
 727 docs: docs-image
 728 all: all-images
 729 
 730 ALL_TARGETS += default jdk images docs all zip-docs
 731 
 732 ################################################################################
 733 ################################################################################
 734 #
 735 # Clean targets
 736 #
 737 ################################################################################
 738 # Clean targets are automatically run serially by the Makefile calling this
 739 # file.
 740 
 741 CLEAN_DIRS += hotspot jdk bootcycle-build test buildtools support \
 742     images make-support test-make bundles buildjdk
 743 CLEAN_DIR_TARGETS := $(addprefix clean-, $(CLEAN_DIRS))
 744 CLEAN_SUPPORT_DIRS += demos
 745 CLEAN_SUPPORT_DIR_TARGETS := $(addprefix clean-, $(CLEAN_SUPPORT_DIRS))
 746 CLEAN_TESTS += hotspot-jtreg-native jdk-jtreg-native lib
 747 CLEAN_TEST_TARGETS += $(addprefix clean-test-, $(CLEAN_TESTS))
 748 CLEAN_PHASES := gensrc java native include docs
 749 CLEAN_PHASE_TARGETS := $(addprefix clean-, $(CLEAN_PHASES))
 750 CLEAN_MODULE_TARGETS := $(addprefix clean-, $(ALL_MODULES))




 323         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk jimages)
 324 
 325 profiles:
 326         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk profiles)
 327 
 328 mac-bundles-jdk:
 329         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk)
 330 
 331 ALL_TARGETS += source-tips bootcycle-images zip-security zip-source \
 332     jrtfs-jar jimages profiles mac-bundles-jdk
 333 
 334 ################################################################################
 335 # Docs targets
 336 
 337 docs-javadoc:
 338         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
 339 
 340 docs-jvmtidoc:
 341         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk jvmtidocs)
 342 
 343 zip-docs:
 344         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk zip-docs)
 345 
 346 ALL_TARGETS += docs-javadoc docs-jvmtidoc zip-docs
 347 
 348 ################################################################################
 349 # Cross compilation support
 350 
 351 ifeq ($(CREATE_BUILDJDK), true)
 352   # This target is only called by the recursive call below.
 353   create-buildjdk-compile-hotspot-helper: hotspot
 354   create-buildjdk-compile-modules-helper: jdk.jlink-launchers java.base-copy \
 355       jdk.jdeps-launchers
 356 endif
 357 
 358 create-buildjdk-copy:
 359         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f CreateBuildJdkCopy.gmk)
 360 
 361 create-buildjdk-compile-hotspot create-buildjdk-compile-modules:
 362         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Main.gmk \
 363             $@-helper \
 364             SPEC=$(dir $(SPEC))buildjdk-spec.gmk \
 365             HOTSPOT_SPEC=$(dir $(SPEC))buildjdk-spec.gmk \
 366             CREATING_BUILDJDK=true)


 585 
 586   zip-security: java.base-java java.security.jgss-java java.security.jgss-libs \
 587       $(filter jdk.crypto%, $(JAVA_TARGETS))
 588 
 589   zip-source: gensrc rmic
 590 
 591   jrtfs-jar: interim-langtools
 592 
 593   jimages: jmods zip-source source-tips demos samples jrtfs-jar
 594 
 595   profiles: jmods zip-source source-tips jrtfs-jar
 596 
 597   mac-bundles-jdk: jimages
 598 
 599   bootcycle-images: jimages
 600 
 601   docs-javadoc: $(GENSRC_TARGETS) rmic
 602 
 603   docs-jvmtidoc: hotspot
 604 
 605   zip-docs: docs-javadoc docs-jvmtidoc
 606 
 607   test: jimages test-image
 608 
 609   create-buildjdk-copy: jdk.jlink-java java.base-gendata
 610 
 611   create-buildjdk-compile-modules: create-buildjdk-copy create-buildjdk-compile-hotspot
 612 
 613   test-make: clean-test-make
 614 
 615   build-test-lib: java
 616 
 617   build-test-failure-handler: interim-langtools
 618 
 619   test-failure-handler: build-test-failure-handler
 620 
 621   test-image-failure-handler: build-test-failure-handler
 622 
 623   build-test-hotspot-jtreg-native: buildtools-jdk
 624 
 625   build-test-jdk-jtreg-native: buildtools-jdk
 626 


 688 mac-bundles: mac-bundles-jdk
 689 
 690 # The $(BUILD_OUTPUT)/images directory contain the resulting deliverables,
 691 # and in line with this, our targets for creating these are named *-image[s].
 692 
 693 # This target builds the product images, e.g. the JRE and JDK image
 694 # (and possibly other, more specific versions)
 695 product-images: jimages demos samples zip-security exploded-image
 696 
 697 # When cross compiling and building a partial BUILDJDK for the build host,
 698 # the summary generation cannot be run.
 699 ifneq ($(CREATE_BUILDJDK), true)
 700   product-images: generate-summary
 701 endif
 702 
 703 ifeq ($(OPENJDK_TARGET_OS), macosx)
 704   product-images: mac-bundles
 705 endif
 706 
 707 # This target builds the documentation image
 708 docs-image: docs-javadoc docs-jvmtidoc
 709 
 710 # This target builds the test image
 711 test-image: prepare-test-image test-image-hotspot-jtreg-native \
 712     test-image-jdk-jtreg-native test-image-failure-handler
 713 
 714 # all-images is the top-most target, it builds all our deliverables ("images").
 715 all-images: product-images test-image docs-image
 716 
 717 ALL_TARGETS += buildtools gensrc gendata copy java rmic libs launchers jmods \
 718     jdk.jdwp.agent-gensrc $(ALL_MODULES) demos samples exploded-image \
 719     create-buildjdk mac-bundles product-images docs-image test-image all-images
 720 
 721 ################################################################################
 722 
 723 # Traditional targets typically run by users.
 724 # These can be considered aliases for the targets now named by a more
 725 # "modern" naming scheme.
 726 default: $(DEFAULT_MAKE_TARGET)
 727 jdk: exploded-image
 728 images: product-images
 729 docs: docs-image
 730 all: all-images
 731 
 732 ALL_TARGETS += default jdk images docs all
 733 
 734 ################################################################################
 735 ################################################################################
 736 #
 737 # Clean targets
 738 #
 739 ################################################################################
 740 # Clean targets are automatically run serially by the Makefile calling this
 741 # file.
 742 
 743 CLEAN_DIRS += hotspot jdk bootcycle-build test buildtools support \
 744     images make-support test-make bundles buildjdk
 745 CLEAN_DIR_TARGETS := $(addprefix clean-, $(CLEAN_DIRS))
 746 CLEAN_SUPPORT_DIRS += demos
 747 CLEAN_SUPPORT_DIR_TARGETS := $(addprefix clean-, $(CLEAN_SUPPORT_DIRS))
 748 CLEAN_TESTS += hotspot-jtreg-native jdk-jtreg-native lib
 749 CLEAN_TEST_TARGETS += $(addprefix clean-test-, $(CLEAN_TESTS))
 750 CLEAN_PHASES := gensrc java native include docs
 751 CLEAN_PHASE_TARGETS := $(addprefix clean-, $(CLEAN_PHASES))
 752 CLEAN_MODULE_TARGETS := $(addprefix clean-, $(ALL_MODULES))


< prev index next >