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