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