1 2.include <src.opts.mk> 3 4.if ${MK_DTRACE} == yes || ${MK_ZFS} == yes 5SUBDIR= libspl 6.endif 7 8SUBDIR.${MK_DTRACE}+= \ 9 drti \ 10 libctf \ 11 libdtrace 12 13SUBDIR.${MK_TESTS}+= tests 14 15SUBDIR.${MK_ZFS}+= \ 16 libavl \ 17 libicp \ 18 libicp_rescue \ 19 libnvpair \ 20 libtpool \ 21 libumem \ 22 libuutil \ 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