binutils-gdb/ld/dep-in.sed

21 lines
273 B
Sed
Raw Normal View History

1999-05-03 09:29:11 +02:00
:loop
/\\$/N
s/\\\n */ /g
t loop
1999-05-03 09:29:11 +02:00
s! \./! !g
1999-05-03 09:29:11 +02:00
s!@INCDIR@!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
s!@BFDDIR@!$(BFDDIR)!g
s!@TOPDIR@/bfd!$(BFDDIR)!g
1999-05-03 09:29:11 +02:00
s!@SRCDIR@/!!g
s! \.\./bfd/hosts/[^ ]*\.h! !g
s! \.\./intl/libintl\.h!!g
1999-05-03 09:29:11 +02:00
s/ *$//
s/ */ /g
s/^ */A/
s/ / \\\
B/g
$s/$/ \\/