NetBSD/regress/lib/libc/md5sha/Makefile

17 lines
416 B
Makefile

# $NetBSD: Makefile,v 1.2 2001/12/12 01:24:03 tv Exp $
PROG= test
NOMAN= # defined
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>