OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [opcodes/] [mpw-make.sed] - Diff between revs 107 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 107 Rev 1765
# Sed commands to finish translating the opcodes Makefile.in into MPW syntax.
# Sed commands to finish translating the opcodes Makefile.in into MPW syntax.
# Empty HDEFINES.
# Empty HDEFINES.
/HDEFINES/s/@HDEFINES@//
/HDEFINES/s/@HDEFINES@//
# Fix pathnames to include directories.
# Fix pathnames to include directories.
/^INCDIR = /s/^INCDIR = .*$/INCDIR = "{topsrcdir}"include/
/^INCDIR = /s/^INCDIR = .*$/INCDIR = "{topsrcdir}"include/
/^CSEARCH = /s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
/^CSEARCH = /s/$/ -i "{INCDIR}":mpw: -i ::extra-include:/
/BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/
/BFD_MACHINES/s/@BFD_MACHINES@/{BFD_MACHINES}/
/archdefs/s/@archdefs@/{ARCHDEFS}/
/archdefs/s/@archdefs@/{ARCHDEFS}/
# No PIC foolery in this environment.
# No PIC foolery in this environment.
/@ALLLIBS@/s/@ALLLIBS@/{TARGETLIB}/
/@ALLLIBS@/s/@ALLLIBS@/{TARGETLIB}/
/@PICLIST@/s/@PICLIST@//
/@PICLIST@/s/@PICLIST@//
/@PICFLAG@/s/@PICFLAG@//
/@PICFLAG@/s/@PICFLAG@//
/^{OFILES} \\Option-f stamp-picdir/,/^$/d
/^{OFILES} \\Option-f stamp-picdir/,/^$/d
# Remove the pic trickery from the default build rule.
# Remove the pic trickery from the default build rule.
/^\.c\.o \\Option-f /,/End If/c\
/^\.c\.o \\Option-f /,/End If/c\
.c.o \\Option-f .c
.c.o \\Option-f .c
# Remove pic trickery from other rules - aimed at the rule
# Remove pic trickery from other rules - aimed at the rule
# for disassemble.o in particular.
# for disassemble.o in particular.
/-n "{PICFLAG}"/,/End If/d
/-n "{PICFLAG}"/,/End If/d
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.