diff options
author | rbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-31 12:07:25 +0000 |
---|---|---|
committer | rbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-05-31 12:07:25 +0000 |
commit | 7afb49e6ef6db35a2b29697fbca73502562a61b7 (patch) | |
tree | eeed42faf6d7be519fd50b8124aadd9cedddf847 /wsutil | |
parent | 9fcb259befc74929289f5cb035273608026a1459 (diff) |
Add dumpabi target to Makefiles in wsutil, epan and wiretap directories.
We can use the dumped ABI description for comparing ABI changes between revisions.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37474 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wsutil')
-rw-r--r-- | wsutil/Makefile.am | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/wsutil/Makefile.am b/wsutil/Makefile.am index e6f25b8dc8..812cf7da30 100644 --- a/wsutil/Makefile.am +++ b/wsutil/Makefile.am @@ -131,6 +131,16 @@ CLEANFILES = \ MAINTAINERCLEANFILES = \ Makefile.in +# ABI compliance checker can be obtained from +# http://ispras.linux-foundation.org/index.php/ABI_compliance_checker +# Checked using version 1.21.12 +dumpabi: all abi-descriptor.xml + mkdir abi-check-headers; cp *.h abi-check-headers/; \ + abi-compliance-checker -l libwiretap -v1 `ls .libs/libwiretap.so.?.?.?|sed 's/.*\.so\.//'` \ + -relpath $(abs_srcdir) -dump-abi abi-descriptor.xml && \ + cp -f abi_dumps/libwiretap/libwiretap_* .libs/; (cd .libs; ln -sf libwiretap_*.abi.tar.gz libwiretap.abi.tar.gz); \ + rm -r abi-check-headers abi_dumps + checkapi: $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput \ $(LIBWSUTIL_SRC) |