aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: f6bf9dd55b2c9d6dd9a749ca8b15ced8a0820f67 (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
# Be sure to set this before compiling ...
JIKESPATH = /usr/lib/j2re1.3/lib/rt.jar:/usr/share/java/repository
JAVACOPTS = -d . -deprecation
.SUFFIXES: .java .class
     SRCS = *.java
     OBJS = $(SRCS:.java=.class)
      JAR = ../lib/Ivy.jar 
      VER = 1.0.11
     DIST = ../lib/ivy-java-$(VER).jar 
    JAVAC = jikes
    #JAVAC = javac
     DOCS = ../doc/html/api

.java.class:
	$(JAVAC) $<

ivy-java:
	$(JAVAC) $(JAVACOPTS) $(SRCS)

all:	$(OBJS)

clean:
	/bin/rm -f -- $(OBJS) *~ *.bak $(JAR)

dist:
	cd ..
	fastjar cvfm $(DIST) ../manifest fr gnu

docs:
	rm -fR $(DOCS)/*html
	rm -fR $(DOCS)/*css
	rm -fR $(DOCS)/fr
	javadoc -d $(DOCS) $(SRCS)
	rm $(DOCS)/package-list