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