2 # Hacked Makefile to compile and run the DES-certification program,
3 # but not install anything.
5 # $FreeBSD: src/secure/lib/libcipher/test/Makefile,v 1.5 1999/08/28 01:30:21 peter Exp $
7 LIBCRYPT!=cd $(.CURDIR)/..; \
8 printf "xxx:\n\techo \$${.OBJDIR}/libcipher.a\n" | make -r -s -f - xxx
10 #CFLAGS+= -DHAVE_CRYPT16
13 TARGETS=cert speedcrypt speeddes
17 test: all testcrypt testencrypt testdes testspeed
23 @./cert -e < ${.CURDIR}/cert.input
26 @./cert -d < ${.CURDIR}/cert.input
28 testspeed: cryptspeed desspeed
30 cryptspeed: speedcrypt
42 cert: cert.c ${LIBCRYPT}
43 $(CC) $(CFLAGS) -o cert ${.CURDIR}/cert.c ${LIBCRYPT}
45 speedcrypt: speedcrypt.c ${LIBCRYPT}
46 $(CC) $(CFLAGS) -o speedcrypt ${.CURDIR}/speedcrypt.c ${LIBCRYPT}
48 speeddes: speeddes.c ${LIBCRYPT}
49 $(CC) $(CFLAGS) -o speeddes ${.CURDIR}/speeddes.c ${LIBCRYPT}
56 .include <bsd.prog.mk>