2 # When performing an ABI check the following options are applied:
4 # --no-unreferenced-symbols: Exclude symbols which are not referenced by
5 # any debug information. Without this _init() and _fini() are incorrectly
6 # reported on CentOS7 for libuutil.so.
8 # --headers-dir1: Limit ABI checks to public OpenZFS headers, otherwise
9 # changes in public system headers are also reported.
11 # --suppressions: Honor a suppressions file for each library to provide
12 # a mechanism for suppressing harmless warnings.
15 PHONY += checkabi storeabi
18 for lib in $(lib_LTLIBRARIES) ; do \
19 abidiff --no-unreferenced-symbols \
20 --headers-dir1 ../../include \
21 --suppressions $${lib%.la}.suppr \
22 $${lib%.la}.abi .libs/$${lib%.la}.so ; \
27 for lib in $(lib_LTLIBRARIES) ; do \
28 abidw --no-show-locs \
31 --type-id-style hash \
32 $${lib%.la}.so > ../$${lib%.la}.abi ; \