xref: /freebsd/cddl/lib/libzfs/Makefile (revision 8fc257994d0ce2396196d7a06d50d20c8015f4b7)
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
9DPADD=	${LIBUTIL}
10LDADD=	-lutil
11
12SRCS=	deviceid.c \
13	fsshare.c \
14	mkdirp.c \
15	mnttab.c \
16	zmount.c \
17	zone.c
18
19SRCS+=	zfs_deleg.c \
20	zfs_namecheck.c \
21	zfs_prop.c \
22	zpool_prop.c \
23	zprop_common.c \
24	libzfs_dataset.c \
25	libzfs_util.c \
26	libzfs_graph.c \
27	libzfs_mount.c \
28	libzfs_pool.c \
29	libzfs_changelist.c \
30	libzfs_config.c \
31	libzfs_import.c \
32	libzfs_sendrecv.c \
33	libzfs_status.c
34
35WARNS?=	0
36CFLAGS+= -DZFS_NO_ACL
37CFLAGS+= -I${.CURDIR}/../../../sbin/mount
38CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem
39CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
40CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include
41CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
42CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
43CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
44CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
45CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys
46CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head
47CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
48CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair
49CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common
50CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common
51
52.include <bsd.lib.mk>
53