aboutsummaryrefslogtreecommitdiff
path: root/ld/mpw-make.sed
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1995-11-18 00:50:06 +0000
committerStan Shebs <shebs@codesourcery.com>1995-11-18 00:50:06 +0000
commit5ac7a6e96e12d8e8d44d4fbfe6304f2219c603be (patch)
tree1f56ab23bc5ae0973268cee0d1a90494be7d9693 /ld/mpw-make.sed
parent7bb5e831919bf6dc8db3aabfaa2345fbc07eb195 (diff)
downloadgdb-5ac7a6e96e12d8e8d44d4fbfe6304f2219c603be.zip
gdb-5ac7a6e96e12d8e8d44d4fbfe6304f2219c603be.tar.gz
gdb-5ac7a6e96e12d8e8d44d4fbfe6304f2219c603be.tar.bz2
* configure.tgt (powerpc-*-macos*): New target.
* emulparams/ppcmacos.sh: New file, PowerMac emulation. * Makefile.in (ALL_EMULATIONS): Add eppcmacos.o. (eppcmacos.c): New target. * mpw-eppcmacos.c: Update. * mpw-make.sed: Edit out attempts to use {GENSCRIPTS}.
Diffstat (limited to 'ld/mpw-make.sed')
-rw-r--r--ld/mpw-make.sed4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/mpw-make.sed b/ld/mpw-make.sed
index f672da0..d26fdce 100644
--- a/ld/mpw-make.sed
+++ b/ld/mpw-make.sed
@@ -54,9 +54,13 @@
/ldemul-list.h/s/"{s}"ldemul-list\.h/"{o}"ldemul-list.h/g
/ldemul-list.h/s/^ldemul-list\.h/"{o}"ldemul-list.h/
+# Edit pathnames to emulation files.
/"{s}"e.*\.c/s/"{s}"e\([-_a-z0-9]*\)\.c/"{o}"e\1.c/g
/^e.*\.c/s/^e\([-_a-z0-9]*\)\.c/"{o}"e\1.c/
+# We can't run genscripts, so don't try.
+/{GENSCRIPTS}/s/{GENSCRIPTS}/null-command/
+
#/sed.*free/,/> "{o}"ldlex.c.new/c\
# \ Catenate "{o}"lex.yy.c >"{o}"ldlex.c.new