test/hotspot/jtreg/testlibrary/jittester/Makefile
changeset 53493 376f0e4e6fba
parent 49638 5af65ee8b77e
equal deleted inserted replaced
53492:df10c5cd5171 53493:376f0e4e6fba
    81                         $(TESTLIBRARY_SRC_DIR)/process/StreamPumper.java \
    81                         $(TESTLIBRARY_SRC_DIR)/process/StreamPumper.java \
    82                         $(TESTLIBRARY_SRC_DIR)/util/Pair.java
    82                         $(TESTLIBRARY_SRC_DIR)/util/Pair.java
    83 
    83 
    84 .PHONY: cleantmp
    84 .PHONY: cleantmp
    85 
    85 
    86 all: JAR
    86 all: $(DIST_JAR)
    87 
    87 
    88 JAR: INIT COMPILE manifest
    88 $(DIST_JAR): INIT COMPILE manifest
    89 	$(JAR) cfm $(DIST_JAR) $(MANIFEST) -C $(CLASSES_DIR) .
    89 	$(JAR) cfm $(DIST_JAR) $(MANIFEST) -C $(CLASSES_DIR) .
    90 
    90 
    91 manifest:
    91 manifest:
    92 	@echo 'Manifest-Version: 1.0' > $(MANIFEST)
    92 	@echo 'Manifest-Version: 1.0' > $(MANIFEST)
    93 	@echo 'X-COMMENT: Main-Class will be added automatically by build' >> $(MANIFEST)
    93 	@echo 'X-COMMENT: Main-Class will be added automatically by build' >> $(MANIFEST)
   105 		@echo $(EXTRA_SRC_FILES) >> $@
   105 		@echo $(EXTRA_SRC_FILES) >> $@
   106 
   106 
   107 INIT: $(DIST_DIR)
   107 INIT: $(DIST_DIR)
   108 	$(shell if [ ! -d $(CLASSES_DIR) ]; then mkdir -p $(CLASSES_DIR); fi)
   108 	$(shell if [ ! -d $(CLASSES_DIR) ]; then mkdir -p $(CLASSES_DIR); fi)
   109 
   109 
   110 install: clean_testbase testgroup testroot copytestlibrary copyaot JAR cleantmp
   110 install: clean_testbase testgroup testroot copytestlibrary copyaot $(DIST_JAR) cleantmp
   111 	$(JAVA) --add-exports=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED -ea -jar $(DIST_JAR) $(APPLICATION_ARGS)
   111 	$(JAVA) --add-exports=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED -ea -jar $(DIST_JAR) $(APPLICATION_ARGS)
   112 
   112 
   113 clean_testbase:
   113 clean_testbase:
   114 	@rm -rf $(TESTBASE_DIR)
   114 	@rm -rf $(TESTBASE_DIR)
   115 
   115