diff options
| author | Geoff Rehmet <csgr@FreeBSD.org> | 1994-08-12 21:02:31 +0000 |
|---|---|---|
| committer | Geoff Rehmet <csgr@FreeBSD.org> | 1994-08-12 21:02:31 +0000 |
| commit | b1c75fb65d13705e984d452d5ff9c32f224c4995 (patch) | |
| tree | 32298e204ed1e4396168bb326b565dfe5df7dfe1 /secure/lib/libcrypt | |
| parent | 58eaed35cf9c29e1a5cfe17ba733218a1a797c01 (diff) | |
Notes
Diffstat (limited to 'secure/lib/libcrypt')
| -rw-r--r-- | secure/lib/libcrypt/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile index 009e779bcbad..a290fc3b2cec 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; \ |
