head	1.11;
access;
symbols
	RELENG_3_5_0_RELEASE:1.7.2.1
	RELENG_3_4_0_RELEASE:1.7.2.1
	RELENG_3_3_0_RELEASE:1.7.2.1
	RELENG_3_2_PAO:1.7.0.4
	RELENG_3_2_PAO_BP:1.7
	RELENG_3_2_0_RELEASE:1.7
	RELENG_3_1_0_RELEASE:1.7
	RELENG_3:1.7.0.2
	RELENG_3_BP:1.7
	RELENG_2_2_8_RELEASE:1.5
	RELENG_3_0_0_RELEASE:1.7
	RELENG_2_2_7_RELEASE:1.5
	RELENG_2_2_6_RELEASE:1.5
	RELENG_2_2_5_RELEASE:1.5
	RELENG_2_2_2_RELEASE:1.5
	RELENG_2_2_1_RELEASE:1.5
	RELENG_2_2_0_RELEASE:1.5
	RELENG_2_1_7_RELEASE:1.4
	RELENG_2_1_6_1_RELEASE:1.4
	RELENG_2_1_6_RELEASE:1.4
	RELENG_2_2:1.5.0.2
	RELENG_2_2_BP:1.5
	RELENG_2_1_5_RELEASE:1.4
	RELENG_2_1_0_RELEASE:1.4
	RELENG_2_1_0:1.4.0.4
	RELENG_2_1_0_BP:1.4
	RELENG_2_0_5_RELEASE:1.4
	RELENG_2_0_5:1.4.0.2
	RELENG_2_0_5_BP:1.4
	RELENG_2_0_5_ALPHA:1.3
	RELEASE_2_0:1.3
	BETA_2_0:1.3
	ALPHA_2_0:1.3.0.2
	securedist_1_1_5:1.1.1.1
	Burren:1.1.1;
locks; strict;
comment	@# @;


1.11
date	99.09.20.12.40.06;	author markm;	state dead;
branches;
next	1.10;

1.10
date	99.08.28.01.30.25;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	99.01.23.08.26.11;	author markm;	state Exp;
branches;
next	1.8;

1.8
date	99.01.21.13.51.48;	author brandon;	state dead;
branches;
next	1.7;

1.7
date	97.02.22.14.40.34;	author peter;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	97.01.14.06.25.53;	author jkh;	state Exp;
branches;
next	1.5;

1.5
date	96.06.24.04.23.39;	author jkh;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	95.05.30.06.11.48;	author rgrimes;	state Exp;
branches
	1.4.4.1;
next	1.3;

1.3
date	94.08.12.21.55.04;	author csgr;	state Exp;
branches;
next	1.2;

1.2
date	94.08.08.17.29.02;	author csgr;	state Exp;
branches;
next	1.1;

1.1
date	94.08.08.17.18.08;	author csgr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.08.08.17.18.09;	author csgr;	state Exp;
branches;
next	;

1.4.4.1
date	99.09.05.11.51.44;	author peter;	state Exp;
branches;
next	;

1.5.2.1
date	99.09.05.11.48.54;	author peter;	state Exp;
branches;
next	;

1.7.2.1
date	99.08.29.15.17.09;	author peter;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Make this completely dependant on the exportable libcrypt, to avoid
duplication of effort. Also a large cleanup of the code, inspired
by Brandon Gillespie.
@
text
@#
#	Hacked Makefile to compile and run the DES-certification program,
#	but not install anything.
#
# $FreeBSD: src/secure/lib/libcrypt/test/Makefile,v 1.10 1999/08/28 01:30:25 peter Exp $
#
LIBCRYPT= $(.OBJDIR)/libdescrypt.a

#CFLAGS+= -DHAVE_CRYPT16

TARGETS=cert speedcrypt

all: ${TARGETS}

test: all testcrypt testspeed

testcrypt: cert
	@@./cert -c

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>
@


1.10
log
@$Id$ -> $FreeBSD$
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@The new crypt code breaks "make world". Back it out.
@
text
@d5 1
a5 1
# $Id$
@


1.8
log
@Removed from the secure/lib/libcrypt area, because of the rewrite to how
the Makefile handles des support by just including the single .c file.

Reviewed by:	Mark Murray
@
text
@d5 1
a5 1
# $Id: Makefile,v 1.7 1997/02/22 14:40:34 peter Exp $
@


1.7
log
@Revert $FreeBSD$ to $Id$
@
text
@d5 1
a5 1
# $Id$
@


1.7.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.6
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.5
log
@Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
@
text
@d5 1
a5 1
# $Id: Makefile,v 1.4 1995/05/30 06:11:48 rgrimes Exp $
@


1.5.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@Remove trailing whitespace.
@
text
@d5 1
a5 1
# $Id: Makefile,v 1.3 1994/08/12 21:55:04 csgr Exp $
d7 1
a7 7
.if exists (../obj)
OBJDIR = obj
.else
OBJDIR =
.endif

LIBCRYPT= $(.CURDIR)/../$(OBJDIR)/libdescrypt.a
@


1.4.4.1
log
@$Id$ -> $FreeBSD$
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@when making test programs, look for libdescrypt, not libcrypt
Submitted by:	Geoff Rehmet
@
text
@d5 1
a5 1
# $Id: Makefile,v 1.2 1994/08/08 17:29:02 csgr Exp $
d10 1
a10 1
OBJDIR = 
d17 1
a17 1
TARGETS=cert speedcrypt 
d26 1
a26 1
testspeed: cryptspeed 
@


1.2
log
@Modify libcrypt so that the only exported symbol is _crypt().
Submitted by:	 Geoff Rehmet
@
text
@d5 1
a5 1
# $Id: Makefile,v 1.1.1.1 1994/04/04 14:57:18 g89r4222 Exp $
d13 1
a13 1
LIBCRYPT= $(.CURDIR)/../$(OBJDIR)/libcrypt.a
@


1.1
log
@Initial revision
@
text
@d7 7
a13 2
LIBCRYPT!=cd $(.CURDIR)/..; \
	printf "xxx:\n\techo \$${.OBJDIR}/libcrypt.a\n" | make -r -s -f - xxx
d17 1
a17 1
TARGETS=cert speedcrypt speeddes
d21 1
a21 1
test: all testcrypt testencrypt testdes testspeed
d26 1
a26 7
testencrypt: cert
	@@./cert -e < ${.CURDIR}/cert.input

testdes: cert
	@@./cert -d < ${.CURDIR}/cert.input

testspeed: cryptspeed desspeed
a33 6
desspeed: speeddes
	@@./speeddes 30 1
	@@./speeddes 30 1
	@@./speeddes 40 25
	@@./speeddes 40 25

a39 2
speeddes: speeddes.c ${LIBCRYPT}
	$(CC) $(CFLAGS) -o speeddes ${.CURDIR}/speeddes.c ${LIBCRYPT}
d46 3
a48 1
.include <bsd.obj.mk>
@


1.1.1.1
log
@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
@
text
@@
