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 25DPADD+= ${LIBMD} 26LDADD+= -lmd 27DPADD.sha2_test+= ${LIBCRYPTO} 28LDADD.sha2_test+= -lcrypto 29 30CFLAGS.sha2_test+= -I${SRCTOP}/crypto/openssh/openbsd-compat 31CFLAGS.sha2_test+= -I${SRCTOP}/crypto/openssh 32 33.include "../Makefile.netbsd-tests" 34 35.include <bsd.test.mk> 36