2018-07-24 13:17:40 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2019-04-22 13:45:08 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2018-07-24 13:17:40 +00:00
|
|
|
PACKAGE= lib${LIB}
|
|
|
|
LIB= be
|
2019-04-25 20:02:11 +00:00
|
|
|
SHLIBDIR= /lib
|
2018-07-24 13:17:40 +00:00
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
SHLIB_MINOR= 0
|
2018-07-24 15:42:23 +00:00
|
|
|
|
2018-07-24 13:17:40 +00:00
|
|
|
SRCS= be.c be_access.c be_error.c be_info.c
|
|
|
|
INCS= be.h
|
|
|
|
MAN= libbe.3
|
|
|
|
|
2018-08-11 22:45:39 +00:00
|
|
|
WARNS?= 2
|
2018-08-18 03:20:59 +00:00
|
|
|
IGNORE_PRAGMA= yes
|
2018-08-11 22:45:39 +00:00
|
|
|
|
2018-07-24 13:17:40 +00:00
|
|
|
LIBADD+= zfs
|
|
|
|
LIBADD+= nvpair
|
|
|
|
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common
|
|
|
|
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head
|
|
|
|
|
|
|
|
CFLAGS+= -DNEED_SOLARIS_BOOLEAN
|
|
|
|
|
2019-04-22 13:45:08 +00:00
|
|
|
HAS_TESTS= YES
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
|
2018-07-24 13:17:40 +00:00
|
|
|
.include <bsd.lib.mk>
|