GNUPATH=/usr/share/java/repository:/usr/share/java/gnu-regexp-1.1.3.jar #GNUPATH=/usr/share/java/repository:/usr/share/java/gnu.getopt.0.9.jar:/usr/share/java/gnu-regexp-1.1.3.jar #GNUPATH=${HOME}/JavaFactory ####################################### # generic setup ####################################### # JAVAC = javac #JAVACOPTS = -d . -deprecation #CLASSPATH = -classpath .:$(GNUPATH) ####################################### # gcj setup ####################################### # JAVAC = gcj #JAVACOPTS = -d . -deprecation #CLASSPATH = -classpath .:$(GNUPATH) ####################################### # jikes setup on my box ####################################### RTPATH = /usr/lib/j2se/1.4/jre/lib/rt.jar JAVACOPTS = -d . -deprecation JAVAC = jikes CLASSPATH = -classpath .:$(RTPATH):$(GNUPATH) ####################################### # 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:$(GNUPATH) #JAVACOPTS = -d . ###################################### # local Blackdown linux 1.2.2 ###################################### #CLASSPATH = -classpath .:$(GNUPATH) #JAVACOPTS = -deprecation -d . # JAVAC = /usr/local/jdk1.2.2/bin/javac ###################################### # local Blackdown linux 1.3.1 ###################################### #CLASSPATH = -classpath .:$(GNUPATH) #JAVACOPTS = -deprecation -d . # JAVAC = /usr/local/j2sdk1.3.1/bin/javac .SUFFIXES: .java .class SRCS = *.java OBJS = $(SRCS:.java=.class) DOCS = ../doc/html/api .java.class: $(JAVAC) $(JAVACOPTS) $(CLASSPATH) $< ivy-java: $(JAVAC) $(JAVACOPTS) $(CLASSPATH) $(SRCS) all: $(OBJS) clean: /bin/rm -f -- $(OBJS) *~ *.bak $(JAR) fr/dgac/ivy/*.class docs: rm -fR $(DOCS)/*html rm -fR $(DOCS)/*css rm -fR $(DOCS)/fr/dgac/ivy/*html javadoc $(CLASSPATH) -d $(DOCS) $(SRCS) rm $(DOCS)/package-list