aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: d5b3b0e925a68774caf00073071e3f07d614b55a (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
42
43
44
# Be sure to set this before compiling ...
      VER = 1.2.9
     DIST = lib/ivy-java-$(VER).jar 
     DOCS = doc/html/api
      #JAR = fastjar	# jar fails with kaffe on woody
      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 ; )

tests:
	( cd tests; ant )

#dist: class docs 
dist: class 
	ln -sf src/fr .
	ln -sf bundle/${dist}gnu .
	ln -sf bundle/${dist}org .
	$(JAR) cvfm $(DIST) manifest fr/dgac/ivy/*.class fr/dgac/ivy/tools/*.class gnu org src/Makefile src/*.java examples/*txt examples/*xml examples/*java examples/Makefile tests/*java tests/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) cfm lib/ivy-java.jar manifest fr/dgac/ivy/*.class fr/dgac/ivy/tools/*.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; )