mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-18 11:08:26 +00:00
29 lines
482 B
Sed
29 lines
482 B
Sed
:loop
|
|
/\\$/N
|
|
s/\\\n */ /g
|
|
t loop
|
|
|
|
s! \./! !g
|
|
s! @BFD_H@!!g
|
|
s!@SRCDIR@/../include!$(INCDIR)!g
|
|
s!@TOPDIR@/include!$(INCDIR)!g
|
|
s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
|
|
s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
|
|
s!@SRCDIR@/!!g
|
|
s! hosts/[^ ]*\.h!!g
|
|
s! sysdep.h!!g
|
|
s! \.\./bfd/sysdep.h!!g
|
|
s! libbfd.h!!g
|
|
s! config.h!!g
|
|
s! \$(INCDIR)/fopen-[^ ]*\.h!!g
|
|
s! \$(INCDIR)/ansidecl\.h!!g
|
|
s! \$(INCDIR)/symcat\.h!!g
|
|
s! \.\./intl/libintl\.h!!g
|
|
|
|
s/ *$//
|
|
s/ */ /g
|
|
s/^ */A/
|
|
s/ / \\\
|
|
B/g
|
|
$s/$/ \\/
|