freebsd-dev/lib/libc/tests/hash/Makefile
Enji Cooper 2f1217877e Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately
500 new testcases

Various TODOs have been sprinkled around the Makefiles for items that even need
to be ported (missing features), testcases have issues with building/linking, or
issues at runtime.

A variant of this code has been tested extensively on amd64 and i386
10-STABLE/11-CURRENT for several months without issue. It builds on other
architectures, but the code will remain off until I have prove it works on
virtual hardware or real hardware on other architectures

In collaboration with: pho, Casey Peel <casey.peel@isilon.com>
Sponsored by: EMC / Isilon Storage Division
2014-11-04 00:56:25 +00:00

32 lines
599 B
Makefile

# $FreeBSD$
TESTSDIR= ${TESTSBASE}/lib/libc/hash
NETBSD_ATF_TESTS_C= sha2_test
NETBSD_ATF_TESTS_SH= hash_test
BINDIR= ${TESTSDIR}
PROGS+= h_hash
FILESDIR= ${TESTSDIR}/data
FILES+= data/md5test-in
FILES+= data/md5test-out
FILES+= data/sha1test-in
FILES+= data/sha1test-out
FILES+= data/sha1test2-out
DPADD+= ${LIBMD}
LDADD+= -lmd
DPADD.sha2_test+= ${LIBCRYPTO}
LDADD.sha2_test+= -lcrypto
CFLAGS.sha2_test+= -I${.CURDIR}/../../../../crypto/openssh/openbsd-compat
CFLAGS.sha2_test+= -I${.CURDIR}/../../../../crypto/openssh
.include "../Makefile.netbsd-tests"
.include <bsd.test.mk>