diff options
author | bde <bde@FreeBSD.org> | 1994-11-14 06:44:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-11-14 06:44:45 +0000 |
commit | c2f445d0415fbe0d1f84a4e53ed7bb74bea58433 (patch) | |
tree | 9fd1b2720bbb69dde358f0f3daaf1d556db2c325 /lib/libcrypt | |
parent | f1b917b0222c4892fb5d85a409b6918ad12fa364 (diff) | |
download | FreeBSD-src-c2f445d0415fbe0d1f84a4e53ed7bb74bea58433.zip FreeBSD-src-c2f445d0415fbe0d1f84a4e53ed7bb74bea58433.tar.gz |
Install shared libraries in ${DESTDIR}${SHLIBDIR} instead of in
$(DESTDIR)/$(LIBDIR) (I need SHLIBDIR. The / was a bug and the
$(...) style was inconsistent.)
Install ordinary libraries in ${DESTDIR}${LIBDIR} instead of in
$(DESTDIR)/$(LIBDIR).
Change remaining $(...) to ${...}.
Diffstat (limited to 'lib/libcrypt')
-rw-r--r-- | lib/libcrypt/Makefile | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/libcrypt/Makefile b/lib/libcrypt/Makefile index 985f444..96b03f8 100644 --- a/lib/libcrypt/Makefile +++ b/lib/libcrypt/Makefile @@ -1,12 +1,12 @@ # -# $Id: Makefile,v 1.4 1994/08/20 18:13:59 csgr Exp $ +# $Id: Makefile,v 1.5 1994/11/07 21:07:05 phk Exp $ # LCRYPTBASE= libcrypt -LCRYPTSO= $(LCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR) +LCRYPTSO= ${LCRYPTBASE}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} LSCRYPTBASE= libscrypt -LSCRYPTSO= $(LSCRYPTBASE).so.$(SHLIB_MAJOR).$(SHLIB_MINOR) +LSCRYPTSO= ${LSCRYPTBASE}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} # called libscrypt - for scramble crypt! .PATH: ${.CURDIR}/../libmd @@ -19,22 +19,22 @@ CFLAGS+= -I${.CURDIR}/../libmd afterinstall: .if !defined(NOPIC) - @cd $(DESTDIR)/$(LIBDIR); \ - if [ ! -e $(LCRYPTSO) ]; then \ - rm -f $(LCRYPTSO); \ - ln -s $(LSCRYPTSO) $(LCRYPTSO); \ + @cd ${DESTDIR}${SHLIBDIR}; \ + if [ ! -e ${LCRYPTSO} ]; then \ + rm -f ${LCRYPTSO}; \ + ln -s ${LSCRYPTSO} ${LCRYPTSO}; \ fi .endif - @cd $(DESTDIR)/$(LIBDIR); \ - if [ ! -e $(LCRYPTBASE).a ]; then \ - rm -f $(LCRYPTBASE).a; \ - ln -s $(LSCRYPTBASE).a libcrypt.a; \ + @cd ${DESTDIR}${LIBDIR}; \ + if [ ! -e ${LCRYPTBASE}.a ]; then \ + rm -f ${LCRYPTBASE}.a; \ + ln -s ${LSCRYPTBASE}.a libcrypt.a; \ fi .if !defined(NOPROFILE) - @cd $(DESTDIR)/$(LIBDIR); \ - if [ ! -e $(LCRYPTBASE)_p.a ]; then \ - rm -f $(LCRYPTBASE)_p.a; \ - ln -s $(LSCRYPTBASE)_p.a libcrypt_p.a; \ + @cd ${DESTDIR}${LIBDIR}; \ + if [ ! -e ${LCRYPTBASE}_p.a ]; then \ + rm -f ${LCRYPTBASE}_p.a; \ + ln -s ${LSCRYPTBASE}_p.a libcrypt_p.a; \ fi .endif |