aboutsummaryrefslogtreecommitdiff
path: root/ld/dep-in.sed
blob: e51593b19257385b0c8d6bc43141ea2502ae78b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
:loop
/\\$/N
s/\\\n */ /g
t loop

s! \./! !g
s!@INCDIR@!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
s!@BFDDIR@!$(BFDDIR)!g
s!@TOPDIR@/bfd!$(BFDDIR)!g
s!@SRCDIR@/!!g
s! \.\./bfd/hosts/[^ ]*\.h! !g
s! \.\./intl/libintl\.h!!g

s/ *$//
s/  */ /g
s/^ */A/
s/ / \\\nB/g
$s/$/ \\/