b78ee15e9f
Reviewed by: andrew, emaste Sponsored by: ARM Limited Differential Revision: https://reviews.freebsd.org/D2738
44 lines
833 B
Makefile
44 lines
833 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR= ${_drti} \
|
|
libavl \
|
|
libctf \
|
|
${_libdtrace} \
|
|
libnvpair \
|
|
libumem \
|
|
libuutil \
|
|
${_libzfs_core} \
|
|
${_libzfs} \
|
|
${_libzpool} \
|
|
${_tests}
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
_tests= tests
|
|
.endif
|
|
|
|
.if ${MK_ZFS} != "no"
|
|
_libzfs_core= libzfs_core
|
|
_libzfs= libzfs
|
|
.if ${MK_LIBTHR} != "no"
|
|
_libzpool= libzpool
|
|
.endif
|
|
.endif
|
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_ARCH} == "amd64" || \
|
|
${MACHINE_CPUARCH} == "arm" || ${MACHINE_ARCH} == "i386" || \
|
|
${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc"
|
|
_drti= drti
|
|
_libdtrace= libdtrace
|
|
.endif
|
|
|
|
SUBDIR_DEPEND_libdtrace= libctf
|
|
SUBDIR_DEPEND_libzfs_core= libnvpair
|
|
SUBDIR_DEPEND_libzfs= libavl libnvpair libumem libuutil libzfs_core
|
|
SUBDIR_DEPEND_libzpool= libavl libnvpair libumem
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|