summaryrefslogtreecommitdiffstats
path: root/secure/lib/libcrypt/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'secure/lib/libcrypt/Makefile')
-rw-r--r--secure/lib/libcrypt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile
index 009e779..a290fc3 100644
--- a/secure/lib/libcrypt/Makefile
+++ b/secure/lib/libcrypt/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.3 1994/08/09 18:37:33 g89r4222 Exp $
+# $Id: Makefile,v 1.3 1994/08/09 18:52:52 csgr Exp $
#
LCRYPTBASE= libcrypt
@@ -27,10 +27,15 @@ test:
# We only install the links if they do not already exist.
# This may have to be revised
afterinstall:
+.if defined(SHLIB_MAJOR) && ! defined(NOSHARED)
@if [ ! -e $(LCRYPTSO) ]; then \
cd $(DESTDIR)/$(LIBDIR); \
rm -f $(LCRYPTSO); \
ln -s $(LDCRYPTSO) $(LCRYPTSO); \
+ fi
+.endif
+ @if [ ! -e $(LCRYPTBASE).a ]; then \
+ cd $(DESTDIR)/$(LIBDIR); \
rm -f $(LCRYPTBASE).a $(LCRYPTBASE)_p.a; \
ln -s $(LDCRYPTBASE).a libcrypt.a; \
ln -s $(LDCRYPTBASE)_p.a libcrypt_p.a; \
OpenPOWER on IntegriCloud