old-cross-binutils/gprof/dep-in.sed
2000-05-26 14:14:21 +00:00

17 lines
174 B
Sed

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