changeset 24:b79687c336c3

Build it
author Gary Benson <gbenson@redhat.com>
date Thu, 10 Feb 2011 13:05:20 +0000
parents 65113b586fa5
children 3dfb856768da
files Makefile
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Feb 10 12:59:40 2011 +0000
+++ b/Makefile	Thu Feb 10 13:05:20 2011 +0000
@@ -1,5 +1,6 @@
-JAVADIR = $(PWD)/icedtea6-1.7.1/openjdk/build/linux-amd64/j2sdk-image
+JAVADIR = $(shell cd ..; pwd)/olmec/build/linux-amd64/j2sdk-image
 BOOTDIR = bootstrap
+JUNITJAR = /usr/share/java/junit4.jar
 
 TARGETS = product debug productzero debugzero productshark debugshark
 
@@ -24,4 +25,7 @@
 	  diff -ru {~/work/icedtea6/ports/,}hotspot/src/$$i; \
 	done > patch.patch || true
 
+test/java/dyn/MethodHandlesTest.class: test/java/dyn/MethodHandlesTest.java
+	$(JAVADIR)/bin/javac -cp $(JUNITJAR) $<
+
 .PHONY: default $(TARGETS) build clean patch