xref: /freebsd/cddl/lib/libzfs/Makefile (revision 1f4bcc459a76b7aa664f3fd557684cd0ba6da352)
1# $FreeBSD$
2
3.PATH: ${.CURDIR}/../../../cddl/compat/opensolaris/misc
4.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
5.PATH: ${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
6.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common
7
8LIB=	zfs
9LIBADD=	md pthread umem util uutil m avl bsdxml geom nvpair z zfs_core
10SRCS=	deviceid.c \
11	fsshare.c \
12	mkdirp.c \
13	mnttab.c \
14	thread_pool.c \
15	zmount.c \
16	zone.c
17
18SRCS+=	libzfs_changelist.c \
19	libzfs_compat.c \
20	libzfs_config.c \
21	libzfs_dataset.c \
22	libzfs_diff.c \
23	libzfs_import.c \
24	libzfs_iter.c \
25	libzfs_mount.c \
26	libzfs_pool.c \
27	libzfs_sendrecv.c \
28	libzfs_status.c \
29	libzfs_util.c \
30	zfeature_common.c \
31	zfs_comutil.c \
32	zfs_deleg.c \
33	zfs_fletcher.c \
34	zfs_namecheck.c \
35	zfs_prop.c \
36	zpool_prop.c \
37	zprop_common.c \
38
39WARNS?=	0
40CSTD=	c99
41CFLAGS+= -DZFS_NO_ACL
42CFLAGS+= -I${.CURDIR}/../../../sbin/mount
43CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem
44CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
45CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include
46CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
47CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
48CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
49CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
50CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys
51CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head
52CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
53CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair
54CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common
55CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common
56CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs_core/common
57
58.include <bsd.lib.mk>
59