1.include <src.opts.mk> 2 3PACKAGE= tests 4 5TESTSDIR=${TESTSBASE}/sys/cddl/zfs/include 6 7STFSUITEDIR=${TESTSBASE}/sys/cddl/zfs 8 9MAN= 10FILESDIR= ${TESTSBASE}/sys/cddl/zfs/include 11${PACKAGE}FILES+= constants.cfg 12${PACKAGE}FILES+= libremote.kshlib 13${PACKAGE}FILES+= libgnop.kshlib 14${PACKAGE}FILES+= logapi.kshlib 15${PACKAGE}FILES+= libtest.kshlib 16${PACKAGE}FILES+= stf.shlib 17${PACKAGE}FILES+= testenv.kshlib 18 19${PACKAGE}FILES+= commands.cfg 20CLEANFILES+= commands.cfg 21commands.cfg: translatecommands.awk commands.txt 22 awk -v stfsuitedir=${STFSUITEDIR} -f ${.ALLSRC} > ${.TARGET} 23 24${PACKAGE}FILES+= default.cfg 25CLEANFILES+= default.cfg 26default.cfg: default.cfg.in 27 sed "s:%%STFSUITEDIR%%:${STFSUITEDIR}:" ${.ALLSRC} > ${.TARGET} 28 29ATF_TESTS_KSH93+= libtest_test 30.include <bsd.test.mk> 31