367
368 build-test-hotspot-jtreg-native:
369 +($(CD) $(HOTSPOT_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
370 build-test-hotspot-jtreg-native)
371
372 test-image-hotspot-jtreg-native:
373 +($(CD) $(HOTSPOT_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
374 test-image-hotspot-jtreg-native)
375
376 build-test-jdk-jtreg-native:
377 +($(CD) $(JDK_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
378 build-test-jdk-jtreg-native)
379
380 test-image-jdk-jtreg-native:
381 +($(CD) $(JDK_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
382 test-image-jdk-jtreg-native)
383
384 build-test-lib:
385 +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f BuildTestLib.gmk)
386
387 ALL_TARGETS += prepare-test-image build-test-hotspot-jtreg-native \
388 test-image-hotspot-jtreg-native build-test-jdk-jtreg-native \
389 test-image-jdk-jtreg-native build-test-lib
390
391 ################################################################################
392 # Run tests
393
394 # Run tests specified by $(TEST), or the default test set.
395 test:
396 $(call RunTests, $(TEST))
397
398 test-hotspot-jtreg:
399 $(call RunTests, "hotspot_all")
400
401 test-hotspot-jtreg-native:
402 $(call RunTests, "hotspot_native_sanity")
403
404 test-hotspot-internal:
405 $(call RunTests, "hotspot_internal")
406
407 test-jdk-jtreg-native:
408 $(call RunTests, "jdk_native_sanity")
409
564 profiles: jmods zip-source source-tips jrtfs-jar
565
566 mac-bundles-jdk: jimages
567
568 bootcycle-images: jimages
569
570 docs-javadoc: $(GENSRC_TARGETS) rmic
571
572 docs-jvmtidoc: hotspot
573
574 test: jimages test-image
575
576 create-buildjdk-copy: jdk.jlink-java java.base-gendata
577
578 create-buildjdk-compile-modules: create-buildjdk-copy create-buildjdk-compile-hotspot
579
580 test-make: clean-test-make
581
582 build-test-lib: java
583
584 build-test-hotspot-jtreg-native: buildtools-jdk
585
586 build-test-jdk-jtreg-native: buildtools-jdk
587
588 test-image-hotspot-jtreg-native: build-test-hotspot-jtreg-native
589
590 test-image-jdk-jtreg-native: build-test-jdk-jtreg-native
591
592 test-hotspot-internal: exploded-image
593
594 test-hotspot-jtreg: jimages test-image
595
596 install: product-images
597
598 generate-summary: jmods
599
600 endif
601
602 ################################################################################
603 # Virtual targets without recipes
653
654 # This target builds the product images, e.g. the JRE and JDK image
655 # (and possibly other, more specific versions)
656 product-images: jimages demos samples zip-security exploded-image
657
658 # When cross compiling and building a partial BUILDJDK for the build host,
659 # the summary generation cannot be run.
660 ifneq ($(CREATE_BUILDJDK), true)
661 product-images: generate-summary
662 endif
663
664 ifeq ($(OPENJDK_TARGET_OS), macosx)
665 product-images: mac-bundles
666 endif
667
668 # This target builds the documentation image
669 docs-image: docs-javadoc docs-jvmtidoc
670
671 # This target builds the test image
672 test-image: prepare-test-image test-image-hotspot-jtreg-native \
673 test-image-jdk-jtreg-native
674
675 # all-images is the top-most target, it builds all our deliverables ("images").
676 all-images: product-images test-image docs-image
677
678 ALL_TARGETS += buildtools gensrc gendata copy java rmic libs launchers jmods \
679 jdk.jdwp.agent-gensrc $(ALL_MODULES) demos samples exploded-image \
680 create-buildjdk mac-bundles product-images docs-image test-image all-images
681
682 ################################################################################
683
684 # Traditional targets typically run by users.
685 # These can be considered aliases for the targets now named by a more
686 # "modern" naming scheme.
687 default: $(DEFAULT_MAKE_TARGET)
688 jdk: exploded-image
689 images: product-images
690 docs: docs-image
691 all: all-images
692
693 ALL_TARGETS += default jdk images docs all
|
367
368 build-test-hotspot-jtreg-native:
369 +($(CD) $(HOTSPOT_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
370 build-test-hotspot-jtreg-native)
371
372 test-image-hotspot-jtreg-native:
373 +($(CD) $(HOTSPOT_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
374 test-image-hotspot-jtreg-native)
375
376 build-test-jdk-jtreg-native:
377 +($(CD) $(JDK_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
378 build-test-jdk-jtreg-native)
379
380 test-image-jdk-jtreg-native:
381 +($(CD) $(JDK_TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f JtregNative.gmk \
382 test-image-jdk-jtreg-native)
383
384 build-test-lib:
385 +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) -f BuildTestLib.gmk)
386
387 build-test-failure-handler:
388 +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
389 -f BuildFailureHandler.gmk build)
390
391 test-failure-handler:
392 +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
393 -f BuildFailureHandler.gmk test)
394
395 test-image-failure-handler:
396 +($(CD) $(TOPDIR)/make/test && $(MAKE) $(MAKE_ARGS) \
397 -f BuildFailureHandler.gmk images)
398
399 ALL_TARGETS += prepare-test-image build-test-hotspot-jtreg-native \
400 test-image-hotspot-jtreg-native build-test-jdk-jtreg-native \
401 test-image-jdk-jtreg-native build-test-lib build-test-failure-handler \
402 test-failure-handler test-image-failure-handler
403
404 ################################################################################
405 # Run tests
406
407 # Run tests specified by $(TEST), or the default test set.
408 test:
409 $(call RunTests, $(TEST))
410
411 test-hotspot-jtreg:
412 $(call RunTests, "hotspot_all")
413
414 test-hotspot-jtreg-native:
415 $(call RunTests, "hotspot_native_sanity")
416
417 test-hotspot-internal:
418 $(call RunTests, "hotspot_internal")
419
420 test-jdk-jtreg-native:
421 $(call RunTests, "jdk_native_sanity")
422
577 profiles: jmods zip-source source-tips jrtfs-jar
578
579 mac-bundles-jdk: jimages
580
581 bootcycle-images: jimages
582
583 docs-javadoc: $(GENSRC_TARGETS) rmic
584
585 docs-jvmtidoc: hotspot
586
587 test: jimages test-image
588
589 create-buildjdk-copy: jdk.jlink-java java.base-gendata
590
591 create-buildjdk-compile-modules: create-buildjdk-copy create-buildjdk-compile-hotspot
592
593 test-make: clean-test-make
594
595 build-test-lib: java
596
597 build-test-failure-handler: interim-langtools
598
599 test-failure-handler: build-test-failure-handler
600
601 test-image-failure-handler: build-test-failure-handler
602
603 build-test-hotspot-jtreg-native: buildtools-jdk
604
605 build-test-jdk-jtreg-native: buildtools-jdk
606
607 test-image-hotspot-jtreg-native: build-test-hotspot-jtreg-native
608
609 test-image-jdk-jtreg-native: build-test-jdk-jtreg-native
610
611 test-hotspot-internal: exploded-image
612
613 test-hotspot-jtreg: jimages test-image
614
615 install: product-images
616
617 generate-summary: jmods
618
619 endif
620
621 ################################################################################
622 # Virtual targets without recipes
672
673 # This target builds the product images, e.g. the JRE and JDK image
674 # (and possibly other, more specific versions)
675 product-images: jimages demos samples zip-security exploded-image
676
677 # When cross compiling and building a partial BUILDJDK for the build host,
678 # the summary generation cannot be run.
679 ifneq ($(CREATE_BUILDJDK), true)
680 product-images: generate-summary
681 endif
682
683 ifeq ($(OPENJDK_TARGET_OS), macosx)
684 product-images: mac-bundles
685 endif
686
687 # This target builds the documentation image
688 docs-image: docs-javadoc docs-jvmtidoc
689
690 # This target builds the test image
691 test-image: prepare-test-image test-image-hotspot-jtreg-native \
692 test-image-jdk-jtreg-native test-image-failure-handler
693
694 # all-images is the top-most target, it builds all our deliverables ("images").
695 all-images: product-images test-image docs-image
696
697 ALL_TARGETS += buildtools gensrc gendata copy java rmic libs launchers jmods \
698 jdk.jdwp.agent-gensrc $(ALL_MODULES) demos samples exploded-image \
699 create-buildjdk mac-bundles product-images docs-image test-image all-images
700
701 ################################################################################
702
703 # Traditional targets typically run by users.
704 # These can be considered aliases for the targets now named by a more
705 # "modern" naming scheme.
706 default: $(DEFAULT_MAKE_TARGET)
707 jdk: exploded-image
708 images: product-images
709 docs: docs-image
710 all: all-images
711
712 ALL_TARGETS += default jdk images docs all
|