mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
Reviewed by: brooks Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D53791
32 lines
678 B
Makefile
32 lines
678 B
Makefile
.include <src.opts.mk>
|
|
|
|
PACKAGE=zfs
|
|
PROG= bectl
|
|
MAN= bectl.8
|
|
|
|
SRCS= bectl.c bectl_jail.c bectl_list.c
|
|
|
|
LIBADD+= be \
|
|
jail \
|
|
nvpair \
|
|
spl \
|
|
util \
|
|
zfsbootenv \
|
|
pthread
|
|
|
|
CFLAGS+= -DIN_BASE
|
|
CFLAGS+= -I${ZFSTOP}/include
|
|
CFLAGS+= -I${ZFSTOP}/lib/libspl/include/
|
|
CFLAGS+= -I${ZFSTOP}/lib/libspl/include/os/freebsd
|
|
CFLAGS+= -I${SRCTOP}/sys
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
CFLAGS+= -I${ZFSTOP}/module/icp/include
|
|
CFLAGS+= -include ${ZFSTOP}/include/os/freebsd/spl/sys/ccompile.h
|
|
CFLAGS+= -DHAVE_ISSETUGID -DHAVE_STRLCAT -DHAVE_STRLCPY
|
|
CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h
|
|
|
|
HAS_TESTS= yes
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|