]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - config/Abigail.am
Silence -Winfinite-recursion warning in luaD_throw()
[FreeBSD/FreeBSD.git] / config / Abigail.am
1 #
2 # When performing an ABI check the following options are applied:
3 #
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.
7 #
8 # --headers-dir1: Limit ABI checks to public OpenZFS headers, otherwise
9 # changes in public system headers are also reported.
10 #
11 # --suppressions: Honor a suppressions file for each library to provide
12 # a mechanism for suppressing harmless warnings.
13 #
14
15 PHONY += checkabi storeabi
16
17 checkabi:
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 ; \
23         done
24
25 storeabi:
26         cd .libs ; \
27         for lib in $(lib_LTLIBRARIES) ; do \
28                 abidw --no-show-locs \
29                 --no-corpus-path \
30                 --no-comp-dir-path \
31                 --type-id-style hash \
32                 $${lib%.la}.so > ../$${lib%.la}.abi ; \
33         done