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