1# $FreeBSD$ 2 3SHLIBDIR?= /lib 4 5.include <src.opts.mk> 6 7LIB= be 8SHLIB_MAJOR= 1 9SHLIB_MINOR= 0 10 11SRCS= be.c be_access.c be_error.c be_info.c 12INCS= be.h 13MAN= libbe.3 14 15WARNS?= 2 16IGNORE_PRAGMA= yes 17 18LIBADD+= zfs 19LIBADD+= nvpair 20 21CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 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 29CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 30 31CFLAGS+= -DNEED_SOLARIS_BOOLEAN 32 33HAS_TESTS= YES 34SUBDIR.${MK_TESTS}+= tests 35 36.include <bsd.lib.mk> 37