diff options
author | csgr <csgr@FreeBSD.org> | 1994-08-08 17:18:09 +0000 |
---|---|---|
committer | csgr <csgr@FreeBSD.org> | 1994-08-08 17:18:09 +0000 |
commit | 1f373cc480d34aead9138c4bf99e30d342b3c6e0 (patch) | |
tree | 87b8995817fde8bf336036f57205c07bde738871 /secure/lib/libcrypt/test/Makefile | |
download | FreeBSD-src-1f373cc480d34aead9138c4bf99e30d342b3c6e0.zip FreeBSD-src-1f373cc480d34aead9138c4bf99e30d342b3c6e0.tar.gz |
Unecumbered securedist from FreeBSD 1.1.5.1 - sources for libcrypt.
The next commit will remove all symbols except _crypt()
Reviewed by: Geoff Rehmet
Submitted by: David Burren
Diffstat (limited to 'secure/lib/libcrypt/test/Makefile')
-rw-r--r-- | secure/lib/libcrypt/test/Makefile | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/secure/lib/libcrypt/test/Makefile b/secure/lib/libcrypt/test/Makefile new file mode 100644 index 0000000..53b0ec1 --- /dev/null +++ b/secure/lib/libcrypt/test/Makefile @@ -0,0 +1,55 @@ +# +# Hacked Makefile to compile and run the DES-certification program, +# but not install anything. +# +# $Id: Makefile,v 1.1.1.1 1994/04/04 14:57:18 g89r4222 Exp $ +# +LIBCRYPT!=cd $(.CURDIR)/..; \ + printf "xxx:\n\techo \$${.OBJDIR}/libcrypt.a\n" | make -r -s -f - xxx + +#CFLAGS+= -DHAVE_CRYPT16 + +TARGETS=cert speedcrypt speeddes + +all: ${TARGETS} + +test: all testcrypt testencrypt testdes testspeed + +testcrypt: cert + @./cert -c + +testencrypt: cert + @./cert -e < ${.CURDIR}/cert.input + +testdes: cert + @./cert -d < ${.CURDIR}/cert.input + +testspeed: cryptspeed desspeed + +cryptspeed: speedcrypt + @./speedcrypt 30 1 + @./speedcrypt 30 1 + @./speedcrypt 30 0 + @./speedcrypt 30 0 + +desspeed: speeddes + @./speeddes 30 1 + @./speeddes 30 1 + @./speeddes 40 25 + @./speeddes 40 25 + +cert: cert.c ${LIBCRYPT} + $(CC) $(CFLAGS) -o cert ${.CURDIR}/cert.c ${LIBCRYPT} + +speedcrypt: speedcrypt.c ${LIBCRYPT} + $(CC) $(CFLAGS) -o speedcrypt ${.CURDIR}/speedcrypt.c ${LIBCRYPT} + +speeddes: speeddes.c ${LIBCRYPT} + $(CC) $(CFLAGS) -o speeddes ${.CURDIR}/speeddes.c ${LIBCRYPT} + +clean: + rm -f ${TARGETS} + +install: + +.include <bsd.obj.mk> |