Mercurial > pub > dyncall > dyncall
annotate Makefile.generic @ 606:85b7a117b807
- more statics in test code (this is partly needed on an experimental freebsd sparc64 build where the elf cleanup code crashes for some reason ... it's probably that experimental build, but a good change to do regardless)
author | Tassilo Philipp |
---|---|
date | Wed, 21 Sep 2022 15:20:58 +0200 |
parents | d1fa4b5a41f7 |
children |
rev | line source |
---|---|
0 | 1 .PHONY: all clean install tests docs run-tests clean distclean libdyncall libdyncallback libdynload |
2 all: libdyncall libdyncallback libdynload | |
3 install: all install-libdyncall install-libdyncallback install-libdynload | |
4 libdyncall: | |
5 cd dyncall && ${MAKE} all | |
6 libdyncallback: | |
7 cd dyncallback && ${MAKE} all | |
8 libdynload: | |
9 cd dynload && ${MAKE} all | |
10 install-libdyncall: libdyncall | |
11 cd dyncall && ${MAKE} install | |
12 install-libdyncallback: libdyncallback | |
13 cd dyncallback && ${MAKE} install | |
14 install-libdynload: libdynload | |
15 cd dynload && ${MAKE} install | |
16 clean: | |
17 cd dyncall && ${MAKE} $@ | |
18 cd dynload && ${MAKE} $@ | |
19 cd dyncallback && ${MAKE} $@ | |
20 cd test && ${MAKE} $@ | |
21 cd doc && ${MAKE} $@ | |
22 tests: tests-libdyncall tests-libdyncallback tests-libdynload | |
23 tests-libdyncall: libdyncall | |
24 cd test && ${MAKE} all-dyncall | |
25 tests-libdyncallback: libdyncallback | |
26 cd test && ${MAKE} all-dyncallback | |
27 tests-libdynload: libdynload | |
28 cd test && ${MAKE} all-dynload | |
29 docs: | |
30 cd doc && ${MAKE} all | |
31 run-tests: all | |
32 cd test && ${MAKE} $@ | |
33 distclean: clean | |
34 rm -f Makefile.config | |
35 find . -type f -name "Makefile.generic" | sed s/\.generic$$// | xargs rm | |
133
089df1eee6d0
- added debug help 'show-compiler-predefs' target to Makefile.generic
cslag
parents:
0
diff
changeset
|
36 show-compiler-predefs: |
089df1eee6d0
- added debug help 'show-compiler-predefs' target to Makefile.generic
cslag
parents:
0
diff
changeset
|
37 ${CC} ${CFLAGS} -dM -E - < /dev/null |
380
76b75fd84c72
makefile helper target to quickly list toolchain versions of current platform
Tassilo Philipp
parents:
133
diff
changeset
|
38 show-tool-versions: |
76b75fd84c72
makefile helper target to quickly list toolchain versions of current platform
Tassilo Philipp
parents:
133
diff
changeset
|
39 ${CC} -v |
565
d1fa4b5a41f7
- Makefile show-tool-versions target: use more portable -V flag for version number output (works with lld & gnu ld, required for solaris ld)
Tassilo Philipp
parents:
380
diff
changeset
|
40 ${LD} -V |
380
76b75fd84c72
makefile helper target to quickly list toolchain versions of current platform
Tassilo Philipp
parents:
133
diff
changeset
|
41 ${MAKE} -v 2>/dev/null || echo ${MAKE} ${MAKE_VERSION} |
0 | 42 |