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