URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [insight/] [opcodes/] [mpw-make.sed] - Blame information for rev 1765
Details |
Compare with Previous |
View Log
| Line No. |
Rev |
Author |
Line |
| 1 |
578 |
markom |
# Sed commands to finish translating the opcodes Makefile.in into MPW syntax.
|
| 2 |
|
|
|
| 3 |
|
|
# Empty HDEFINES.
|
| 4 |
|
|
/HDEFINES/s/@HDEFINES@//
|
| 5 |
|
|
|
| 6 |
|
|
# Fix pathnames to include directories.
|
| 7 |
|
|
/^INCDIR = /s/^INCDIR = .*$/INCDIR = "{topsrcdir}"include/
|
| 8 |
|
|
/^CSEARCH = /s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
|
| 9 |
|
|
|
| 10 |
|
|
/BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/
|
| 11 |
|
|
/archdefs/s/@archdefs@/{ARCHDEFS}/
|
| 12 |
|
|
|
| 13 |
|
|
# No PIC foolery in this environment.
|
| 14 |
|
|
/@ALLLIBS@/s/@ALLLIBS@/{TARGETLIB}/
|
| 15 |
|
|
/@PICLIST@/s/@PICLIST@//
|
| 16 |
|
|
/@PICFLAG@/s/@PICFLAG@//
|
| 17 |
|
|
/^{OFILES} \\Option-f stamp-picdir/,/^$/d
|
| 18 |
|
|
|
| 19 |
|
|
# Remove the pic trickery from the default build rule.
|
| 20 |
|
|
/^\.c\.o \\Option-f /,/End If/c\
|
| 21 |
|
|
.c.o \\Option-f .c
|
| 22 |
|
|
|
| 23 |
|
|
# Remove pic trickery from other rules - aimed at the rule
|
| 24 |
|
|
# for disassemble.o in particular.
|
| 25 |
|
|
/-n "{PICFLAG}"/,/End If/d
|
© copyright 1999-2026
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.