dep-in.sed 482 B

12345678910111213141516171819202122232425262728
  1. :loop
  2. /\\$/N
  3. s/\\\n */ /g
  4. t loop
  5. s! \./! !g
  6. s! @BFD_H@!!g
  7. s!@SRCDIR@/../include!$(INCDIR)!g
  8. s!@TOPDIR@/include!$(INCDIR)!g
  9. s!@SRCDIR@/../opcodes!$(srcdir)/../opcodes!g
  10. s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
  11. s!@SRCDIR@/!!g
  12. s! hosts/[^ ]*\.h!!g
  13. s! sysdep.h!!g
  14. s! \.\./bfd/sysdep.h!!g
  15. s! libbfd.h!!g
  16. s! config.h!!g
  17. s! \$(INCDIR)/fopen-[^ ]*\.h!!g
  18. s! \$(INCDIR)/ansidecl\.h!!g
  19. s! \$(INCDIR)/symcat\.h!!g
  20. s! \.\./intl/libintl\.h!!g
  21. s/ *$//
  22. s/ */ /g
  23. s/^ */A/
  24. s/ / \\\
  25. B/g
  26. $s/$/ \\/