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.
This commit is contained in:
parent
f5db7b1cf9
commit
7dc2bee339
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1990
@ -1,17 +1,37 @@
|
|||||||
#
|
#
|
||||||
# $Id: Makefile,v 1.1.1.1 1994/04/04 14:57:18 g89r4222 Exp $
|
# $Id: Makefile,v 1.3 1994/08/09 18:37:33 g89r4222 Exp $
|
||||||
#
|
#
|
||||||
|
|
||||||
|
LCRYPTBASE= libcrypt
|
||||||
|
LCRYPTSO= $(LCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
|
||||||
|
|
||||||
LIB= crypt
|
|
||||||
|
LDCRYPTBASE= libdescrypt
|
||||||
|
LDCRYPTSO= $(LDCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR)
|
||||||
|
|
||||||
|
LIB= descrypt
|
||||||
SRCS= crypt.c
|
SRCS= crypt.c
|
||||||
|
|
||||||
#MAN3= crypt.3
|
#MAN3= crypt.3
|
||||||
#MLINKS= crypt.3 encrypt.3 crypt.3 setkey.3
|
#MLINKS= crypt.3 encrypt.3 crypt.3 setkey.3
|
||||||
#MLINKS+=crypt.3 des_cipher.3 crypt.3 des_setkey.3
|
#MLINKS+=crypt.3 des_cipher.3 crypt.3 des_setkey.3
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.include <bsd.lib.mk>
|
.include <bsd.lib.mk>
|
||||||
.include <bsd.subdir.mk>
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
cd test ; make test ; make clean
|
cd test ; make test ; make clean
|
||||||
|
|
||||||
|
|
||||||
|
# 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 $(LDCRYPTSO) $(LCRYPTSO); \
|
||||||
|
rm -f $(LCRYPTBASE).a $(LCRYPTBASE)_p.a; \
|
||||||
|
ln -s $(LDCRYPTBASE).a libcrypt.a; \
|
||||||
|
ln -s $(LDCRYPTBASE)_p.a libcrypt_p.a; \
|
||||||
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user