make/Main.gmk
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File hs_021317 Sdiff make

make/Main.gmk

Print this page




 616   ifneq ($(CREATING_BUILDJDK), true)
 617     $(foreach m, $(filter $(JAVA_MODULES), $(LIBS_MODULES)), $(eval $m-libs: $m-java))
 618   endif
 619 
 620   # Declare dependencies from all other <module>-lib to java.base-lib
 621   $(foreach t, $(filter-out java.base-libs, $(LIBS_TARGETS)), \
 622       $(eval $t: java.base-libs))
 623 
 624   # jdk.accessibility depends on java.desktop
 625   jdk.accessibility-libs: java.desktop-libs
 626 
 627   # This dependency needs to be explicitly declared. jdk.jdi-gensrc generates a
 628   # header file used by jdk.jdwp.agent-libs. The jdk.jdwp.agent-gensrc is a
 629   # virtual target.
 630   jdk.jdwp.agent-libs: jdk.jdwp.agent-gensrc
 631 
 632   # The swing beans need to have java base properly generated to avoid errors
 633   # in javadoc.
 634   java.desktop-gensrc-jdk: java.base-gensrc
 635 
 636   # The annotation processing for jdk.vm.ci and jdk.vm.compiler needs classes
 637   # from the current JDK.
 638   jdk.vm.ci-gensrc-hotspot: $(addsuffix -java, \
 639       $(call FindTransitiveDepsForModule, jdk.vm.ci))
 640   jdk.vm.compiler-gensrc-hotspot: $(addsuffix -java, \
 641       $(call FindTransitiveDepsForModule, jdk.vm.compiler))
 642 
 643   # For jdk.vm.compiler, the gensrc step is generating a module-info.java.extra
 644   # file to be processed by the gensrc-moduleinfo target.
 645   jdk.vm.compiler-gensrc-moduleinfo: jdk.vm.compiler-gensrc-hotspot
 646 
 647   # Explicitly add dependencies for special targets
 648   java.base-java: unpack-sec
 649 
 650   jdk.jdeps-gendata: java rmic
 651 
 652   # Declare dependencies between jmod targets.
 653   # java.base jmod needs jrt-fs.jar and access to the other jmods to be built.
 654   # When creating a BUILDJDK, we don't need to add hashes to java.base, thus
 655   # we don't need to depend on all other jmods
 656   ifneq ($(CREATING_BUILDJDK), true)
 657     java.base-jmod: jrtfs-jar $(filter-out java.base-jmod, $(JMOD_TARGETS))
 658   endif
 659 
 660   # Building java.base-jmod requires all of hotspot to be built.
 661   java.base-jmod: hotspot
 662 
 663   # Declare dependencies from <module>-jmod to all other module targets
 664   # When creating a BUILDJDK, the java compilation has already been done by the
 665   # normal build and copied in.




 616   ifneq ($(CREATING_BUILDJDK), true)
 617     $(foreach m, $(filter $(JAVA_MODULES), $(LIBS_MODULES)), $(eval $m-libs: $m-java))
 618   endif
 619 
 620   # Declare dependencies from all other <module>-lib to java.base-lib
 621   $(foreach t, $(filter-out java.base-libs, $(LIBS_TARGETS)), \
 622       $(eval $t: java.base-libs))
 623 
 624   # jdk.accessibility depends on java.desktop
 625   jdk.accessibility-libs: java.desktop-libs
 626 
 627   # This dependency needs to be explicitly declared. jdk.jdi-gensrc generates a
 628   # header file used by jdk.jdwp.agent-libs. The jdk.jdwp.agent-gensrc is a
 629   # virtual target.
 630   jdk.jdwp.agent-libs: jdk.jdwp.agent-gensrc
 631 
 632   # The swing beans need to have java base properly generated to avoid errors
 633   # in javadoc.
 634   java.desktop-gensrc-jdk: java.base-gensrc
 635 
 636   # The annotation processing for jdk.internal.vm.ci and jdk.internal.vm.compiler
 637   # needs classes from the current JDK.
 638   jdk.internal.vm.ci-gensrc-hotspot: $(addsuffix -java, \
 639       $(call FindTransitiveDepsForModule, jdk.internal.vm.ci))
 640   jdk.internal.vm.compiler-gensrc-hotspot: $(addsuffix -java, \
 641       $(call FindTransitiveDepsForModule, jdk.internal.vm.compiler))
 642 
 643   # For jdk.internal.vm.compiler, the gensrc step is generating a module-info.java.extra
 644   # file to be processed by the gensrc-moduleinfo target.
 645   jdk.internal.vm.compiler-gensrc-moduleinfo: jdk.internal.vm.compiler-gensrc-hotspot
 646 
 647   # Explicitly add dependencies for special targets
 648   java.base-java: unpack-sec
 649 
 650   jdk.jdeps-gendata: java rmic
 651 
 652   # Declare dependencies between jmod targets.
 653   # java.base jmod needs jrt-fs.jar and access to the other jmods to be built.
 654   # When creating a BUILDJDK, we don't need to add hashes to java.base, thus
 655   # we don't need to depend on all other jmods
 656   ifneq ($(CREATING_BUILDJDK), true)
 657     java.base-jmod: jrtfs-jar $(filter-out java.base-jmod, $(JMOD_TARGETS))
 658   endif
 659 
 660   # Building java.base-jmod requires all of hotspot to be built.
 661   java.base-jmod: hotspot
 662 
 663   # Declare dependencies from <module>-jmod to all other module targets
 664   # When creating a BUILDJDK, the java compilation has already been done by the
 665   # normal build and copied in.


make/Main.gmk
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File