blob: 1d89856414941c03cbcb1a2dc28e007ec64cf1c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
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 PingCallback.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
|