diff options
author | DJ Delorie <dj@delorie.com> | 2004-01-14 21:13:34 +0000 |
---|---|---|
committer | DJ Delorie <dj@delorie.com> | 2004-01-14 21:13:34 +0000 |
commit | bdf317e0296fe8ac0baf5c8fa1391072d4c5d35b (patch) | |
tree | 6350d792eb124f75158951520bdd89a2fdb71d77 /Makefile.tpl | |
parent | a7023415e7518d79b13c1b599e78b2e6d92beec3 (diff) | |
download | gdb-bdf317e0296fe8ac0baf5c8fa1391072d4c5d35b.tar.gz |
* Makefile.def (target_modules) [libtermcap, libiberty, zlib]: Stage.
* Makefile.tpl (configure-target-[+module+]): Support stage.
* Makefile.in: Rebuilt.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index 7a7e3eb0403..c82c81830a7 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -983,7 +983,7 @@ ENDIF raw_cxx +] .) topdir="../$(srcdir)" ;; \ *) topdir="../../$(srcdir)" ;; \ esac ;; \ - esac; \ + esac; \[+ IF stage +] if [ "$(srcdir)" = "." ] ; then \ if [ "$(TARGET_SUBDIR)" != "." ] ; then \ if $(SHELL) $$s/symlink-tree $${topdir}/[+module+] "no-such-file" ; then \ @@ -1004,10 +1004,10 @@ ENDIF raw_cxx +] fi; \ srcdiroption="--srcdir=."; \ libsrcdir="."; \ - else \ + else \[+ ENDIF stage +] srcdiroption="--srcdir=$${topdir}/[+module+]"; \ - libsrcdir="$$s/[+module+]"; \ - fi; \ + libsrcdir="$$s/[+module+]"; \[+ IF stage +] + fi; \[+ ENDIF stage +] rm -f no-such-file || : ; \ CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \ $(TARGET_CONFIGARGS) $${srcdiroption} \ |