1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5SUBDIR= ${_drti} \ 6 libavl \ 7 libctf \ 8 ${_libdtrace} \ 9 libnvpair \ 10 libumem \ 11 libuutil \ 12 ${_libzfs_core} \ 13 ${_libzfs} \ 14 ${_libzpool} \ 15 ${_tests} 16 17.if ${MK_TESTS} != "no" 18_tests= tests 19.endif 20 21.if ${MK_ZFS} != "no" 22_libzfs_core= libzfs_core 23_libzfs= libzfs 24.if ${MK_LIBTHR} != "no" 25_libzpool= libzpool 26.endif 27.endif 28 29.if ${MACHINE_CPUARCH} != "sparc64" && ${MACHINE_CPUARCH} != "riscv" 30_drti= drti 31_libdtrace= libdtrace 32.endif 33 34SUBDIR_DEPEND_libdtrace= libctf 35SUBDIR_DEPEND_libzfs_core= libnvpair 36SUBDIR_DEPEND_libzfs= libavl libnvpair libumem libuutil libzfs_core 37SUBDIR_DEPEND_libzpool= libavl libnvpair libumem 38 39SUBDIR_PARALLEL= 40 41.include <bsd.subdir.mk> 42