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