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 ${_libzpool} \ 19 ${_libzutil} 20 21SUBDIR.${MK_TESTS}+= tests 22 23.if ${MK_ZFS} != "no" 24_libzfs_core= libzfs_core 25_libicp= libicp 26_libicp_rescue= libicp_rescue 27_libzfs= libzfs 28_libzutil= libzutil 29.if ${MK_LIBTHR} != "no" 30_libzpool= libzpool 31_libtpool= libtpool 32.endif 33.endif 34 35SUBDIR_DEPEND_libctf= libspl 36SUBDIR_DEPEND_libdtrace= libctf 37SUBDIR_DEPEND_libtpool= libspl 38SUBDIR_DEPEND_libuutil= libavl libspl 39SUBDIR_DEPEND_libzfs_core= libnvpair 40SUBDIR_DEPEND_libzfs= libavl libnvpair libumem libuutil libzfs_core libzutil 41SUBDIR_DEPEND_libzpool= libavl libnvpair libumem libicp 42SUBDIR_DEPEND_libzutil= libavl libtpool 43 44SUBDIR_PARALLEL= 45 46.include <bsd.subdir.mk> 47