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