From 8ac668362979935de61f80593eddaa24690283b9 Mon Sep 17 00:00:00 2001 From: Balint Reczey Date: Tue, 31 May 2011 12:07:25 +0000 Subject: Add dumpabi target to Makefiles in wsutil, epan and wiretap directories. We can use the dumped ABI description for comparing ABI changes between revisions. svn path=/trunk/; revision=37474 --- wiretap/Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'wiretap/Makefile.am') diff --git a/wiretap/Makefile.am b/wiretap/Makefile.am index 2f46c65fec..7642c5f0c4 100644 --- a/wiretap/Makefile.am +++ b/wiretap/Makefile.am @@ -86,6 +86,16 @@ ascend.c ascend.h: ascend.y fi $(YACC) -d -p ascend -o ascend.c $(srcdir)/ascend.y +# 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: ## 'abort' checking disabled for now pending resolution of existing use of g_assert & g_error ## $(PERL) ../tools/checkAPIs.pl -g abort -g termoutput $(NONGENERATED_C_FILES) $(GENERATOR_FILES) -- cgit v1.2.3