1#
| 1#
|
2# $Id: Makefile,v 1.1.1.1 1994/04/04 14:57:18 g89r4222 Exp $
| 2# $Id: Makefile,v 1.2 1994/08/09 18:49:04 csgr Exp $
|
3# 4 5LCRYPTBASE= libcrypt 6LCRYPTSO= $(LCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR) 7 8 9LSCRYPTBASE= libscrypt 10LSCRYPTSO= $(LSCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR) 11 12# called libscrypt - for scramble crypt! 13LIB= scrypt 14SRCS= crypt.c 15 16# We only install the links if they do not already exist. 17# This may have to be revised 18afterinstall:
| 3# 4 5LCRYPTBASE= libcrypt 6LCRYPTSO= $(LCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR) 7 8 9LSCRYPTBASE= libscrypt 10LSCRYPTSO= $(LSCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR) 11 12# called libscrypt - for scramble crypt! 13LIB= scrypt 14SRCS= crypt.c 15 16# We only install the links if they do not already exist. 17# This may have to be revised 18afterinstall:
|
| 19.if defined(SHLIB_MAJOR) && !defined(NOSHARED)
|
19 @if [ ! -e $(LCRYPTSO) ]; then \ 20 cd $(DESTDIR)/$(LIBDIR); \ 21 rm -f $(LCRYPTSO); \ 22 ln -s $(LSCRYPTSO) $(LCRYPTSO); \
| 20 @if [ ! -e $(LCRYPTSO) ]; then \ 21 cd $(DESTDIR)/$(LIBDIR); \ 22 rm -f $(LCRYPTSO); \ 23 ln -s $(LSCRYPTSO) $(LCRYPTSO); \
|
| 24 fi 25.endif 26 @if [ ! -e $(LCRYPTBASE).a ]; then \ 27 cd $(DESTDIR)/$(LIBDIR); \
|
23 rm -f $(LCRYPTBASE).a $(LCRYPTBASE)_p.a; \ 24 ln -s $(LSCRYPTBASE).a libcrypt.a; \ 25 ln -s $(LSCRYPTBASE)_p.a libcrypt_p.a; \ 26 fi 27 28.include <bsd.lib.mk>
| 28 rm -f $(LCRYPTBASE).a $(LCRYPTBASE)_p.a; \ 29 ln -s $(LSCRYPTBASE).a libcrypt.a; \ 30 ln -s $(LSCRYPTBASE)_p.a libcrypt_p.a; \ 31 fi 32 33.include <bsd.lib.mk>
|