xref: /freebsd/cddl/lib/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.include <src.opts.mk>
2
3.if ${MK_DTRACE} == yes || ${MK_ZFS} == yes
4SUBDIR=	libspl
5.endif
6
7SUBDIR.${MK_DTRACE}+= \
8	drti \
9	libctf \
10	libdtrace
11
12SUBDIR.${MK_TESTS}+= tests
13
14SUBDIR.${MK_ZFS}+= \
15	libavl \
16	libicp \
17	libicp_rescue \
18	libnvpair \
19	libtpool \
20	libumem \
21	libuutil \
22	libzdb \
23	libzfs \
24	libzfs_core \
25	libzfsbootenv \
26	libzpool \
27	libzutil
28
29SUBDIR.${MK_ZFS}.${MK_OPENSSL} = pam_zfs_key
30
31SUBDIR_DEPEND_libavl=		libspl
32SUBDIR_DEPEND_libctf=		libspl
33SUBDIR_DEPEND_libdtrace=	libctf
34SUBDIR_DEPEND_libnvpair=	libspl
35SUBDIR_DEPEND_libtpool=		libspl
36SUBDIR_DEPEND_libuutil=		libavl libspl
37SUBDIR_DEPEND_libzfs_core=	libnvpair libspl libzutil
38SUBDIR_DEPEND_libzfs=	libavl libnvpair libumem libuutil libzfs_core libzutil
39SUBDIR_DEPEND_libzpool=	libavl libnvpair libumem libicp
40SUBDIR_DEPEND_libzutil=	libavl libtpool
41SUBDIR_DEPEND_libzfsbootenv= libzfs libnvpair
42SUBDIR_DEPEND_pam_zfs_key= libnvpair libuutil libzfs libzfs_core
43
44SUBDIR_PARALLEL=
45
46.include <bsd.subdir.mk>
47