aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 611049a6558a3c8ac0028c9be71418235ebce5a5 (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
#  JAVAJAR = /usr/lib/j2re1.3/lib/rt.jar
#CLASSPATH = -classpath $(JAVAJAR)
JAVACOPTS = -d . -deprecation $(CLASSPATH)
     SRCS = *.java
      JAR = ../lib/Ivy.jar 
      VER = 1.0.8
     DIST = ../lib/ivy-java-$(VER).jar 
    JAVAC = jikes
#    JAVAC = javac
     DOCS = ../doc/html/api

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

all:
	$(JAVAC) $(JAVACOPTS) $(SRCS)

clean:
	/bin/rm -f -- *class *~ *.bak $(JAR)
	ctags $(SRCS)

jar:
	fastjar cvfm $(JAR) ../manifest fr 
	
dist:
	cd ..
	fastjar cvfm $(DIST) ../manifest fr src debian redhat doc Makefile manifest TODO

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