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