aboutsummaryrefslogtreecommitdiff
path: root/sim/common/aclocal.m4
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1997-09-04 00:49:57 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1997-09-04 00:49:57 +0000
commit88d5f8e854b0d8bfe08c006fb21783821c44898b (patch)
treeeb283704b22571089249a6f7967ccdc8ff688154 /sim/common/aclocal.m4
parent3234b2e7a5fe213778abc686abcc3f5b1f44fa7d (diff)
downloadgdb-88d5f8e854b0d8bfe08c006fb21783821c44898b.zip
gdb-88d5f8e854b0d8bfe08c006fb21783821c44898b.tar.gz
gdb-88d5f8e854b0d8bfe08c006fb21783821c44898b.tar.bz2
* gdbinit.in: New file.
* aclocal.m4 (SIM_AC_OUTPUT): Build .gdbinit. * Make-common.in (distclean): Delete .gdbinit. (.gdbinit): Add rule for. * configure: Regenerated to track ../common/aclocal.m4 changes.
Diffstat (limited to 'sim/common/aclocal.m4')
-rw-r--r--sim/common/aclocal.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/sim/common/aclocal.m4 b/sim/common/aclocal.m4
index 4680d82..dec7e69 100644
--- a/sim/common/aclocal.m4
+++ b/sim/common/aclocal.m4
@@ -575,8 +575,9 @@ dnl the target's fragment at the appropriate points.
AC_DEFUN(SIM_AC_OUTPUT,
[
AC_LINK_FILES($sim_link_files, $sim_link_links)
-AC_OUTPUT(Makefile.sim:Makefile.in Make-common.sim:../common/Make-common.in,
-[case "x$CONFIG_FILES" in xMakefile*)
+AC_OUTPUT(Makefile.sim:Makefile.in Make-common.sim:../common/Make-common.in .gdbinit:../common/gdbinit.in,
+[case "x$CONFIG_FILES" in
+ xMakefile*)
echo "Merging Makefile.sim+Make-common.sim into Makefile ..."
rm -f Makesim1.tmp Makesim2.tmp Makefile
sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' <Make-common.sim >Makesim1.tmp