diff options
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 120c6d8..2a8698b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -52,5 +52,14 @@ abi-check: abi-compliance-checker -abi -lib libtasn1 -old "$(srcdir)/devel/ABI-$$(uname -m).dump" -new $(TMPFILE) @rm -f $(TMPFILE) +abi-dump: + @mkdir -p devel/headers-tmp + @cp lib/libtasn1.h devel/headers-tmp + @abi-dumper lib/.libs/libtasn1.so -o "./devel/ABI-$$(uname -m).dump" -public-headers devel/headers-tmp + @rm -rf devel/headers-tmp + + dist-hook: abi-check make -C doc/ compare-makefile + +.PHONY: abi-dump abi-check |