diff options
Diffstat (limited to 'gprof/dep-in.sed')
-rw-r--r-- | gprof/dep-in.sed | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gprof/dep-in.sed b/gprof/dep-in.sed new file mode 100644 index 0000000..f61921a --- /dev/null +++ b/gprof/dep-in.sed @@ -0,0 +1,17 @@ +: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 |