summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/ld/dep-in.sed
blob: aad7d92d8be8d7bcf96a5a26b7ee39b70853fb46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
:loop
/\\$/N
/\\$/b loop

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/\\\n */ /g

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

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