head	1.29;
access;
symbols
	RELENG_4_11_0_RELEASE:1.26.2.3
	RELENG_4_11:1.26.2.3.0.16
	RELENG_4_11_BP:1.26.2.3
	RELENG_4_10_0_RELEASE:1.26.2.3
	RELENG_4_10:1.26.2.3.0.14
	RELENG_4_10_BP:1.26.2.3
	RELENG_4_9_0_RELEASE:1.26.2.3
	RELENG_4_9:1.26.2.3.0.12
	RELENG_4_9_BP:1.26.2.3
	RELENG_4_8_0_RELEASE:1.26.2.3
	RELENG_4_8:1.26.2.3.0.10
	RELENG_4_8_BP:1.26.2.3
	RELENG_4_7_0_RELEASE:1.26.2.3
	RELENG_4_7:1.26.2.3.0.8
	RELENG_4_7_BP:1.26.2.3
	RELENG_4_6_2_RELEASE:1.26.2.3
	RELENG_4_6_1_RELEASE:1.26.2.3
	RELENG_4_6_0_RELEASE:1.26.2.3
	RELENG_4_6:1.26.2.3.0.6
	RELENG_4_6_BP:1.26.2.3
	RELENG_4_5_0_RELEASE:1.26.2.3
	RELENG_4_5:1.26.2.3.0.4
	RELENG_4_5_BP:1.26.2.3
	RELENG_4_4_0_RELEASE:1.26.2.3
	RELENG_4_4:1.26.2.3.0.2
	RELENG_4_4_BP:1.26.2.3
	RELENG_4_3_0_RELEASE:1.26.2.1
	RELENG_4_3:1.26.2.1.0.2
	RELENG_4_3_BP:1.26.2.1
	RELENG_4_2_0_RELEASE:1.26.2.1
	RELENG_4_1_1_RELEASE:1.26.2.1
	PRE_SMPNG:1.28
	RELENG_4_1_0_RELEASE:1.26
	RELENG_3_5_0_RELEASE:1.14.2.1
	RELENG_4_0_0_RELEASE:1.26
	RELENG_4:1.26.0.2
	RELENG_4_BP:1.26
	RELENG_3_4_0_RELEASE:1.14.2.1
	RELENG_3_3_0_RELEASE:1.14.2.1
	RELENG_3_2_PAO:1.14.0.4
	RELENG_3_2_PAO_BP:1.14
	RELENG_3_2_0_RELEASE:1.14
	RELENG_3_1_0_RELEASE:1.14
	RELENG_3:1.14.0.2
	RELENG_3_BP:1.14
	RELENG_2_2_8_RELEASE:1.10
	RELENG_3_0_0_RELEASE:1.14
	RELENG_2_2_7_RELEASE:1.10
	RELENG_2_2_6_RELEASE:1.10
	RELENG_2_2_5_RELEASE:1.10
	RELENG_2_2_2_RELEASE:1.10
	RELENG_2_2_1_RELEASE:1.10
	RELENG_2_2_0_RELEASE:1.10
	RELENG_2_1_7_RELEASE:1.7.6.2
	RELENG_2_1_6_1_RELEASE:1.7.6.2
	RELENG_2_1_6_RELEASE:1.7.6.2
	RELENG_2_2:1.10.0.2
	RELENG_2_2_BP:1.10
	RELENG_2_1_5_RELEASE:1.7.6.2
	RELENG_2_1_0_RELEASE:1.7
	RELENG_2_1_0:1.7.0.6
	RELENG_2_1_0_BP:1.7
	RELENG_2_0_5_RELEASE:1.7
	RELENG_2_0_5:1.7.0.4
	RELENG_2_0_5_BP:1.7
	RELENG_2_0_5_ALPHA:1.7
	RELEASE_2_0:1.7
	BETA_2_0:1.7
	ALPHA_2_0:1.7.0.2
	securedist_1_1_5:1.1.1.1
	Burren:1.1.1;
locks; strict;
comment	@# @;


1.29
date	2000.12.28.10.32.02;	author peter;	state dead;
branches;
next	1.28;

1.28
date	2000.08.22.02.15.53;	author green;	state Exp;
branches;
next	1.27;

1.27
date	2000.07.16.05.52.51;	author peter;	state Exp;
branches;
next	1.26;

1.26
date	2000.02.29.05.47.52;	author kris;	state Exp;
branches
	1.26.2.1;
next	1.25;

1.25
date	2000.01.09.21.22.48;	author kris;	state Exp;
branches;
next	1.24;

1.24
date	2000.01.08.03.01.13;	author jkh;	state Exp;
branches;
next	1.23;

1.23
date	99.12.19.16.50.33;	author peter;	state Exp;
branches;
next	1.22;

1.22
date	99.09.21.22.13.07;	author markm;	state Exp;
branches;
next	1.21;

1.21
date	99.09.21.17.57.09;	author markm;	state Exp;
branches;
next	1.20;

1.20
date	99.09.21.17.51.57;	author dt;	state Exp;
branches;
next	1.19;

1.19
date	99.09.21.14.47.36;	author peter;	state Exp;
branches;
next	1.18;

1.18
date	99.09.20.12.39.20;	author markm;	state Exp;
branches;
next	1.17;

1.17
date	99.08.28.01.30.23;	author peter;	state Exp;
branches;
next	1.16;

1.16
date	99.01.24.07.51.33;	author markm;	state Exp;
branches;
next	1.15;

1.15
date	99.01.23.08.26.01;	author markm;	state Exp;
branches;
next	1.14;

1.14
date	98.08.31.00.35.10;	author jb;	state Exp;
branches
	1.14.2.1;
next	1.13;

1.13
date	97.09.05.12.21.22;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	97.02.22.14.40.27;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	97.01.14.06.25.48;	author jkh;	state Exp;
branches;
next	1.10;

1.10
date	96.04.13.08.18.23;	author markm;	state Exp;
branches
	1.10.2.1;
next	1.9;

1.9
date	96.02.21.08.15.08;	author jkh;	state Exp;
branches;
next	1.8;

1.8
date	95.12.16.09.14.07;	author markm;	state Exp;
branches;
next	1.7;

1.7
date	94.08.26.23.31.11;	author wollman;	state Exp;
branches
	1.7.6.1;
next	1.6;

1.6
date	94.08.26.19.03.23;	author wollman;	state Exp;
branches;
next	1.5;

1.5
date	94.08.20.18.16.57;	author csgr;	state Exp;
branches;
next	1.4;

1.4
date	94.08.12.21.02.31;	author csgr;	state Exp;
branches;
next	1.3;

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

1.2
date	94.08.08.17.28.47;	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.7.6.1
date	96.02.07.15.01.43;	author peter;	state Exp;
branches;
next	1.7.6.2;

1.7.6.2
date	96.06.21.17.28.58;	author markm;	state Exp;
branches;
next	1.7.6.3;

1.7.6.3
date	99.09.05.11.51.43;	author peter;	state Exp;
branches;
next	;

1.10.2.1
date	99.09.05.11.48.53;	author peter;	state Exp;
branches;
next	;

1.14.2.1
date	99.08.29.15.17.04;	author peter;	state Exp;
branches;
next	;

1.26.2.1
date	2000.09.20.11.19.54;	author green;	state Exp;
branches;
next	1.26.2.2;

1.26.2.2
date	2001.05.24.12.20.03;	author markm;	state Exp;
branches;
next	1.26.2.3;

1.26.2.3
date	2001.07.16.03.30.08;	author peter;	state dead;
branches;
next	;


desc
@@


1.29
log
@Merge into a single US-exportable libcrypt, which only provides
one-way hash functions for authentication purposes.  There is no more
"set the libcrypt->libXXXcrypt" nightmare.
- Undo the libmd.so hack, use -D to hide the md5c.c internals.
- Remove the symlink hacks in release/Makefile
- the algorthm is set by set_crypt_format() as before.  If this is
  not called, it tries to heuristically figure out the hash format, and
  if all else fails, it uses the optional auth.conf entry to chose the
  overall default hash.
- Since source has non-hidden crypto in it there may be some issues with
  having the source it in some countries, so preserve the "secure/*"
  division.  You can still build a des-free libcrypt library if you want
  to badly enough.  This should not be a problem in the US or exporting
  from the US as freebsd.org had notified BXA some time ago.  That makes
  this stuff re-exportable by anyone.
- For consistancy, the default in absence of any other clues is md5.  This
  is to try and minimize POLA across buildworld where folk may suddenly
  be activating des-crypt()-hash support.  Since the des hash may not
  always be present, it seemed sensible to make the stronger md5 algorithm
  the default.
All things being equal, no functionality is lost.

Reviewed-by: jkh

(flame-proof suit on)
@
text
@#
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.28 2000/08/22 02:15:53 green Exp $
#

SHLIB_MAJOR=	2
LIB=		descrypt

LCRYPTBASE=	libcrypt
LSCRYPTBASE=	lib${LIB}

LCRYPTSO=	${LCRYPTBASE}.so.${SHLIB_MAJOR}
LSCRYPTSO=	${LSCRYPTBASE}.so.${SHLIB_MAJOR}

.if ${OBJFORMAT} == elf
SONAME=		${LCRYPTSO}
.endif

.PATH:		${.CURDIR}/../../../lib/libmd ${.CURDIR}/../../../lib/libcrypt
SRCS=		crypt.c crypt-md5.c misc.c
STATICSRCS=	md5c.c
STATICOBJS=	${STATICSRCS:S/.c/.o/g}
SRCS+=		crypt-des.c
MAN3=		crypt.3
MLINKS=		crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3
CFLAGS+=	-I${.CURDIR}/../../../lib/libmd
CFLAGS+=	-I${.CURDIR}/../../../lib/libcrypt
CFLAGS+=	-DNONEXPORTABLE_CRYPT
CFLAGS+=	-DLIBC_SCCS -Wall
PRECIOUSLIB=	yes

# Include this early to pick up the definitions of SHLIB_MAJOR and
# SHLIB_MINOR which are used in the existence tests.
.include "${.CURDIR}/../../../lib/Makefile.inc"

# We only install the links if they do not already exist.
# This may have to be revised
.if !exists(${DESTDIR}${LIBDIR}/${LCRYPTBASE}.a)
SYMLINKS+=	${LSCRYPTBASE}.a ${LIBDIR}/${LCRYPTBASE}.a
.endif
.if !defined(NOPROFILE) && !exists(${DESTDIR}${LIBDIR}/${LCRYPTBASE}_p.a)
SYMLINKS+=	${LSCRYPTBASE}_p.a ${LIBDIR}/${LCRYPTBASE}_p.a
.endif
.if !defined(NOPIC) && !exists(${DESTDIR}${SHLIBDIR}/${LCRYPTSO})
SYMLINKS+=	${LSCRYPTSO} ${SHLIBDIR}/${LCRYPTSO}
.endif
.if !defined(NOPIC) && ${OBJFORMAT} == elf && \
    !exists(${DESTDIR}${SHLIBDIR}/${LCRYPTBASE}.so)
SYMLINKS+=	${LSCRYPTBASE}.so ${SHLIBDIR}/${LCRYPTBASE}.so
.endif

.include <bsd.lib.mk>

afterinstall:
.if !defined(NODESCRYPTLINKS)
.if !defined(NOPIC)
	@@cd ${DESTDIR}${SHLIBDIR}; \
	rm -f ${LCRYPTSO}; \
	ln -sf ${LSCRYPTSO} ${LCRYPTSO};
.endif
.if !defined(NOPIC) && ${OBJFORMAT} == elf
	@@cd ${DESTDIR}${SHLIBDIR}; \
	rm -f ${LCRYPTBASE}.so; \
	ln -sf ${LSCRYPTBASE}.so libcrypt.so
.endif
	@@cd  ${DESTDIR}${LIBDIR}; \
	rm -f ${LCRYPTBASE}.a; \
	ln -sf ${LSCRYPTBASE}.a libcrypt.a
.if !defined(NOPROFILE)
	@@cd  ${DESTDIR}${LIBDIR}; \
	rm -f ${LCRYPTBASE}_p.a; \
	ln -sf ${LSCRYPTBASE}_p.a libcrypt_p.a
.endif
.endif
@


1.28
log
@Add working and easy crypt(3)-switching.  Yes, we need a whole new API
for crypt(3) by now.  In any case:

Add crypt_set_format(3) + documentation to -lcrypt.
Add login_setcryptfmt(3) + documentation to -lutil.
Support for switching crypt formats in passwd(8).
Support for switching crypt formats in pw(8).

The simple synopsis is:
edit login.conf; add a passwd_format field set to "des" or "md5"; go nuts :)

Reviewed by:	peter
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.27 2000/07/16 05:52:51 peter Exp $
@


1.27
log
@Forced commit.  This is to try and help folks that used the international
crypto repo and have slightly different files but with the same version.
cvsup in 'checkout mode' has no trouble with this, but cvs can get really
silly about it.
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.26 2000/02/29 05:47:52 kris Exp $
d24 1
@


1.26
log
@Add NODESCRYPTLINKS knob to prevent spamming of libcrypt -> libscrypt
symlinks. The name is against my better judgement, but I defer to ancient
tradition here because I'm a nice guy.

Reviewed by:	-current
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.25 2000/01/09 21:22:48 kris Exp $
@


1.26.2.1
log
@MFC: login.conf password format switching
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.26 2000/02/29 05:47:52 kris Exp $
a23 1
MLINKS=		crypt.3 crypt_get_format.3 crypt.3 crypt_set_format.3
@


1.26.2.2
log
@MFC: Blowfish password hashing scheme (From OpenBSD) and remove the dlsym()
hack.
@
text
@d2 1
a2 1
# $FreeBSD$
d19 1
a19 1
SRCS=		crypt.c crypt-md5.c md5c.c misc.c
d22 1
a22 1
SRCS+=		crypt-des.c crypt-blowfish.c blowfish.c
d27 1
a27 1
CFLAGS+=	-DHAS_BLOWFISH -DHAS_DES
a28 7
# And the auth_getval() code and support.
.PATH:		${.CURDIR}/../../../lib/libutil
SRCS+=		auth.c property.c
.for sym in MD5Init MD5Final MD5Update MD5Pad auth_getval \
		property_find properties_read properties_free
CFLAGS+=	-D${sym}=__${sym}
.endfor
@


1.26.2.3
log
@MFC: this file is obsolete, libcrypt is unified
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.26.2.2 2001/05/24 12:20:03 markm Exp $
@


1.25
log
@Really really remove SHA-1 support.
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.24 2000/01/08 03:01:13 jkh Exp $
d53 1
d71 1
@


1.24
log
@Remove the SHA stuff properly.
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.23 1999/12/19 16:50:33 peter Exp $
d20 1
a20 1
STATICSRCS=	md5c.c sha0c.c sha1c.c
@


1.23
log
@I missed the LDADD/DPADD for -lmd in the secure cases. :-(

Pointed out by: marcel
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.22 1999/09/21 22:13:07 markm Exp $
d19 1
a19 1
SRCS=		crypt.c crypt-md5.c crypt-shs.c misc.c
@


1.22
log
@Colour me stupid. This is a better way of using the macros.
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.21 1999/09/21 17:57:09 markm Exp $
a28 3

LDADD+=		-lmd
DPADD+=		${LIBMD}
@


1.21
log
@Do this the same way as Internat to reduce diffs.
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.20 1999/09/21 17:51:57 dt Exp $
d15 1
a15 1
SONAME=		${LCRYPTBASE}.so.${SHLIB_MAJOR}
@


1.20
log
@Someone changed major numbers of the libraries from 2 to 3 for 0 (zero) reasons.
Revert the major number back to 2.

libcrypt only export one function, before the recent changes and now:
char *crypt(const char *key, const char *salt);
The prototype didn't changed. Internal representation of `char' and `char *'
didn't changed. Therefore, there is no reason to change the version number.
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.19 1999/09/21 14:47:36 peter Exp $
d15 1
a15 1
SONAME=		${LCRYPTSO}
@


1.19
log
@Restore SONAME setting, otherwise libdescrypt.so.3 doesn't end up with
a special SONAME of libcrypt.so.3 and the runtime symlink doesn't work.
@
text
@d2 1
a2 1
# $FreeBSD: src/secure/lib/libcrypt/Makefile,v 1.18 1999/09/20 12:39:20 markm Exp $
d5 1
a5 1
SHLIB_MAJOR=	3
@


1.18
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
@d2 1
a2 1
# $FreeBSD$
d13 4
@


1.17
log
@$Id$ -> $FreeBSD$
@
text
@d5 2
a6 2
LCRYPTBASE=     libcrypt
LDCRYPTBASE=    libdescrypt
d8 16
a23 14
.if ${OBJFORMAT} != elf
LCRYPTSO=       $(LCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
LDCRYPTSO=      $(LDCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
.else
LCRYPTSO=       $(LCRYPTBASE).so.$(SHLIB_MAJOR)
LDCRYPTSO=      $(LDCRYPTBASE).so.$(SHLIB_MAJOR)
.endif

.PATH:	${.CURDIR}/../../../lib/libmd

LIB=	descrypt
SRCS=	crypt.c crypt-md5.c md5c.c
MAN3=	crypt.3
CFLAGS+=	-I${.CURDIR}/../../../lib/libmd -Wall
d26 21
a46 2
.if ${OBJFORMAT} == elf
SONAME=	${LCRYPTBASE}.so.$(SHLIB_MAJOR)
a48 3
test:
	cd test ; make test ; make clean

a50 2
# We only install the links if they do not already exist.
# This may have to be revised
d52 13
a64 19
.if !defined(NOPIC) && defined(SHLIB_MAJOR)
	@@cd $(DESTDIR)/$(LIBDIR); \
	if [ ! -e $(LCRYPTSO) ]; then \
	rm -f $(LCRYPTSO); \
	ln -sf $(LDCRYPTSO) $(LCRYPTSO); \
	fi
.endif
.if !defined(NOPIC) && defined(SHLIB_MAJOR) && ${OBJFORMAT} == elf
	@@cd $(DESTDIR)/$(LIBDIR); \
	if [ ! -e $(LCRYPTBASE).so ]; then \
	rm -f $(LCRYPTBASE).so; \
	ln -sf $(LDCRYPTBASE).so libcrypt.so; \
	fi
.endif
	@@cd  $(DESTDIR)/$(LIBDIR); \
	if [ ! -e $(LCRYPTBASE).a ]; then \
	rm -f $(LCRYPTBASE).a; \
	ln -sf $(LDCRYPTBASE).a libcrypt.a; \
	fi
d66 3
a68 5
	@@cd  $(DESTDIR)/$(LIBDIR); \
	if [ ! -e $(LCRYPTBASE)_p.a ]; then \
	rm -f $(LCRYPTBASE)_p.a; \
	ln -sf $(LDCRYPTBASE)_p.a libcrypt_p.a; \
	fi
@


1.16
log
@Fix symlinking. Without the -f "force" option, the wrong version
can be found.
Submitted by:   Bruce
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.15 1999/01/23 08:26:01 markm Exp $
@


1.15
log
@The new crypt code breaks "make world". Back it out.
@
text
@d2 1
a2 1
# $Id$
d40 1
a40 1
	ln -s $(LDCRYPTSO) $(LCRYPTSO); \
d47 1
a47 1
	ln -s $(LDCRYPTBASE).so libcrypt.so; \
d53 1
a53 1
	ln -s $(LDCRYPTBASE).a libcrypt.a; \
d59 1
a59 1
	ln -s $(LDCRYPTBASE)_p.a libcrypt_p.a; \
@


1.14
log
@BINFORMAT -> OBJFORMAT ready for E-day. Untested 'cause I'm  outside
the US and not allowed to see this. I kept my eyes closed. 8-)
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.13 1997/09/05 12:21:22 peter Exp $
@


1.14.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.13
log
@Teach libdescrypt about elf builds.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.12 1997/02/22 14:40:27 peter Exp $
d8 1
a8 1
.if ${BINFORMAT} != elf
d24 1
a24 1
.if ${BINFORMAT} == elf
d43 1
a43 1
.if !defined(NOPIC) && defined(SHLIB_MAJOR) && ${BINFORMAT} == elf
@


1.12
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
d6 3
a9 2

LDCRYPTBASE=    libdescrypt
d11 4
d24 4
d41 7
@


1.11
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
@d2 1
a2 1
# $FreeBSD$
@


1.10
log
@Split libcrypt and libcipher man pages.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.10 1996/03/24 07:30:27 markm Exp $
@


1.10.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.9
log
@Add back missing crypt.3 man page.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1995/12/16 09:14:07 markm Exp $
@


1.8
log
@Dual personality crypt(3). This crypt will choose its encryption algorithm
(DES or MD5) based on the type of salt used. Salt beginning with "$1$"
indicates MD5.
@
text
@d2 1
a2 1
# $Id$
d15 1
@


1.7
log
@Hopefully fix bogus permissions.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1994/08/26 19:03:23 wollman Exp $
a7 1

d11 2
d14 2
a15 1
SRCS=	crypt.c
a17 7
#MAN3=   crypt.3
#MLINKS= crypt.3 encrypt.3 crypt.3 setkey.3
#MLINKS+=crypt.3 des_cipher.3 crypt.3 des_setkey.3




a20 1

a44 2


@


1.7.6.1
log
@Add Mark Murray's md5 recognition ($1$) into the libdescrypt library.
This is a "trivial" change - if it is presented with a "$1$ salt (which
is illegal for the DES crypt), it switches to the md5 routine instead.
If it never sees a MD5 string, it behaves exactly as before.

This will be a lifesaver for people who install from cdrom, add users or
set passwords, then go and select the "secure" dist from the ftp server
and would have locked themselves out of their machine.

Some -Wall cleanups came along with it.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1995/12/16 09:14:07 markm Exp $
d8 1
a11 2
.PATH:	${.CURDIR}/../../../lib/libmd

d13 1
a13 2
SRCS=	crypt.c crypt-md5.c md5c.c
CFLAGS+=	-I${.CURDIR}/../../../lib/libmd -Wall
d16 7
d26 1
d51 2
@


1.7.6.2
log
@Merge with HEAD
@
text
@d2 1
a2 1
# $Id$
a14 1
MAN3=	crypt.3
@


1.7.6.3
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.6
log
@Install libdescrypt.so immutable.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1994/08/20 18:16:57 csgr Exp $
d51 1
@


1.5
log
@Fix afterinstall rule for generating links to the real libcrypt
Submitted by:	Geoff
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1994/08/12 21:02:31 csgr Exp $
d14 1
@


1.4
log
@1) don't make bdes yet
2) fix .include in secure/lib/Makefile.inc
3) fix afterinstall rule in libcrypt/Makefile
Submitted by:	Geoff Rehmet
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1994/08/09 18:52:52 csgr Exp $
a20 1
.include <bsd.lib.mk>
d26 2
d31 3
a33 3
.if defined(SHLIB_MAJOR) && ! defined(NOSHARED)
	@@if [ ! -e $(LCRYPTSO) ]; then \
	cd  $(DESTDIR)/$(LIBDIR); \
d38 3
a40 3
	@@if [ ! -e $(LCRYPTBASE).a ]; then \
	cd  $(DESTDIR)/$(LIBDIR); \
	rm -f $(LCRYPTBASE).a $(LCRYPTBASE)_p.a; \
d42 5
d49 2
@


1.3
log
@Install secure/lib/libcrypt as libdescrypt, and symlink it to
libcrypt.  There may be a little modification neede to this makefile once
we start working on tidy make world's.
Submitted by:	geoff.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1994/08/09 18:37:33 g89r4222 Exp $
d30 1
d35 4
@


1.2
log
@Modify libcrypt so that the only exported symbol is _crypt().
Submitted by:	 Geoff Rehmet
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.1.1.1 1994/04/04 14:57:18 g89r4222 Exp $
d5 2
d8 5
a12 1
LIB=	crypt
d19 2
a21 1
.include <bsd.subdir.mk>
d25 13
@


1.1
log
@Initial revision
@
text
@a4 1
SUBDIR= test
d9 1
a9 1
#MAN3=   crypt.0
d15 3
@


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