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