Projet_SETI_RISC-V/riscv-gnu-toolchain/gdb/binutils/dep-in.sed

21 lines
257 B
Sed
Raw Normal View History

2023-03-06 14:48:14 +01:00
: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/$/ \\/