1PACKAGE= tests 2 3ATF_TESTS_SH+= be_create 4 5PROGS= target_prog 6SRCS_target_prog= target_prog.c 7BINDIR_target_prog= ${TESTSDIR} 8 9LIBADD+= zfs \ 10 spl \ 11 nvpair \ 12 be \ 13 14CFLAGS+= -I${SRCTOP}/lib/libbe 15CFLAGS+= -DIN_BASE -DHAVE_RPC_TYPES 16CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 17CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 18CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 19CFLAGS+= -I${SRCTOP}/sys 20CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 21CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 22CFLAGS+= -DHAVE_ISSETUGID 23 24.include <bsd.test.mk> 25