X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gprof%2Fdep-in.sed;h=4823f1e3829cfd61978278d4b9e1644878e50faf;hb=5233f39b8b999f2675fb9493149e878c281e1d60;hp=f61921a48285560adfeb00a5eafd6867e8ee652c;hpb=2114f57b9397aebda1c89a5c627dba0d34159280;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/dep-in.sed b/gprof/dep-in.sed index f61921a482..4823f1e382 100644 --- a/gprof/dep-in.sed +++ b/gprof/dep-in.sed @@ -1,17 +1,20 @@ :loop /\\$/N -/\\$/b loop +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/\\\n */ /g +s! \.\./intl/libintl\.h!!g s/ *$// s/ */ /g -/:$/d - -s/\(.\{50\}[^ ]*\) /\1 \\\ - /g +s/^ */A/ +s/ / \\\ +B/g +$s/$/ \\/