aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 13c21cf3437546eb3bc34663e96bda9e43a03529 (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
38
39
40
41
# Be sure to set this before compiling ...
      VER = 1.2.6
     DIST = lib/ivy-java-$(VER).jar 
     DOCS = doc/html/api
      #JAR = fastjar
      JAR = jar
     #dist = woody/
     dist = 

all: class examples

examples:
	( cd examples; make; )

class:
	( cd src; make; )
	grep -H TODO src/*java

docs:
	( cd doc; make; )
	( cd src; make docs ; )

#dist: class docs 
dist: class 
	ln -sf src/fr .
	ln -sf bundle/gnu .
	ln -sf bundle/org .
	$(JAR) cvfm $(DIST) manifest fr/dgac/ivy/*.class gnu org src/Makefile src/*.java examples/*txt examples/*xml examples/*java examples/Makefile doc/html/api/fr/dgac/ivy/*html doc/html/api/*html doc/html/api/*css README COPYING.LIB doc/ivy-java.pdf doc/ivy-java
	rm -f fr gnu org

jar: class
	ln -sf src/fr .
	ln -sf bundle/${dist}gnu .
	ln -sf bundle/${dist}org .
	$(JAR) cvfm lib/ivy-java.jar manifest fr/dgac/ivy/*.class src/Makefile src/*.java README COPYING.LIB Changelog BUGS gnu org examples/*.java
	rm -f fr gnu org
	
clean:
	( cd src; make clean ;)
	( cd tests; make clean ; )
	( cd examples; make clean; )