1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/cddl/compat/opensolaris/misc 4.PATH: ${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 5.PATH: ${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 6.PATH: ${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common 7.PATH: ${SRCTOP}/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${SRCTOP}/sbin/mount 22CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 23CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 24CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 25CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 26CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 27CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 28CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys 29CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 30CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 31CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair 32CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common 33CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common 34CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 35 36.include <bsd.lib.mk> 37