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 libzdb \ 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