old-cross-binutils/bfd/dep-in.sed

29 lines
482 B
Sed
Raw Normal View History

1999-05-03 07:29:11 +00:00
:loop
/\\$/N
s/\\\n */ /g
t loop
s! \./! !g
1999-05-03 07:29:11 +00:00
s! @BFD_H@!!g
s!@SRCDIR@/../include!$(INCDIR)!g
s!@TOPDIR@/include!$(INCDIR)!g
s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
1999-05-03 07:29:11 +00:00
s!@SRCDIR@/!!g
s! hosts/[^ ]*\.h!!g
s! sysdep.h!!g
1999-05-03 07:29:11 +00:00
s! \.\./bfd/sysdep.h!!g
s! libbfd.h!!g
s! config.h!!g
1999-05-03 07:29:11 +00:00
s! \$(INCDIR)/fopen-[^ ]*\.h!!g
s! \$(INCDIR)/ansidecl\.h!!g
s! \$(INCDIR)/symcat\.h!!g
s! \.\./intl/libintl\.h!!g
1999-05-03 07:29:11 +00:00
s/ *$//
s/ */ /g
s/^ */A/
s/ / \\\
B/g
$s/$/ \\/