aboutsummaryrefslogtreecommitdiff
path: root/gprof/dep-in.sed
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-05-26 14:14:21 +0000
committerAlan Modra <amodra@gmail.com>2000-05-26 14:14:21 +0000
commit2114f57b9397aebda1c89a5c627dba0d34159280 (patch)
tree161cc2f85513b9fd97d58b53533405714bfd1b2e /gprof/dep-in.sed
parent63999bc77ea9235df7970dba3c94333153cfde07 (diff)
downloadgdb-2114f57b9397aebda1c89a5c627dba0d34159280.zip
gdb-2114f57b9397aebda1c89a5c627dba0d34159280.tar.gz
gdb-2114f57b9397aebda1c89a5c627dba0d34159280.tar.bz2
Update dependencies.
Diffstat (limited to 'gprof/dep-in.sed')
-rw-r--r--gprof/dep-in.sed17
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