summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-09 13:13:25 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-04-09 13:13:25 +0000
commit74be5b416bcfc04aa302758b7d968db6be433897 (patch)
treea2cdd09a6b2bf7b185bed2e50d7b320128d6b2b7 /include
parent51408d87888fe6515292f95c2bf7c6f52d3147ba (diff)
downloadATCD-74be5b416bcfc04aa302758b7d968db6be433897.tar.gz
replaced "ln -s" with $(LN_S), and set that to "ln -s" by default
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/rules.local.GNU8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/makeinclude/rules.local.GNU b/include/makeinclude/rules.local.GNU
index 599a4f2ff1f..bedec0971b1 100644
--- a/include/makeinclude/rules.local.GNU
+++ b/include/makeinclude/rules.local.GNU
@@ -111,6 +111,10 @@ deinstall.local:
#### To disable installs, just add "INSTALL=" to your "make" invocation.
+ifeq (,$(LN_S))
+ LN_S = ln -s
+endif # ! LN_S
+
$(INSBIN)/%$(VAR) \
$(INSINC)/ace% \
$(INSLIB)/%$(VAR).a \
@@ -130,7 +134,7 @@ $(INSMAN)/mann/% :
echo "$(@F) already installed" ; \
else \
echo "Installing $(@F) -> $(@D)" ; \
- $(RM) $(@); ln -s $(shell pwd)/$(@F:%.$(SOEXT)$(ACE_LDSO_Version_Number)=%.$(SOEXT)) $(@) ; \
+ $(RM) $(@); $(LN_S) $(shell pwd)/$(@F:%.$(SOEXT)$(ACE_LDSO_Version_Number)=%.$(SOEXT)) $(@) ; \
fi ; \
fi
ifdef MVSLIB
@@ -140,7 +144,7 @@ ifdef MVSLIB
echo "$(@F:.$(SOEXT)=.x) already installed" ; \
else \
echo "Installing $(@F:.$(SOEXT)=.x) -> $(@D)" ; \
- $(RM) $(@); ln -s $(shell pwd)/$(@F:.$(SOEXT)=.x) $(@:.$(SOEXT)=.x) ; \
+ $(RM) $(@); $(LN_S) $(shell pwd)/$(@F:.$(SOEXT)=.x) $(@:.$(SOEXT)=.x) ; \
fi \
fi
endif