1 # NB: GNU Automake Manual, Chapter 8.3.5: Libtool Convenience Libraries
2 # These nine libraries are intermediary build components.
3 SUBDIRS = libavl libicp libshare libspl libtpool libzstd
9 # libnvpair is installed as part of the final build product
10 # libzutil depends on it, so it must be compiled before libzutil
13 # libzutil depends on libefi if present
14 SUBDIRS += libzutil libunicode
16 # These five libraries, which are installed as the final build product,
17 # incorporate the eight convenience libraries given above.
18 DISTLIBS = libuutil libzfs_core libzfs libzpool libzfsbootenv
19 SUBDIRS += $(DISTLIBS)
22 # An ABI is stored for each of these libraries. Note that libzpool.so
23 # is only linked against by ztest and zdb and no stable ABI is provided.
24 ABILIBS = libnvpair libuutil libzfs_core libzfs libzfsbootenv
26 PHONY = checkabi storeabi
28 set -e ; for dir in $(ABILIBS) ; do \
29 $(MAKE) -C $$dir checkabi ; \
33 set -e ; for dir in $(ABILIBS) ; do \
34 $(MAKE) -C $$dir storeabi ; \