include ../java.mk #.SUFFIXES: .java .class #SRCS = *.java SRCS = IvyApplicationAdapter.java IvyApplicationListener.java IvyBindListener.java IvyClient.java IvyException.java Ivy.java IvyMessageListener.java IvyWatcher.java SelfIvyClient.java WaiterClient.java Waiter.java Closer.java TOOLS= IvyDaemon.java Probe.java After.java OBJS = $(SRCS:.java=.class) DOCS = ../doc/html/api GNUPATH = /usr/share/java/gnu-getopt.jar:/usr/share/java/regexp.jar # debian SID GNUPATH = ../bundle # on my MAC #GNUPATH = /usr/lib/jdk1.1/lib/classes.zip:/usr/share/java/gnu.getopt.jar:/usr/share/java/regexp.jar # debian woody #GNUPATH = ${HOME}/java/Jars/gnu.getopt.jar:${HOME}/java/Jars/regexp.jar # Others #RTPATH = /usr/local/jdk1.5.0/jre/lib/rt.jar # for jikes on my box #RTPATH = /usr/local/jdk118_v3/lib/classes.zip:/home/jestin/java/Jars/swingall.jar # for 1.1.8 on my box CLASSPATH = -classpath .:$(GNUPATH) #ivy-java: # $(JAVAC) $(JAVACOPTS) $(CLASSPATH) $(SRCS) all: $(JAVAC) -d . $(JAVACOPTS) $(CLASSPATH) $(SRCS) $(JAVAC) -d . $(JAVACOPTS) $(CLASSPATH) $(TOOLS) clean: /bin/rm -f -- $(OBJS) *~ *.bak $(JAR) fr/dgac/ivy/*.class fr/dgac/ivy/tools/*.class docs: rm -fR $(DOCS)/*html rm -fR $(DOCS)/*css rm -fR $(DOCS)/fr/dgac/ivy/*html javadoc $(CLASSPATH) -d $(DOCS) $(SRCS) #javadoc -d $(DOCS) $(SRCS) rm -f $(DOCS)/package-list