xref: /freebsd/cddl/lib/libzfs_core/Makefile (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
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_core/common
7.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common
8
9LIB=	zfs_core
10DPADD=	${LIBNVPAIR}
11LDADD=	-lnvpair
12
13SRCS=	libzfs_core.c \
14	libzfs_core_compat.c \
15	zfs_ioctl_compat.c
16
17SRCS+=	libzfs_compat.c
18
19WARNS?=	0
20CSTD=	c99
21CFLAGS+= -DZFS_NO_ACL
22CFLAGS+= -I${.CURDIR}/../../../sbin/mount
23CFLAGS+= -I${.CURDIR}/../../../cddl/lib/libumem
24CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
25CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include
26CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
27CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
28CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/common/zfs
29CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
30CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common/sys
31CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/head
32CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
33CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libnvpair
34CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common
35CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs_core/common
36CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzfs/common
37
38.include <bsd.lib.mk>
39