aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile48
1 files changed, 38 insertions, 10 deletions
diff --git a/src/Makefile b/src/Makefile
index caaeb90..b53ba51 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,26 +1,54 @@
-# Be sure to set this before compiling ...
- 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
+#######################################
+# jikes setup on my box
+#######################################
+# RTPATH = /usr/local/j2sdk1.4.1/jre/lib/rt.jar
+#JAVACOPTS = -d . -deprecation
+# JAVAC = jikes
+#CLASSPATH = -classpath .:$(RTPATH)
+
+#######################################
+# generic setup
+#######################################
+ JAVAC = javac
JAVACOPTS = -d . -deprecation
+CLASSPATH = -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 -d .
+# JAVAC = /usr/local/j2sdk1.3.1/bin/javac
+
.SUFFIXES: .java .class
SRCS = *.java
OBJS = $(SRCS:.java=.class)
- #JAVAC = gcj-3.2 -classpath $(JIKESPATH)
- JAVAC = jikes -classpath $(JIKESPATH)
- #JAVAC = javac
DOCS = ../doc/html/api
.java.class:
- $(JAVAC) $<
+ $(JAVAC) $(JAVACOPTS) $(CLASSPATH) $<
ivy-java:
- $(JAVAC) $(JAVACOPTS) $(SRCS)
+ $(JAVAC) $(JAVACOPTS) $(CLASSPATH) $(SRCS)
all: $(OBJS)
clean:
- /bin/rm -f -- $(OBJS) *~ *.bak $(JAR)
+ /bin/rm -f -- $(OBJS) *~ *.bak $(JAR) fr/dgac/ivy/*.class
docs:
rm -fR $(DOCS)/*html