binutils-gdb/gprof/dep-in.sed

20 lines
232 B
Sed
Raw Normal View History

2000-05-26 22:14:21 +08:00
:loop
/\\$/N
/\\$/b loop
s!@INCDIR@!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
2000-05-26 22:14:21 +08:00
s!@BFDDIR@!$(BFDDIR)!g
s!@TOPDIR@/bfd!$(BFDDIR)!g
2000-05-26 22:14:21 +08:00
s!@SRCDIR@/!!g
s!@OBJDIR@/!!g
s/\\\n */ /g
s/ *$//
s/ */ /g
/:$/d
s/\(.\{50\}[^ ]*\) /\1 \\\
/g