summaryrefslogtreecommitdiff
path: root/libada/Makefile.in
diff options
context:
space:
mode:
authorThomas Quinot <quinot@adacore.com>2008-08-05 13:29:05 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2008-08-05 15:29:05 +0200
commitc336d2c7ff465c4f262122895710874afa422e8c (patch)
treee418db09ca4ae7448006cda1a49cd8b36f9e2cdb /libada/Makefile.in
parent2d4d7e29a30b93fa29501252d9074f73866034fe (diff)
downloadgcc-c336d2c7ff465c4f262122895710874afa422e8c.tar.gz
Makefile.in (gnatlib*): Now depend on oscons target.
* Makefile.in (gnatlib*): Now depend on oscons target. (oscons): New target. From-SVN: r138706
Diffstat (limited to 'libada/Makefile.in')
-rw-r--r--libada/Makefile.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/libada/Makefile.in b/libada/Makefile.in
index 5e5792db559..452723b7a40 100644
--- a/libada/Makefile.in
+++ b/libada/Makefile.in
@@ -68,10 +68,10 @@ FLAGS_TO_PASS = \
"CFLAGS=$(CFLAGS) $(WARN_CFLAGS)"
# Rules to build gnatlib.
-.PHONY: gnatlib gnatlib-plain gnatlib-sjlj gnatlib-zcx gnatlib-shared
+.PHONY: gnatlib gnatlib-plain gnatlib-sjlj gnatlib-zcx gnatlib-shared oscons
gnatlib: @default_gnatlib_target@
-gnatlib-plain: $(GCC_DIR)/ada/Makefile
+gnatlib-plain: oscons $(GCC_DIR)/ada/Makefile
test -f stamp-libada || \
$(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) \
GNATLIBFLAGS="$(GNATLIBFLAGS)" \
@@ -82,7 +82,7 @@ gnatlib-plain: $(GCC_DIR)/ada/Makefile
gnatlib \
&& touch stamp-libada
-gnatlib-sjlj gnatlib-zcx gnatlib-shared: $(GCC_DIR)/ada/Makefile
+gnatlib-sjlj gnatlib-zcx gnatlib-shared: oscons $(GCC_DIR)/ada/Makefile
test -f stamp-libada || \
$(MAKE) -C $(GCC_DIR)/ada $(FLAGS_TO_PASS) \
GNATLIBFLAGS="$(GNATLIBFLAGS)" \
@@ -93,6 +93,9 @@ gnatlib-sjlj gnatlib-zcx gnatlib-shared: $(GCC_DIR)/ada/Makefile
$@ \
&& touch stamp-libada
+oscons:
+ $(MAKE) -C $(GCC_DIR) THREAD_KIND="$(THREAD_KIND)" ada/s-oscons.ads
+
# Check uninstalled version.
check: