From 14c34c3d49319a0fea937d54167602c43ff9d93f Mon Sep 17 00:00:00 2001 From: Antonio Russo Date: Sat, 14 Nov 2020 21:35:31 -0700 Subject: Library ABI tracking with abigail Provide two make targets: checkabi and storeabi. storeabi uses libabigail to generate a reference copy of the ABI for the public libraries. checkabi compares such a reference to the compiled version, failing if they are not compatible. No ABI is generated for libzpool.so, it is only used by ztest and zdb and not external consumers. Co-authored-by: Brian Behlendorf Signed-off-by: Antonio Russo Closes #11144 --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 4aaa0ad56..eac1a3e97 100644 --- a/Makefile.am +++ b/Makefile.am @@ -136,6 +136,13 @@ shellcheck: echo "skipping shellcheck because shellcheck is not installed"; \ fi +PHONY += checkabi storeabi +checkabi: lib + $(MAKE) -C lib checkabi + +storeabi: lib + $(MAKE) -C lib storeabi + PHONY += checkbashisms checkbashisms: @if type checkbashisms > /dev/null 2>&1; then \ -- cgit v1.2.3