aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
blob: 16eb13957f12920b9324a4a05b6c624d67372b79 (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
#  JAVAJAR = /usr/lib/j2re1.3/lib/rt.jar
#CLASSPATH = -classpath $(JAVAJAR)
JAVACOPTS = -d . -deprecation $(CLASSPATH)
     SRCS = *.java
      JAR = ../lib/Ivy.jar 
      VER = 1.0.5
     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:
	fastjar cvfm $(DIST) manifest fr src debian redhat doc Makefile manifest TODO

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