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