aboutsummaryrefslogtreecommitdiff
path: root/gas/mpw-make.sed
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-11-14 04:45:54 +0000
committerStan Shebs <shebs@codesourcery.com>1995-11-14 04:45:54 +0000
commit51bc513e4ef53ebf2580eafcac5757950d3b23ff (patch)
tree10aade24a3ca28ad61ea66a413195486ea70b041 /gas/mpw-make.sed
parent13a0f5955f5eea1befbfb928b9fe296d9ee2dee9 (diff)
downloadgdb-51bc513e4ef53ebf2580eafcac5757950d3b23ff.zip
gdb-51bc513e4ef53ebf2580eafcac5757950d3b23ff.tar.gz
gdb-51bc513e4ef53ebf2580eafcac5757950d3b23ff.tar.bz2
* configure.in (ppc-*-macos*, ppc-*-mpw*): New configurations.
* configure: Update. * mpw-make.sed: Reorder commands to make sed happier. * config/te-macos.h: New file. * config/tc-ppc.h (TARGET_FORMAT): Set correctly for PowerMac.
Diffstat (limited to 'gas/mpw-make.sed')
-rw-r--r--gas/mpw-make.sed10
1 files changed, 6 insertions, 4 deletions
diff --git a/gas/mpw-make.sed b/gas/mpw-make.sed
index a5f4070..4f2d553 100644
--- a/gas/mpw-make.sed
+++ b/gas/mpw-make.sed
@@ -64,16 +64,18 @@ LOCAL_LOADLIBES = \
# Whack out recursive makes, they won't work.
/^[ ][ ]*srcroot=/,/^[ ][ ]*(cd /d
+# Work around quoting problems by using multiple echo commands.
/'#define GAS_VERSION "{VERSION}"'/c\
Echo -n '#define GAS_VERSION "' >> "{o}"config.new\
Echo -n "{VERSION}" >> "{o}"config.new\
Echo -n '"' >> "{o}"config.new
+# Add a "stamps" target.
+$a\
+stamps \\Option-f config-stamp\
+
# Whack out config-rebuilding targets, they won't work.
+/^Makefile \\Option-f/,/^$/d
/^config.status \\Option-f/,/^$/d
/^"{o}"config.h \\Option-f/s/^/#/
-
-# Add a "stamps" target.
-$a\
-stamps \\Option-f config-stamp\