Retro68/binutils/opcodes/dep-in.sed

21 lines
265 B
Sed
Raw Normal View History

2012-03-26 19:18:29 +00:00
:loop
/\\$/N
s/\\\n */ /g
t loop
s! \./! !g
s! @BFD_H@! $(BFD_H)!g
s!@INCDIR@!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
s!@BFDDIR@!$(BFDDIR)!g
s!@TOPDIR@/bfd!$(BFDDIR)!g
s!@SRCDIR@/!!g
s! \.\./intl/libintl\.h!!g
s/ *$//
s/ */ /g
s/^ */A/
s/ / \\\
B/g
$s/$/ \\/