aboutsummaryrefslogtreecommitdiff
path: root/Makefile.tpl
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2002-12-28 07:09:15 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2002-12-28 07:09:15 +0000
commita0da806933da40a251fd3c11e47d8e378731f55a (patch)
tree3eaccddaf868497077f5c97038a5cb68ad0c7e7d /Makefile.tpl
parentbe2533e5128bf3d30371e81223856be4ee380d77 (diff)
downloadgdb-a0da806933da40a251fd3c11e47d8e378731f55a.zip
gdb-a0da806933da40a251fd3c11e47d8e378731f55a.tar.gz
gdb-a0da806933da40a251fd3c11e47d8e378731f55a.tar.bz2
(toplev)
* configure.in: Convert to autoconf script. Blow away lots of now-redundant Makefile fragments. * configure: Generate using Autoconf. * Makefile.tpl: Rewrite to reflect autoconfiscation. * Makefile.in: Regenerate. (config) * acx.m4: New. * mh-a68bsd, mh-aix386, mh-apollo68, mh-delta88, mh-hp300, mh-hpux, mh-hpux8, mh-irix5, mh-irix6, mh-ncrsvr43, mh-openedition, mh-riscos, mh-sysv: Delete. * mh-cxux, mh-dgux386, mh-interix, mh-lynxrs6k, mh-ncr3000, mh-necv4, mh-sco, mh-solaris, mh-sysv4, mh-sysv5, mt-v810: Simplify.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r--Makefile.tpl19
1 files changed, 11 insertions, 8 deletions
diff --git a/Makefile.tpl b/Makefile.tpl
index 31ee233..ce1ef74 100644
--- a/Makefile.tpl
+++ b/Makefile.tpl
@@ -372,6 +372,10 @@ all: all.normal
.PHONY: all
#### host and target specific makefile fragments come in here.
+@target_makefile_frag@
+@alphaieee_frag@
+@ospace_frag@
+@host_makefile_frag@
###
# Flags to pass down to all sub-makes.
@@ -643,7 +647,7 @@ local-clean:
local-distclean:
-rm -f Makefile config.status config.cache mh-frag mt-frag
- -rm -f multilib.out multilib.ts multilib.tmp
+ -rm -f multilib.out multilib.ts multilib.tmp maybedep.tmp serdep.tmp
-if [ "$(TARGET_SUBDIR)" != "." ]; then \
rm -rf $(TARGET_SUBDIR); \
else true; fi
@@ -1413,14 +1417,13 @@ multilib.ts: maybe-all-gcc
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
cd $(srcdir) && autogen Makefile.def
-# with the gnu make, this is done automatically.
-
-host_makefile_frag=@host_makefile_frag@
-target_makefile_frag=@target_makefile_frag@
-
-Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) $(gcc_version_trigger)
- $(SHELL) ./config.status
+# Rebuilding Makefile.
+Makefile: Makefile.in configure $(gcc_version_trigger)
+ $(SHELL) ./config.status --recheck
+# Rebuilding configure.
+configure: configure.in
+ cd $(srcdir) && autoconf
#
.NOEXPORT: