summaryrefslogtreecommitdiff
path: root/telepathy-logger/abi.am
blob: ca1bcb7d1eda3b6b7ae4682c3384f0bf64b1fc13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# To be included by Makefile.am.

# The quoting here is unnecessary but harmless, and has the useful side-effect
# that vim quickfix mode (:make) doesn't interpret the libtool --mode=link
# command as an error message in a bizarrely named file
libtelepathy_logger_la_LDFLAGS = \
    -version-info "$(TPL_LT_CURRENT)":"$(TPL_LT_REVISION)":"$(TPL_LT_AGE)"

_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 > $@

# vim:ft=automake: