aboutsummaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorjestin2003-01-07 17:13:08 +0000
committerjestin2003-01-07 17:13:08 +0000
commit603599544c1720e796dc622c98e5ca0fd22b8e17 (patch)
treee21a0ab232c10726461e387881a7a8448ecca2ca /examples/Makefile
parent781512114b4c304f3c72af251e4f416767afe20a (diff)
downloadivy-java-603599544c1720e796dc622c98e5ca0fd22b8e17.zip
ivy-java-603599544c1720e796dc622c98e5ca0fd22b8e17.tar.gz
ivy-java-603599544c1720e796dc622c98e5ca0fd22b8e17.tar.bz2
ivy-java-603599544c1720e796dc622c98e5ca0fd22b8e17.tar.xz
Adaptés à une plus vieille JDK
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile51
1 files changed, 42 insertions, 9 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 844cab7..d4326ad 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,19 +1,52 @@
-# Be sure to set this before compiling ...
-JIKESPATH = /usr/local/j2sdk1.4.1/jre/lib/rt.jar:../lib/ivy-java.jar:/usr/share/java/repository:nanoxml-2.2.1.jar:.
-JAVACOPTS = -deprecation
.SUFFIXES: .java .class
SRCS = TestIvy.java TestIvySwing.java Counter.java ivyTranslater.java Translate.java TranslateXML.java
OBJS = $(SRCS:.java=.class)
- JAVAC = jikes -classpath $(JIKESPATH) -d .
- #JAVAC = javac
+#
+# Be sure to choose on of them before compiling ...
+
+#######################################
+# jikes setup on my box
+#######################################
+# RTPATH = /usr/lib/j2re1.3/lib/rt.jar
+# RTPATH = /usr/local/j2sdk1.4.1/jre/lib/rt.jar
+#JIKESPATH = ${RTPATH}:/usr/share/java/gnu.getopt.jar:/usr/share/java/repository
+#JAVACOPTS = -d . -deprecation
+# JAVAC = jikes -classpath $(JIKESPATH)
+
+#######################################
+# generic setup
+#######################################
+# JAVAC = javac
+#JAVACOPTS = -d . -deprecation
+#CLASSPATH =
+
+#######################################
+# blackdown jdk118 setup
+#######################################
+# JAVAC = /usr/local/jdk118_v3/bin/javac
+#CLASSPATH = -classpath .:/usr/local/jdk118_v3/lib/classes.zip:/home/jestin/java/Jars/swingall.jar
+#JAVACOPTS = -d .
+
+######################################
+# local Blackdown linux 1.2.2
+######################################
+#CLASSPATH = -classpath .
+#JAVACOPTS = -deprecation -d .
+# 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
.java.class:
- $(JAVAC) $<
+ $(JAVAC) $(JAVACOPTS) $(CLASSPATH) $<
all: $(OBJS)
clean:
/bin/rm -f -- $(OBJS) *~ *.bak *.class
-
-path:
- @echo "setenv CLASSPATH $(JIKESPATH)"