< prev index next >

make/Main.gmk

Print this page




 218         @$(call GetSourceTips)
 219 
 220 BOOTCYCLE_TARGET := product-images
 221 bootcycle-images:
 222         @$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
 223         +$(MAKE) $(MAKE_ARGS) -f $(SRC_ROOT)/make/Main.gmk \
 224             SPEC=$(dir $(SPEC))bootcycle-spec.gmk $(BOOTCYCLE_TARGET)
 225 
 226 zip-security:
 227         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f ZipSecurity.gmk)
 228 
 229 zip-source:
 230         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f ZipSource.gmk)
 231 
 232 strip-binaries:
 233         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f StripBinaries.gmk)
 234 
 235 jrtfs-jar:
 236         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f JrtfsJar.gmk)
 237 



 238 jimages:
 239         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk jimages)
 240 
 241 profiles:
 242         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk profiles)
 243 
 244 mac-bundles:
 245         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk)
 246 
 247 ALL_TARGETS += source-tips bootcycle-images zip-security zip-source strip-binaries \
 248     jrtfs-jar jimages profiles mac-bundles
 249 
 250 ################################################################################
 251 # Docs targets
 252 
 253 docs-javadoc:
 254         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
 255 
 256 docs-jvmtidoc:
 257         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk jvmtidocs)
 258 
 259 ALL_TARGETS += docs-javadoc docs-jvmtidoc
 260 
 261 ################################################################################
 262 # Build tests
 263 #
 264 
 265 prepare-test-image:
 266         $(MKDIR) -p $(TEST_IMAGE_DIR)
 267         $(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image'
 268 


 406   jdk.jdi-gensrc-jdk: import-hotspot
 407 
 408   # The swing beans need to have java base properly generated to avoid errors
 409   # in javadoc.
 410   java.desktop-gensrc-jdk: java.base-gensrc
 411 
 412   # Explicitly add dependencies for special targets
 413   java.base-java: unpack-sec
 414 
 415   jdk.dev-gendata: java rmic
 416 
 417   zip-security: java.base-java java.security.jgss-java java.security.jgss-libs \
 418       $(filter jdk.crypto%, $(JAVA_TARGETS))
 419 
 420   zip-source: gensrc rmic
 421 
 422   strip-binaries: libs launchers gendata copy
 423 
 424   jrtfs-jar: buildtools-jdk
 425 


 426   jimages: exploded-image zip-source strip-binaries source-tips demos samples \
 427       jrtfs-jar
 428 
 429   profiles: exploded-image strip-binaries source-tips
 430 
 431   mac-bundles: jimages
 432 
 433   bootcycle-images: jimages
 434 
 435   docs-javadoc: gensrc rmic
 436 
 437   docs-jvmtidoc: hotspot
 438 
 439   test: jimages test-image
 440 
 441   verify-modules: exploded-image
 442 
 443   test-make: clean-test-make
 444 
 445   build-test-hotspot-jtreg-native: buildtools-jdk


 473 launchers: $(LAUNCHER_TARGETS)
 474 
 475 # Explicitly declare dependency for virtual target jdk.jdwp.agent-gensrc which
 476 # is actually handled by jdk.jdi-gensrc
 477 jdk.jdwp.agent-gensrc: jdk.jdi-gensrc
 478 
 479 # Declare dependencies from <module> to all the individual targets specific
 480 # to that module <module>-*.
 481 $(foreach m, $(GENSRC_MODULES), $(eval $m: $m-gensrc))
 482 $(foreach m, $(JAVA_MODULES), $(eval $m: $m-java))
 483 $(foreach m, $(GENDATA_MODULES), $(eval $m: $m-gendata))
 484 $(foreach m, $(RMIC_MODULES), $(eval $m: $m-rmic))
 485 $(foreach m, $(LIBS_MODULES), $(eval $m: $m-libs))
 486 $(foreach m, $(LAUNCHER_MODULES), $(eval $m: $m-launchers))
 487 $(foreach m, $(COPY_MODULES), $(eval $m: $m-copy))
 488 
 489 ALL_MODULE_TARGETS := $(sort $(GENSRC_MODULES) $(JAVA_MODULES) \
 490     $(GENDATA_MODULES) $(LIBS_MODULES) $(LAUNCHER_MODULES) $(COPY_MODULES))
 491 
 492 # The "exploded image" is a locally runnable JDK in $(BUILD_OUTPUT)/jdk.
 493 exploded-image: $(ALL_MODULE_TARGETS)
 494 
 495 # The $(BUILD_OUTPUT)/images directory contain the resulting deliverables,
 496 # and in line with this, our targets for creating these are named *-image[s].
 497 
 498 # This target builds the product images, e.g. the JRE and JDK image
 499 # (and possibly other, more specific versions)
 500 product-images: jimages demos samples zip-security verify-modules
 501 
 502 ifeq ($(OPENJDK_TARGET_OS), macosx)
 503   product-images: mac-bundles
 504 endif
 505 
 506 # This target builds the documentation image
 507 docs-image: docs-javadoc docs-jvmtidoc
 508 
 509 # This target builds the test image
 510 test-image: prepare-test-image test-image-hotspot-jtreg-native \
 511     test-image-jdk-jtreg-native
 512 
 513 # all-images is the top-most target, it builds all our deliverables ("images").




 218         @$(call GetSourceTips)
 219 
 220 BOOTCYCLE_TARGET := product-images
 221 bootcycle-images:
 222         @$(ECHO) Boot cycle build step 2: Building a new JDK image using previously built image
 223         +$(MAKE) $(MAKE_ARGS) -f $(SRC_ROOT)/make/Main.gmk \
 224             SPEC=$(dir $(SPEC))bootcycle-spec.gmk $(BOOTCYCLE_TARGET)
 225 
 226 zip-security:
 227         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f ZipSecurity.gmk)
 228 
 229 zip-source:
 230         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f ZipSource.gmk)
 231 
 232 strip-binaries:
 233         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f StripBinaries.gmk)
 234 
 235 jrtfs-jar:
 236         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f JrtfsJar.gmk)
 237 
 238 ctsym:
 239         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Ctsym.gmk)
 240 
 241 jimages:
 242         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk jimages)
 243 
 244 profiles:
 245         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Images.gmk profiles)
 246 
 247 mac-bundles:
 248         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f MacBundles.gmk)
 249 
 250 ALL_TARGETS += source-tips bootcycle-images zip-security zip-source strip-binaries \
 251     jrtfs-jar ctsym jimages profiles mac-bundles
 252 
 253 ################################################################################
 254 # Docs targets
 255 
 256 docs-javadoc:
 257         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk docs)
 258 
 259 docs-jvmtidoc:
 260         +($(CD) $(SRC_ROOT)/make && $(MAKE) $(MAKE_ARGS) -f Javadoc.gmk jvmtidocs)
 261 
 262 ALL_TARGETS += docs-javadoc docs-jvmtidoc
 263 
 264 ################################################################################
 265 # Build tests
 266 #
 267 
 268 prepare-test-image:
 269         $(MKDIR) -p $(TEST_IMAGE_DIR)
 270         $(ECHO) > $(TEST_IMAGE_DIR)/Readme.txt 'JDK test image'
 271 


 409   jdk.jdi-gensrc-jdk: import-hotspot
 410 
 411   # The swing beans need to have java base properly generated to avoid errors
 412   # in javadoc.
 413   java.desktop-gensrc-jdk: java.base-gensrc
 414 
 415   # Explicitly add dependencies for special targets
 416   java.base-java: unpack-sec
 417 
 418   jdk.dev-gendata: java rmic
 419 
 420   zip-security: java.base-java java.security.jgss-java java.security.jgss-libs \
 421       $(filter jdk.crypto%, $(JAVA_TARGETS))
 422 
 423   zip-source: gensrc rmic
 424 
 425   strip-binaries: libs launchers gendata copy
 426 
 427   jrtfs-jar: buildtools-jdk
 428 
 429   ctsym: interim-langtools
 430 
 431   jimages: exploded-image zip-source strip-binaries source-tips demos samples \
 432       jrtfs-jar
 433 
 434   profiles: exploded-image strip-binaries source-tips
 435 
 436   mac-bundles: jimages
 437 
 438   bootcycle-images: jimages
 439 
 440   docs-javadoc: gensrc rmic
 441 
 442   docs-jvmtidoc: hotspot
 443 
 444   test: jimages test-image
 445 
 446   verify-modules: exploded-image
 447 
 448   test-make: clean-test-make
 449 
 450   build-test-hotspot-jtreg-native: buildtools-jdk


 478 launchers: $(LAUNCHER_TARGETS)
 479 
 480 # Explicitly declare dependency for virtual target jdk.jdwp.agent-gensrc which
 481 # is actually handled by jdk.jdi-gensrc
 482 jdk.jdwp.agent-gensrc: jdk.jdi-gensrc
 483 
 484 # Declare dependencies from <module> to all the individual targets specific
 485 # to that module <module>-*.
 486 $(foreach m, $(GENSRC_MODULES), $(eval $m: $m-gensrc))
 487 $(foreach m, $(JAVA_MODULES), $(eval $m: $m-java))
 488 $(foreach m, $(GENDATA_MODULES), $(eval $m: $m-gendata))
 489 $(foreach m, $(RMIC_MODULES), $(eval $m: $m-rmic))
 490 $(foreach m, $(LIBS_MODULES), $(eval $m: $m-libs))
 491 $(foreach m, $(LAUNCHER_MODULES), $(eval $m: $m-launchers))
 492 $(foreach m, $(COPY_MODULES), $(eval $m: $m-copy))
 493 
 494 ALL_MODULE_TARGETS := $(sort $(GENSRC_MODULES) $(JAVA_MODULES) \
 495     $(GENDATA_MODULES) $(LIBS_MODULES) $(LAUNCHER_MODULES) $(COPY_MODULES))
 496 
 497 # The "exploded image" is a locally runnable JDK in $(BUILD_OUTPUT)/jdk.
 498 exploded-image: $(ALL_MODULE_TARGETS) ctsym
 499 
 500 # The $(BUILD_OUTPUT)/images directory contain the resulting deliverables,
 501 # and in line with this, our targets for creating these are named *-image[s].
 502 
 503 # This target builds the product images, e.g. the JRE and JDK image
 504 # (and possibly other, more specific versions)
 505 product-images: jimages demos samples zip-security verify-modules
 506 
 507 ifeq ($(OPENJDK_TARGET_OS), macosx)
 508   product-images: mac-bundles
 509 endif
 510 
 511 # This target builds the documentation image
 512 docs-image: docs-javadoc docs-jvmtidoc
 513 
 514 # This target builds the test image
 515 test-image: prepare-test-image test-image-hotspot-jtreg-native \
 516     test-image-jdk-jtreg-native
 517 
 518 # all-images is the top-most target, it builds all our deliverables ("images").


< prev index next >