summaryrefslogtreecommitdiffstats
path: root/cddl/lib/Makefile
blob: 9371865ca428ec2aef83f1af46548f1ada7aaa87 (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
41
# $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} != "sparc64"
_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>
OpenPOWER on IntegriCloud