summaryrefslogtreecommitdiffstats
path: root/cddl/lib/Makefile
blob: 9a6b7c8f0dc147a4cde58c3f16a519456051f2f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $FreeBSD$

.include <bsd.own.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_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || \
	${MACHINE_CPUARCH} == "mips" || ${MACHINE_CPUARCH} == "powerpc"
_drti=		drti
_libdtrace=	libdtrace
.endif

SUBDIR_DEPEND_libdtrace=	libctf
SUBDIR_DEPEND_libzfs=	libavl libnvpair libumem libuutil libzfs_core

SUBDIR_PARALLEL=

.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud