freebsd-dev/contrib/binutils/ld/dep-in.sed

22 lines
286 B
Sed
Raw Normal View History

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