summaryrefslogtreecommitdiff
path: root/ld/dep-in.sed
blob: 89b120147bd8d384d3017a6161ceda1597458073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
:loop
/\\$/N
/\\$/b loop

s!@INCDIR@!$(INCDIR)!g
s!@SRCDIR@/!!g
s! \.\./bfd/hosts/[^ ]*\.h! !g

s/\\\n */ /g

s/ *$//
s/  */ /g
/:$/d

s/\(.\{50\}[^ ]*\) /\1 \\\
  /g