diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-04 15:45:56 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-06-04 16:11:30 +0200 |
commit | 39b2a530955c54793374608d301595550c17eac1 (patch) | |
tree | 6dc7cfd7ca2f614f3746912562e6c16a0ef6df9e | |
parent | 17815482d382c1a8fe7c9976b0272de9c6c57551 (diff) | |
download | telepathy-logger-39b2a530955c54793374608d301595550c17eac1.tar.gz |
add magic to generate list of the ABI
Copied from tp-glib.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | telepathy-logger/Makefile.am | 2 | ||||
-rw-r--r-- | telepathy-logger/abi.am | 6 |
3 files changed, 9 insertions, 0 deletions
@@ -71,6 +71,7 @@ Makefile.in /telepathy-logger/telepathy-logger-uninstalled.pc /telepathy-logger/telepathy-logger.pc +/telepathy-logger/_gen/* /tests/test-*[^ch] /tests/twisted/config.py diff --git a/telepathy-logger/Makefile.am b/telepathy-logger/Makefile.am index 26a52b5..34079d0 100644 --- a/telepathy-logger/Makefile.am +++ b/telepathy-logger/Makefile.am @@ -73,3 +73,5 @@ include $(top_srcdir)/tools/check-coding-style.mk check-local: check-coding-style CLEANFILES = $(BUILT_SOURCES) + +include abi.am diff --git a/telepathy-logger/abi.am b/telepathy-logger/abi.am new file mode 100644 index 0000000..7a7e65f --- /dev/null +++ b/telepathy-logger/abi.am @@ -0,0 +1,6 @@ +_gen/abi.txt: libtelepathy-logger.la abi.am + $(NM) .libs/libtelepathy-logger.a > _gen/abi.nm + grep " [DT] " < _gen/abi.nm > _gen/abi.funcs + cut -d" " -f3 < _gen/abi.funcs > _gen/abi.funcnames + grep "^tpl" < _gen/abi.funcnames > _gen/abi.tpfuncnames + $(AM_V_GEN)sort -u < _gen/abi.tpfuncnames > $@ |