old-cross-binutils/gprof/dep-in.sed
Alan Modra 67a648f17a * dep-in.sed: Don't use \n in replacement part of s command.
* Makefile.am (DEP1): LC_ALL for uniq.
	* Makefile.in: Regenerate.
2009-06-04 06:57:56 +00:00

20 lines
257 B
Sed

:loop
/\\$/N
s/\\\n */ /g
t 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/ *$//
s/ */ /g
s/^ */A/
s/ / \\\
B/g
$s/$/ \\/