mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 07:18:49 +01:00
21 lines
257 B
Sed
21 lines
257 B
Sed
: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!@OBJDIR@/!!g
|
|
s! \.\./intl/libintl\.h!!g
|
|
|
|
s/ *$//
|
|
s/ */ /g
|
|
s/^ */A/
|
|
s/ / \\\
|
|
B/g
|
|
$s/$/ \\/
|