binutils-gdb/bfd/dep-in.sed

33 lines
527 B
Sed
Raw Normal View History

1999-05-03 15:29:11 +08:00
:loop
/\\$/N
s/\\\n */ /g
t loop
s!\.o:!.lo:!
s! \./! !g
1999-05-03 15:29:11 +08: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 15:29:11 +08:00
s!@SRCDIR@/!!g
2000-04-12 07:57:13 +08:00
s! hosts/[^ ]*\.h! !g
s! sysdep.h!!g
1999-05-03 15:29:11 +08:00
s! \.\./bfd/sysdep.h!!g
s! libbfd.h!!g
s! config.h!!g
1999-05-03 15:29:11 +08:00
s! \$(INCDIR)/fopen-[^ ]*\.h!!g
s! \$(INCDIR)/ansidecl\.h!!g
s! \$(INCDIR)/symcat\.h!!g
s! \.\./intl/libintl\.h!!g
1999-05-03 15:29:11 +08:00
s/\\\n */ /g
s/ *$//
s/ */ /g
s/ *:/:/g
/:$/d
s/\(.\{50\}[^ ]*\) /\1 \\\
/g