aboutsummaryrefslogtreecommitdiff
path: root/gdb/mpw-make.sed
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-04-02 00:35:28 +0000
committerStan Shebs <shebs@codesourcery.com>1996-04-02 00:35:28 +0000
commit761e98aa6eb0b6ccb28bc9c48ec5c42d1e2b35a4 (patch)
treec9f3e201b0df551233c5dc1c291f36b2da687d0a /gdb/mpw-make.sed
parent0932869065f600dfdb855f6fac5d2da9a3692462 (diff)
downloadgdb-761e98aa6eb0b6ccb28bc9c48ec5c42d1e2b35a4.zip
gdb-761e98aa6eb0b6ccb28bc9c48ec5c42d1e2b35a4.tar.gz
gdb-761e98aa6eb0b6ccb28bc9c48ec5c42d1e2b35a4.tar.bz2
* mpw-make.sed: Change references to config.h to be in objdir,
edit out rules to rebuild config.h.
Diffstat (limited to 'gdb/mpw-make.sed')
-rw-r--r--gdb/mpw-make.sed4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/mpw-make.sed b/gdb/mpw-make.sed
index d7f1d0b..9cfaaa3 100644
--- a/gdb/mpw-make.sed
+++ b/gdb/mpw-make.sed
@@ -71,6 +71,8 @@ readline_headers =\
/version/s/"{s}"version\.c/"{o}"version.c/g
/version/s/^version\.c/"{o}"version.c/
+/config/s/"{s}"config\.h/"{o}"config.h/g
+/config/s/^config\.h/"{o}"config.h/
/xm/s/"{s}"xm\.h/"{o}"xm.h/g
/xm/s/^xm\.h/"{o}"xm.h/
/tm/s/"{s}"tm\.h/"{o}"tm.h/g
@@ -152,6 +154,8 @@ install-only \\Option-f \
/^config.status \\Option-f/,/^$/d
/^Makefile \\Option-f/,/^$/d
+/^"{o}"config.h \\Option-f/s/^/#/
+
# Add an action to build SIOWgdb.
$a\
SIOWgdb \\Option-f {OBS} {TSOBS} {ADD_DEPS} {CDEPS} "{o}"init.c.o\