diff -r -u -N ACE-5.4.9+TAO-1.4.9-orig/include/makeinclude/rules.local.GNU ACE-5.4.9+TAO-1.4.9/include/makeinclude/rules.local.GNU --- ACE-5.4.9+TAO-1.4.9-orig/include/makeinclude/rules.local.GNU 2006-01-11 15:15:21.000000000 +0200 +++ ACE-5.4.9+TAO-1.4.9/include/makeinclude/rules.local.GNU 2006-02-12 01:56:33.000000000 +0200 @@ -266,6 +266,30 @@ $(RM) $@ && \ $(LN_S) $(shell pwd)/$(@F) $@ else +ifeq ($(cygwin32),1) + @if test $(shell pwd) != $(@D) -o -n "$(SOVERSION)" ; then \ + if echo "$(@F)" | grep "\.[dD][lL][lL]$$" > /dev/null ; then \ + if test -s $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)).a && test -s $(@D)/../bin/$(@F:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)) ; then \ + echo "$(@F) already installed" ; \ + else \ + echo "Installing $(@F:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)).a -> $(@D)" ; \ + $(RM) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)).a; \ + $(LN_S) $(shell pwd)/$(@F).a $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)).a; \ + echo "Installing $(@F:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)) -> $(@D)/../bin" ; \ + $(RM) $(@D)/../bin/$(@F:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ + $(LN_S) $(shell pwd)/$(@F) $(@D)/../bin/$(@F:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ + fi ; \ + else \ + if test -s $@ ; then \ + echo "$(@F) already installed" ; \ + else \ + echo "Installing $(@F:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)) -> $(@D)" ; \ + $(RM) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ + $(LN_S) $(shell pwd)/$(@F) $(@:%.$(SOEXT)$(SOVERSION)=%.$(SOEXT)); \ + fi ; \ + fi ; \ + fi +else ifneq ($(mingw32),1) @if test $(shell pwd) != $(@D) -o -n "$(SOVERSION)" ; then \ if test -s $@ ; then \ @@ -294,6 +318,7 @@ fi endif endif +endif ifdef MVSLIB #special for MVS in order to use the .x files @if test -w $(@D) ; then \