b2d48be1bc
netbsd-tests.test.mk (r289151) - Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
36 lines
614 B
Makefile
36 lines
614 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
NETBSD_ATF_TESTS_C=
|
|
|
|
.if ${MK_OPENSSL} != "no"
|
|
NETBSD_ATF_TESTS_C+= sha2_test
|
|
.endif
|
|
|
|
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${SRCTOP}/crypto/openssh/openbsd-compat
|
|
CFLAGS.sha2_test+= -I${SRCTOP}/crypto/openssh
|
|
|
|
.include "../Makefile.netbsd-tests"
|
|
|
|
.include <bsd.test.mk>
|