-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile.in
64 lines (55 loc) · 2.23 KB
/
Makefile.in
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
all:
cd vm && ${MAKE} ${MFLAGS}
ifeq (${wildcard lib/Stdlib.cvl}, )
@echo "===> lib/Stdlib.cvl does not exist: compiling minimal library"
cd lib && ${MAKE} ${MFLAGS} minimal
cd compiler && ${MAKE} ${MFLAGS} minimal
@echo "===> compiling rest of library"
cd lib && ${MAKE} ${MFLAGS}
cd compiler && ${MAKE} ${MFLAGS}
else
cd lib && ${MAKE} ${MFLAGS}
cd compiler && ${MAKE} ${MFLAGS}
endif
cd docs && ${MAKE} ${MFLAGS}
install: all
cd vm && ${MAKE} ${MFLAGS} install
cd lib && ${MAKE} ${MFLAGS} install
cd compiler && ${MAKE} ${MFLAGS} install
cd examples && ${MAKE} ${MFLAGS} install
cd docs && ${MAKE} ${MFLAGS} install
clean:
cd bootstrap && ${MAKE} ${MFLAGS} clean
cd vm && ${MAKE} ${MFLAGS} clean
cd lib && ${MAKE} ${MFLAGS} clean
cd compiler && ${MAKE} ${MFLAGS} clean
cd examples && ${MAKE} ${MFLAGS} clean
cd docs && ${MAKE} ${MFLAGS} clean
cd tests && ${MAKE} ${MFLAGS} clean
ifdef CON_TARGET
cross: all
cd lib && ${MAKE} ${MFLAGS} cross
cd compiler && ${MAKE} ${MFLAGS} cross
cross-clean:
cd lib && ${MAKE} ${MFLAGS} cross-clean
cd compiler && ${MAKE} ${MFLAGS} cross-clean
endif
distclean:
cd bootstrap && ${MAKE} ${MFLAGS} distclean
cd vm && ${MAKE} ${MFLAGS} distclean
cd lib && ${MAKE} ${MFLAGS} distclean
cd compiler && ${MAKE} ${MFLAGS} distclean
cd examples && ${MAKE} ${MFLAGS} distclean
cd docs && ${MAKE} ${MFLAGS} distclean
cd tests && ${MAKE} ${MFLAGS} distclean
rm -rf Makefile Makefile.inc
regress: all
cd examples && ${MAKE} ${MFLAGS} regress
cd tests && ${MAKE} ${MFLAGS} regress
release: distclean
mkdir converge-@CONVERGE_VERSION@
find . -type d | grep -v "\.git" | grep -v "^\.$$" | sed "s/^\..//" | grep -v "converge-@CONVERGE_VERSION@" | xargs -I {} mkdir -p converge-@CONVERGE_VERSION@/{}
find . \! -type d | grep -v "\.git" | sed "s/^\..//" | grep -v "^autom4te.cache" | grep -v "config\..*" | grep -v "\.binaries" | grep -v "\.gitignore" | grep -v "\.core$$" | grep -v ".depend$$" | grep -v "converge-@CONVERGE_VERSION@" | xargs -I {} cp -r {} converge-@CONVERGE_VERSION@/{}
tar cfz converge-@[email protected] converge-@CONVERGE_VERSION@
@echo "\nMake sure that this distribution has the correct version and date!\n @CONVERGE_VERSION@ (@CONVERGE_DATE@)"
include @abs_top_srcdir@/Makefile.inc