Skip to content
Snippets Groups Projects
Commit b97ffdc9 authored by Kai Tietz's avatar Kai Tietz Committed by Kai Tietz
Browse files

re PR target/52122 (incorrect ln -s replacement for mingw like targets in configure files)

PR target/52122
* Makefile.in (LN_S_RECUSIVE): New.
(adainclude, adalib): Use LN_S_RECURSIVE for copy.

From-SVN: r196002
parent c345d4f1
No related branches found
No related tags found
No related merge requests found
2013-02-13 Kai Tietz <ktietz@redhat.com>
PR target/52122
* Makefile.in (LN_S_RECUSIVE): New.
(adainclude, adalib): Use LN_S_RECURSIVE for copy.
2013-01-14 Richard Sandiford <rdsandiford@googlemail.com> 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
Update copyright years. Update copyright years.
......
...@@ -43,6 +43,12 @@ enable_shared = @enable_shared@ ...@@ -43,6 +43,12 @@ enable_shared = @enable_shared@
LN_S=@LN_S@ LN_S=@LN_S@
AWK=@AWK@ AWK=@AWK@
ifeq (cp -p,$(LN_S))
LN_S_RECURSIVE = cp -pR
else
LN_S_RECURSIVE = $(LN_S)
endif
# Variables for the user (or the top level) to override. # Variables for the user (or the top level) to override.
objext=.o objext=.o
THREAD_KIND=native THREAD_KIND=native
...@@ -100,8 +106,8 @@ gnatlib-plain: osconstool $(GCC_DIR)/ada/Makefile ...@@ -100,8 +106,8 @@ gnatlib-plain: osconstool $(GCC_DIR)/ada/Makefile
&& touch stamp-libada && touch stamp-libada
-rm -rf adainclude -rm -rf adainclude
-rm -rf adalib -rm -rf adalib
$(LN_S) $(ADA_RTS_DIR) adainclude $(LN_S_RECURSIVE) $(ADA_RTS_DIR) adainclude
$(LN_S) $(ADA_RTS_DIR) adalib $(LN_S_RECURSIVE) $(ADA_RTS_DIR) adalib
gnatlib-sjlj gnatlib-zcx gnatlib-shared: osconstool $(GCC_DIR)/ada/Makefile gnatlib-sjlj gnatlib-zcx gnatlib-shared: osconstool $(GCC_DIR)/ada/Makefile
test -f stamp-libada || \ test -f stamp-libada || \
...@@ -109,8 +115,8 @@ gnatlib-sjlj gnatlib-zcx gnatlib-shared: osconstool $(GCC_DIR)/ada/Makefile ...@@ -109,8 +115,8 @@ gnatlib-sjlj gnatlib-zcx gnatlib-shared: osconstool $(GCC_DIR)/ada/Makefile
&& touch stamp-libada && touch stamp-libada
-rm -rf adainclude -rm -rf adainclude
-rm -rf adalib -rm -rf adalib
$(LN_S) $(ADA_RTS_DIR) adainclude $(LN_S_RECURSIVE) $(ADA_RTS_DIR) adainclude
$(LN_S) $(ADA_RTS_DIR) adalib $(LN_S_RECURSIVE) $(ADA_RTS_DIR) adalib
osconstool: osconstool:
$(MAKE) -C $(GCC_DIR)/ada $(LIBADA_FLAGS_TO_PASS) ./bldtools/oscons/xoscons $(MAKE) -C $(GCC_DIR)/ada $(LIBADA_FLAGS_TO_PASS) ./bldtools/oscons/xoscons
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment