The password scrambler now becomes libscrypt, and libcrypt is

a symlink to it. (The real libcrypt will be installed as libdescrypt.)
Submitted by:	Geoff.
This commit is contained in:
Geoff Rehmet 1994-08-09 18:49:04 +00:00
parent 8ccf48ea2d
commit f5db7b1cf9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1989

View File

@ -2,8 +2,27 @@
# $Id: Makefile,v 1.1.1.1 1994/04/04 14:57:18 g89r4222 Exp $
#
LCRYPTBASE= libcrypt
LCRYPTSO= $(LCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
LSCRYPTBASE= libscrypt
LSCRYPTSO= $(LSCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
# called libscrypt - for scramble crypt!
LIB= scrypt
SRCS= crypt.c
# We only install the links if they do not already exist.
# This may have to be revised
afterinstall:
@if [ ! -e $(LCRYPTSO) ]; then \
cd $(DESTDIR)/$(LIBDIR); \
rm -f $(LCRYPTSO); \
ln -s $(LSCRYPTSO) $(LCRYPTSO); \
rm -f $(LCRYPTBASE).a $(LCRYPTBASE)_p.a; \
ln -s $(LSCRYPTBASE).a libcrypt.a; \
ln -s $(LSCRYPTBASE)_p.a libcrypt_p.a; \
fi
.include <bsd.lib.mk>