summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/opcodes/mpw-make.sed
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/opcodes/mpw-make.sed')
-rw-r--r--gnu/usr.bin/binutils/opcodes/mpw-make.sed9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/opcodes/mpw-make.sed b/gnu/usr.bin/binutils/opcodes/mpw-make.sed
new file mode 100644
index 00000000000..3319b1613fc
--- /dev/null
+++ b/gnu/usr.bin/binutils/opcodes/mpw-make.sed
@@ -0,0 +1,9 @@
+# Sed commands to finish translating the opcodes Makefile.in into MPW syntax.
+
+# Empty HDEFINES.
+/HDEFINES/s/@HDEFINES@//
+
+/INCDIR=/s/"{srcdir}":/"{topsrcdir}"/
+/^CSEARCH = .*$/s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
+/BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/
+/archdefs/s/@archdefs@/{ARCHDEFS}/