summaryrefslogtreecommitdiff
path: root/libada
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-05 13:29:05 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-08-05 13:29:05 +0000
commit96b387a535b0c460a630a2a0bd493c34dee44b2d (patch)
treee418db09ca4ae7448006cda1a49cd8b36f9e2cdb /libada
parent38e2601657bd8329dde48f37759663cd84f42b68 (diff)
downloadgcc-96b387a535b0c460a630a2a0bd493c34dee44b2d.tar.gz
* Makefile.in (gnatlib*): Now depend on oscons target.
(oscons): New target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138706 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libada')
-rw-r--r--libada/ChangeLog5
-rw-r--r--libada/Makefile.in9
2 files changed, 11 insertions, 3 deletions
diff --git a/libada/ChangeLog b/libada/ChangeLog
index 6c60719ec31..7e8be0a080f 100644
--- a/libada/ChangeLog
+++ b/libada/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-05 Thomas Quinot <quinot@adacore.com>
+
+ * Makefile.in (gnatlib*): Now depend on oscons target.
+ (oscons): New target.
+
2008-08-01 Paolo Bonzini <bonzini@gnu.org>
* configure.ac (warn_cflags): Substitute.
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: