binutils-gdb/binutils/dep-in.sed

22 lines
270 B
Sed

:loop
/\\$/N
/\\$/b loop
s! \./! !g
s!@INCDIR@!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
s!@BFDDIR@!$(BFDDIR)!g
s!@TOPDIR@/bfd!$(BFDDIR)!g
s!@SRCDIR@/!!g
s!@OBJDIR@/!!g
s! \.\./intl/libintl\.h!!g
s/\\\n */ /g
s/ *$//
s/ */ /g
/:$/d
s/\(.\{50\}[^ ]*\) /\1 \\\
/g