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