1 2.include <src.opts.mk> 3 4PACKAGE=zfs 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 zfsbootenv 16 17CFLAGS+= -DIN_BASE 18CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 19CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 20CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 21CFLAGS+= -I${SRCTOP}/sys 22CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 23CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 24CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 25CFLAGS+= -DHAVE_ISSETUGID 26CFLAGS+= -include ${SRCTOP}/sys/modules/zfs/zfs_config.h 27 28HAS_TESTS= yes 29SUBDIR.${MK_TESTS}+= tests 30 31.include <bsd.prog.mk> 32