2001-12-12 04:23:59 +03:00
|
|
|
# $NetBSD: Makefile,v 1.2 2001/12/12 01:24:03 tv Exp $
|
2000-08-19 21:51:19 +04:00
|
|
|
|
2001-12-12 04:23:59 +03:00
|
|
|
PROG= test
|
|
|
|
NOMAN= # defined
|
|
|
|
WARNS= 1
|
|
|
|
LDSTATIC= -static
|
2000-08-19 21:51:19 +04:00
|
|
|
|
|
|
|
# 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>
|