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