old-cross-binutils/ld/dep-in.sed

22 lines
286 B
Sed
Raw Normal View History

1999-05-03 07:29:11 +00:00
:loop
/\\$/N
/\\$/b loop
s! \./! !g
1999-05-03 07:29:11 +00:00
s!@INCDIR@!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
s!@BFDDIR@!$(BFDDIR)!g
s!@TOPDIR@/bfd!$(BFDDIR)!g
1999-05-03 07:29:11 +00:00
s!@SRCDIR@/!!g
s! \.\./bfd/hosts/[^ ]*\.h! !g
s! \.\./intl/libintl\.h!!g
1999-05-03 07:29:11 +00:00
s/\\\n */ /g
s/ *$//
s/ */ /g
/:$/d
s/\(.\{50\}[^ ]*\) /\1 \\\
/g