aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libbe/Makefile
blob: c15e7c9ebcf6e91d8ff4e17c0a5268f7bf0f76ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $FreeBSD$

PACKAGE=	lib${LIB}
LIB=		be
SHLIB_MAJOR=	1
SHLIB_MINOR=	0
LIBBE_SRC=	${SRCTOP}/lib/libbe

.PATH:	${LIBBE_SRC}
SRCS=		be.c be_access.c be_error.c be_info.c
INCS=		be.h
MAN=		libbe.3

WARNS?= 1

LIBADD+= zfs
LIBADD+= nvpair

CFLAGS+= -I${LIBBE_SRC}
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common
CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/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
LDFLAGS+= -v

CFLAGS+= -DNEED_SOLARIS_BOOLEAN

.include <bsd.lib.mk>