mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-27 03:11:52 +01:00
a71ea7bea0
It is useful to have zfs utilities and lib in a separate package as it allow users to create image that can support ZFS (i.e. not with WITHOUT_ZFS in src.conf set) without bloating the default image with all zfs tools (for example for jails). Differential Revision: https://reviews.freebsd.org/D36225
27 lines
589 B
Makefile
27 lines
589 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${SRCTOP}/sys/contrib/openzfs/lib/libuutil
|
|
|
|
PACKAGE= zfs
|
|
LIB= uutil
|
|
SRCS=\
|
|
uu_alloc.c \
|
|
uu_avl.c \
|
|
uu_ident.c \
|
|
uu_list.c \
|
|
uu_misc.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>
|