aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libuutil/Makefile
blob: 169b8d8afe01ef24ebe16cca789147258e39f8e6 (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
# $FreeBSD$

.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libuutil

PACKAGE=	runtime
LIB=	uutil
SRCS=\
	uu_alloc.c \
	uu_avl.c \
	uu_ident.c \
	uu_list.c \
	uu_misc.c \
	uu_pname.c \
	uu_string.c

WARNS?=	2
CFLAGS+= -DIN_BASE
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
CFLAGS+= -I${SRCTOP}/sys
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h

LIBADD= avl spl

.include <bsd.lib.mk>