aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/tests/hash/Makefile
blob: 188ba7f1400edf507f2d8357b925b94bfad7b263 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $FreeBSD$

.include <src.opts.mk>

PACKAGE=	tests
FILESGROUPS=	TESTS
TESTSPACKAGE=	${PACKAGE}

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

LIBADD+=		md
LIBADD.sha2_test+=	crypto

CFLAGS.sha2_test+=	-I${SRCTOP}/crypto/openssh/openbsd-compat
CFLAGS.sha2_test+=	-I${SRCTOP}/crypto/openssh

.include "../Makefile.netbsd-tests"

.include <bsd.test.mk>