packages java-vecmath1.2-1.14-makefile_unix.patch
      Pages: < 1 >  DOWNLOAD      
--- Makefile.unix	1999-11-25 11:56:12.000000000 +0100
+++ Makefile.unix-gil	2010-12-04 00:30:33.000000000 +0100
@@ -1,6 +1,6 @@
 CLASSDIR = classes
 PCDIR = pc
-CLASSPATH = $(CLASSDIR):/usr/local/jdk1.2beta4/jre/lib/rt.jar
+CLASSPATH = $(CLASSDIR):/usr/lib/jvm/jre-sun/lib/rt.jar
 VERSION = 1.2-1.14
 ROOT = vecmath$(VERSION)
 
@@ -57,12 +57,12 @@
 
 build:
 	export CLASSPATH; CLASSPATH=$(CLASSPATH):.; \
-	javac -deprecation -g -d $(CLASSDIR) $(JAVA_SOURCEFILES)
+	/usr/lib/jvm/jdk-sun/bin/javac -deprecation -g -d $(CLASSDIR) $(JAVA_SOURCEFILES)
 	
 
 $(CLASSDIR)/%.class: %.java
 	export CLASSPATH; CLASSPATH=$(CLASSPATH):.; \
-	javac -deprecation -g -d $(CLASSDIR) $<
+	/usr/lib/jvm/jdk-sun/bin/javac -deprecation -g -d $(CLASSDIR) $<
 
 $(PCDIR)/%.java: %.java
 	sed 's/$/\015/' $< > $@
@@ -76,19 +76,19 @@
 		mkdir -p docs; \
 	fi
 	export CLASSPATH; CLASSPATH=$(CLASSPATH):.; \
-	javadoc -d docs javax.vecmath
+	/usr/lib/jvm/jdk-sun/bin/javadoc -d docs javax.vecmath
 
 test:
 	export CLASSPATH; CLASSPATH=$(CLASSPATH):.; \
-	java -Djava.compiler=NONE javax.vecmath.VecmathTest
+	/usr/lib/jvm/jdk-sun/bin/java -Djava.compiler=NONE javax.vecmath.VecmathTest
 
 test2:
-	export CLASSPATH; CLASSPATH=/home/hiranabe/vecmath.jar:$(CLASSPATH):.; \
-	java javax.vecmath.VecmathTest
+	export CLASSPATH; CLASSPATH=vecmath*.jar:$(CLASSPATH):.; \
+	/usr/lib/jvm/jdk-sun/bin/java javax.vecmath.VecmathTest
 
 debug:
 	export CLASSPATH; CLASSPATH=$(CLASSPATH):.; \
-	jdb javax.vecmath.VecmathTest
+	/usr/lib/jvm/jdk-sun/bin/jdb javax.vecmath.VecmathTest
 
 
 pc: $(PCFILES)