binutils-gdb/binutils/dep-in.sed

20 lines
232 B
Sed

:loop
/\\$/N
/\\$/b loop
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/\\\n */ /g
s/ *$//
s/ */ /g
/:$/d
s/\(.\{50\}[^ ]*\) /\1 \\\
/g