]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gprof/dep-in.sed
Imported binutils-2.20
[msp430-binutils.git] / gprof / dep-in.sed
index aeb22a1acc787f9de5ce605d4c9f53f572d2c0cb..4823f1e3829cfd61978278d4b9e1644878e50faf 100644 (file)
@@ -1,7 +1,9 @@
 :loop
 /\\$/N
-/\\$/b loop
+s/\\\n */ /g
+t loop
 
+s! \./! !g
 s!@INCDIR@!$(INCDIR)!g
 s!@TOPDIR@/include!$(INCDIR)!g
 s!@BFDDIR@!$(BFDDIR)!g
@@ -10,11 +12,9 @@ s!@SRCDIR@/!!g
 s!@OBJDIR@/!!g
 s! \.\./intl/libintl\.h!!g
 
-s/\\\n */ /g
-
 s/ *$//
 s/  */ /g
-/:$/d
-
-s/\(.\{50\}[^ ]*\) /\1 \\\
-  /g
+s/^ */A/
+s/ / \\\
+B/g
+$s/$/ \\/