1 2PACKAGE= tests 3 4.include <src.opts.mk> 5 6NETBSD_ATF_TESTS_C= 7 8.if ${MK_OPENSSL} != "no" 9# XXX: doesn't compile 10#NETBSD_ATF_TESTS_C+= hmac_test 11NETBSD_ATF_TESTS_C+= sha2_test 12.endif 13 14NETBSD_ATF_TESTS_SH= hash_test 15 16BINDIR= ${TESTSDIR} 17 18PROGS+= h_hash 19 20FILESGROUPS+= ${PACKAGE}DATA_FILES 21${PACKAGE}DATA_FILESPACKAGE= tests 22 23${PACKAGE}DATA_FILESDIR= ${TESTSDIR}/data 24 25${PACKAGE}DATA_FILES+= data/md5test-in 26${PACKAGE}DATA_FILES+= data/md5test-out 27${PACKAGE}DATA_FILES+= data/sha1test-in 28${PACKAGE}DATA_FILES+= data/sha1test-out 29${PACKAGE}DATA_FILES+= data/sha1test2-out 30 31LIBADD+= md 32LIBADD.sha2_test+= crypto 33 34CFLAGS.h_hash+= -I${SRCTOP}/lib/libnetbsd 35 36.include "../Makefile.netbsd-tests" 37 38.include <bsd.test.mk> 39