1# $FreeBSD$ 2 3PACKAGE= lib${LIB} 4LIB= be 5SHLIBDIR?= /lib 6SHLIB_MAJOR= 1 7SHLIB_MINOR= 0 8 9SRCS= be.c be_access.c be_error.c be_info.c 10INCS= be.h 11MAN= libbe.3 12 13WARNS?= 2 14IGNORE_PRAGMA= yes 15 16LIBADD+= zfs 17LIBADD+= nvpair 18 19CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 20CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 21CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 22CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 23CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 24CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 25CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 26CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 27CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 28 29CFLAGS+= -DNEED_SOLARIS_BOOLEAN 30 31.include <bsd.lib.mk> 32