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