opnsense-src/secure/lib/libcrypt/test/Makefile

43 lines
652 B
Makefile
Raw Normal View History

#
# Hacked Makefile to compile and run the DES-certification program,
# but not install anything.
#
1997-02-22 09:40:44 -05:00
# $Id$
#
LIBCRYPT= $(.OBJDIR)/libdescrypt.a
#CFLAGS+= -DHAVE_CRYPT16
1995-05-30 02:12:45 -04:00
TARGETS=cert speedcrypt
all: ${TARGETS}
test: all testcrypt testspeed
testcrypt: cert
@./cert -c
1995-05-30 02:12:45 -04:00
testspeed: cryptspeed
cryptspeed: speedcrypt
@./speedcrypt 30 1
@./speedcrypt 30 1
@./speedcrypt 30 0
@./speedcrypt 30 0
cert: cert.c ${LIBCRYPT}
$(CC) $(CFLAGS) -o cert ${.CURDIR}/cert.c ${LIBCRYPT}
speedcrypt: speedcrypt.c ${LIBCRYPT}
$(CC) $(CFLAGS) -o speedcrypt ${.CURDIR}/speedcrypt.c ${LIBCRYPT}
clean:
rm -f ${TARGETS}
install:
obj:
.include <bsd.prog.mk>