1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE=zfs 6PROG= bectl 7MAN= bectl.8 8 9SRCS= bectl.c bectl_jail.c bectl_list.c 10 11LIBADD+= be \ 12 jail \ 13 nvpair \ 14 spl \ 15 util \ 16 zfsbootenv 17 18CFLAGS+= -DIN_BASE 19CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 20CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 21CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 22CFLAGS+= -I${SRCTOP}/sys 23CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 24CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 25CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 26CFLAGS+= -DHAVE_ISSETUGID 27CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 28 29HAS_TESTS= yes 30SUBDIR.${MK_TESTS}+= tests 31 32.include <bsd.prog.mk> 33