aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 692bbe1140b8f6497841a1ae0f1c9134bd2854ee (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
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 Puppet.java ProxyClient.java Ghost.java
     TOOLS= IvyDaemon.java Probe.java After.java ProxyMaster.java 

     OBJS = $(SRCS:.java=.class)
     DOCS = ../doc/html/api


#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