summaryrefslogtreecommitdiff
path: root/include/makeinclude/rules.local.GNU
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-08 08:08:08 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-02-08 08:08:08 +0000
commitd0bd305f2f8424d9c70d57e82fe5a2ee87efbbd6 (patch)
treefc58f4ae52efeb50cd313a1909c0371eda6088de /include/makeinclude/rules.local.GNU
parentfc1aa44985ef9663df138a88f3a2e6d445cad8dd (diff)
downloadATCD-d0bd305f2f8424d9c70d57e82fe5a2ee87efbbd6.tar.gz
Changed installation rules to enable versioned so libraries installation.
Diffstat (limited to 'include/makeinclude/rules.local.GNU')
-rw-r--r--include/makeinclude/rules.local.GNU14
1 files changed, 6 insertions, 8 deletions
diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU
index bc38b369882..6a0518d1ba8 100644
--- a/include/makeinclude/rules.local.GNU
+++ b/include/makeinclude/rules.local.GNU
@@ -114,7 +114,7 @@ deinstall.local:
$(INSBIN)/%$(VAR) \
$(INSINC)/ace% \
$(INSLIB)/%$(VAR).a \
-$(INSLIB)/%$(VAR).$(SOEXT) \
+$(INSLIB)/%$(VAR).$(SOEXT)$(ACE_LDSO_Major_Minor_Version_Number) \
$(INSMAN)/man1/% \
$(INSMAN)/man2/% \
$(INSMAN)/man3/% \
@@ -125,13 +125,11 @@ $(INSMAN)/man7/% \
$(INSMAN)/man8/% \
$(INSMAN)/manl/% \
$(INSMAN)/mann/% :
- @if test $(shell pwd) != $(@D) ; then \
- if test -s $@ ; then \
- echo "$(@F) already installed" ; \
- else \
- echo "Installing $(@F) -> $(@D)" ; \
- ln -s $(shell pwd)/$(@F) $@ ; \
- fi ; \
+ @if test -s $@ ; then \
+ echo "$(@F) already installed" ; \
+ else \
+ echo "Installing $(@F) -> $(@D)" ; \
+ ln -s $(shell pwd)/$(@F:%.$(SOEXT)$(ACE_LDSO_Major_Minor_Version_Number)=%.$(SOEXT)) $(@) ; \
fi
ifdef MVSLIB
#special for MVS in order to use the .x files