make/Makefile
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 8134898 Sdiff make

make/Makefile

Print this page




 616 clobber clean: clean_build clean_export clean_jdk
 617 clean_build:
 618         $(RM) -r $(C1_DIR)
 619         $(RM) -r $(C2_DIR)
 620         $(RM) -r $(CORE_DIR)
 621         $(RM) -r $(ZERO_DIR)
 622         $(RM) -r $(SHARK_DIR)
 623         $(RM) -r $(MINIMAL1_DIR)
 624 clean_export:
 625         $(RM) -r $(EXPORT_PATH)
 626 clean_jdk:
 627         $(RM) -r $(JDK_IMAGE_DIR)
 628 
 629 #
 630 # Create JDK and place this build into it
 631 #
 632 create_jdk: copy_jdk update_jdk
 633 
 634 update_jdk: export_product_jdk export_fastdebug_jdk test_jdk
 635 
 636 copy_jdk: $(JDK_IMAGE_DIR)/jre/lib/rt.jar
 637 
 638 $(JDK_IMAGE_DIR)/jre/lib/rt.jar:
 639         $(RM) -r $(JDK_IMAGE_DIR)
 640         $(MKDIR) -p $(JDK_IMAGE_DIR)
 641         ($(CD) $(JDK_IMPORT_PATH) && \
 642          $(TAR) -cf - *) | \
 643          ($(CD) $(JDK_IMAGE_DIR) && $(TAR) -xf -)
 644 
 645 
 646 # Testing the built JVM
 647 RUN_JVM=JAVA_HOME=$(JDK_IMPORT_PATH) $(JDK_IMPORT_PATH)/bin/java -d$(ARCH_DATA_MODEL) -XXaltjvm=$(ALTJVM_DIR) -Dsun.java.launcher.is_altjvm=true
 648 generic_test:
 649         @$(ECHO) "Running with: $(ALTJVM_DIR)"
 650         @$(RUN_JVM) -Xinternalversion
 651         @$(RUN_JVM) -showversion -help
 652 
 653 # C2 test targets
 654 test_product test_optimized test_fastdebug test_debug:
 655         @$(MAKE) generic_test ALTJVM_DIR="$(C2_DIR)/$(@:test_%=%)"
 656 
 657 # C1 test targets
 658 test_product1 test_optimized1 test_fastdebug1 test_debug1:




 616 clobber clean: clean_build clean_export clean_jdk
 617 clean_build:
 618         $(RM) -r $(C1_DIR)
 619         $(RM) -r $(C2_DIR)
 620         $(RM) -r $(CORE_DIR)
 621         $(RM) -r $(ZERO_DIR)
 622         $(RM) -r $(SHARK_DIR)
 623         $(RM) -r $(MINIMAL1_DIR)
 624 clean_export:
 625         $(RM) -r $(EXPORT_PATH)
 626 clean_jdk:
 627         $(RM) -r $(JDK_IMAGE_DIR)
 628 
 629 #
 630 # Create JDK and place this build into it
 631 #
 632 create_jdk: copy_jdk update_jdk
 633 
 634 update_jdk: export_product_jdk export_fastdebug_jdk test_jdk
 635 
 636 copy_jdk: $(JDK_IMAGE_DIR)/bin/java
 637 
 638 $(JDK_IMAGE_DIR)/bin/java:
 639         $(RM) -r $(JDK_IMAGE_DIR)
 640         $(MKDIR) -p $(JDK_IMAGE_DIR)
 641         ($(CD) $(JDK_IMPORT_PATH) && \
 642          $(TAR) -cf - *) | \
 643          ($(CD) $(JDK_IMAGE_DIR) && $(TAR) -xf -)
 644 
 645 
 646 # Testing the built JVM
 647 RUN_JVM=JAVA_HOME=$(JDK_IMPORT_PATH) $(JDK_IMPORT_PATH)/bin/java -d$(ARCH_DATA_MODEL) -XXaltjvm=$(ALTJVM_DIR) -Dsun.java.launcher.is_altjvm=true
 648 generic_test:
 649         @$(ECHO) "Running with: $(ALTJVM_DIR)"
 650         @$(RUN_JVM) -Xinternalversion
 651         @$(RUN_JVM) -showversion -help
 652 
 653 # C2 test targets
 654 test_product test_optimized test_fastdebug test_debug:
 655         @$(MAKE) generic_test ALTJVM_DIR="$(C2_DIR)/$(@:test_%=%)"
 656 
 657 # C1 test targets
 658 test_product1 test_optimized1 test_fastdebug1 test_debug1:


make/Makefile
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File