darling-gdb/bfd/dep-in.sed

32 lines
516 B
Sed
Raw Normal View History

1999-05-03 07:29:11 +00:00
:loop
/\\$/N
s/\\\n */ /g
t loop
s!\.o:!.lo:!
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
2000-04-11 23:57:13 +00:00
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/\\\n */ /g
s/ *$//
s/ */ /g
s/ *:/:/g
/:$/d
s/\(.\{50\}[^ ]*\) /\1 \\\
/g