NetBSD/regress/lib/libc/md5sha/Makefile

18 lines
428 B
Makefile

# $NetBSD: Makefile,v 1.1 2000/08/19 17:51:19 sommerfeld Exp $
PROG= test
SRCS= test.c
MKMAN= no
WARNS= 1
LDSTATIC= -static
# MD5 tests from RFC1321
# SHA1 tests from FIPS-180-1
regress:
./test -r < ${.CURDIR}/md5test-in | diff - ${.CURDIR}/md5test-out
./test -rs < ${.CURDIR}/sha1test-in | diff - ${.CURDIR}/sha1test-out
jot -s "" -b "a" -n 1000000 | ./test -rs | diff - ${.CURDIR}/sha1test2-out
.include <bsd.prog.mk>