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