diff options
author | Geoff Rehmet <csgr@FreeBSD.org> | 1994-08-09 18:49:04 +0000 |
---|---|---|
committer | Geoff Rehmet <csgr@FreeBSD.org> | 1994-08-09 18:49:04 +0000 |
commit | f5db7b1cf97848730f2c71bf28bc0ea33250fd02 (patch) | |
tree | afe5f13dfcf870918b92442932144de3e9af0949 /lib/libcrypt | |
parent | 8ccf48ea2d831d2c031b06744bb188074f374b5d (diff) |
Notes
Diffstat (limited to 'lib/libcrypt')
-rw-r--r-- | lib/libcrypt/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index 1792f89df1de3..30260ca197d34 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -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> |