1.include <src.opts.mk> 2 3PACKAGE=zfs 4PROG= bectl 5MAN= bectl.8 6 7SRCS= bectl.c bectl_jail.c bectl_list.c 8 9LIBADD+= be \ 10 jail \ 11 nvpair \ 12 spl \ 13 util \ 14 zfsbootenv 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 -DHAVE_STRLCAT -DHAVE_STRLCPY 25CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 26 27HAS_TESTS= yes 28SUBDIR.${MK_TESTS}+= tests 29 30.include <bsd.prog.mk> 31