< prev index next >
test/hotspot/jtreg/testlibrary/jittester/Makefile
Print this page
rev 53171 : 8158646: [jittester] generated tests may not compile by javac
Reviewed-by: duke
@@ -81,13 +81,13 @@
$(TESTLIBRARY_SRC_DIR)/process/StreamPumper.java \
$(TESTLIBRARY_SRC_DIR)/util/Pair.java
.PHONY: cleantmp
-all: JAR
+all: $(DIST_JAR)
-JAR: INIT COMPILE manifest
+$(DIST_JAR): INIT COMPILE manifest
$(JAR) cfm $(DIST_JAR) $(MANIFEST) -C $(CLASSES_DIR) .
manifest:
@echo 'Manifest-Version: 1.0' > $(MANIFEST)
@echo 'X-COMMENT: Main-Class will be added automatically by build' >> $(MANIFEST)
@@ -105,11 +105,11 @@
@echo $(EXTRA_SRC_FILES) >> $@
INIT: $(DIST_DIR)
$(shell if [ ! -d $(CLASSES_DIR) ]; then mkdir -p $(CLASSES_DIR); fi)
-install: clean_testbase testgroup testroot copytestlibrary copyaot JAR cleantmp
+install: clean_testbase testgroup testroot copytestlibrary copyaot $(DIST_JAR) cleantmp
$(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)
clean_testbase:
@rm -rf $(TESTBASE_DIR)
< prev index next >