diff options
| author | Geoff Rehmet <csgr@FreeBSD.org> | 1994-08-09 18:52:52 +0000 |
|---|---|---|
| committer | Geoff Rehmet <csgr@FreeBSD.org> | 1994-08-09 18:52:52 +0000 |
| commit | 7dc2bee339c1d9507c9b05477a1a675cc9c090f2 (patch) | |
| tree | 4c251c0a2cec0b175cfb95018e7b61766d419efb /secure/lib/libcrypt | |
| parent | f5db7b1cf97848730f2c71bf28bc0ea33250fd02 (diff) | |
Notes
Diffstat (limited to 'secure/lib/libcrypt')
| -rw-r--r-- | secure/lib/libcrypt/Makefile | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/secure/lib/libcrypt/Makefile b/secure/lib/libcrypt/Makefile index 9c03d0182fdb..009e779bcbad 100644 --- a/secure/lib/libcrypt/Makefile +++ b/secure/lib/libcrypt/Makefile @@ -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 #MAN3= crypt.3 #MLINKS= crypt.3 encrypt.3 crypt.3 setkey.3 #MLINKS+=crypt.3 des_cipher.3 crypt.3 des_setkey.3 + + .include <bsd.lib.mk> -.include <bsd.subdir.mk> test: 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 |
