aboutsummaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile45
1 files changed, 38 insertions, 7 deletions
diff --git a/tests/Makefile b/tests/Makefile
index c34121b..bb2a8db 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,21 +1,52 @@
-#RTPATH=/usr/lib/j2re1.3/lib/rt.jar
-RTPATH=/usr/lib/j2sdk1.4-bd/jre/lib/rt.jar
-JIKESPATH=:$(RTPATH):../lib/ivy-java.jar:/usr/share/java/repository
-CLASSPATH=-classpath ../lib/ivy-java.jar:.
-JAVAC= jikes -classpath $(JIKESPATH)
.SUFFIXES: .java .class
-SRC = TestNetSwing.java TestNet.java Bug.java BugTok.java BenchLocal.java ProbeBench.java DieSender.java TestApi.java
+SRC = TestNet.java Bug.java BugTok.java BenchLocal.java ProbeBench.java DieSender.java TestApi.java
OBJ = $(SRC:.java=.class)
+
#JAVAOPTS = -DIVY_PING
+# DONOTBUILD = TestNetSwing.java # Color(r,g,b,a) doesn't exist in jdk1.1
+
+######################################
+# Local installation
+######################################
+CLASSPATH=-classpath .
+JAVACOPTS= -deprecation
JAVAOPTS =
+JAVAC= javac
JAVA = java
+######################################
+# local Blackdown linux 118_v3 system
+######################################
+#CLASSPATH = -classpath .:/usr/local/jdk118_v3/lib/classes.zip:/home/jestin/java/Jars/swingall.jar
+#JAVACOPTS =
+#JAVAOPTS =
+#JAVA = /usr/local/jdk118_v3/bin/java
+#JAVAC = /usr/local/jdk118_v3/bin/javac
+
+######################################
+# local Blackdown linux 1.2.2
+######################################
+#CLASSPATH = -classpath .
+#JAVACOPTS = -deprecation
+#JAVAOPTS =
+#JAVA = /usr/local/jdk1.2.2/bin/java
+#JAVAC = /usr/local/jdk1.2.2/bin/javac
+
+######################################
+# local Blackdown linux 1.3.1
+######################################
+#CLASSPATH = -classpath .
+#JAVACOPTS = -deprecation
+#JAVAOPTS =
+#JAVA = /usr/local/j2sdk1.3.1/bin/java
+#JAVAC = /usr/local/j2sdk1.3.1/bin/javac
#LOCALNET=10.0.0.255:3456
+
LOCALNET=10.192.36.255:3456
MULTICAST=228.1.2.3:4567
.java.class:
- $(JAVAC) $<
+ $(JAVAC) $(JAVACOPTS) $(CLASSPATH) $<
all: $(OBJ) api unitaires test1 test2 probe