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