2018-07-24 09:17:40 -04:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
2019-04-25 16:48:25 -04:00
|
|
|
SHLIBDIR?= /lib
|
|
|
|
|
|
2019-04-22 09:45:08 -04:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
|
2018-07-24 09:17:40 -04:00
|
|
|
LIB= be
|
|
|
|
|
SHLIB_MAJOR= 1
|
|
|
|
|
SHLIB_MINOR= 0
|
2018-07-24 11:42:23 -04:00
|
|
|
|
2018-07-24 09:17:40 -04:00
|
|
|
SRCS= be.c be_access.c be_error.c be_info.c
|
|
|
|
|
INCS= be.h
|
|
|
|
|
MAN= libbe.3
|
|
|
|
|
|
2018-08-11 18:45:39 -04:00
|
|
|
WARNS?= 2
|
2018-08-17 23:20:59 -04:00
|
|
|
IGNORE_PRAGMA= yes
|
2018-08-11 18:45:39 -04:00
|
|
|
|
2018-07-24 09:17:40 -04: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 09:45:08 -04:00
|
|
|
HAS_TESTS= YES
|
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
|
|
2018-07-24 09:17:40 -04:00
|
|
|
.include <bsd.lib.mk>
|