old-cross-binutils/gprof/dep-in.sed

21 lines
257 B
Sed
Raw Normal View History

2000-05-26 14:14:21 +00:00
:loop
/\\$/N
s/\\\n */ /g
t loop
2000-05-26 14:14:21 +00:00
s! \./! !g
2000-05-26 14:14:21 +00:00
s!@INCDIR@!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
2000-05-26 14:14:21 +00:00
s!@BFDDIR@!$(BFDDIR)!g
s!@TOPDIR@/bfd!$(BFDDIR)!g
2000-05-26 14:14:21 +00:00
s!@SRCDIR@/!!g
s!@OBJDIR@/!!g
s! \.\./intl/libintl\.h!!g
2000-05-26 14:14:21 +00:00
s/ *$//
s/ */ /g
s/^ */A/
s/ / \\\
B/g
$s/$/ \\/