dep-in.sed 921 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. :loop
  2. /\\$/N
  3. s/\\\n */ /g
  4. t loop
  5. s! \.\./! !g
  6. s! \./! !g
  7. s!@INCDIR@!$(INCDIR)!g
  8. s!@TOPDIR@/include!$(INCDIR)!g
  9. s!@BFDDIR@!$(BFDDIR)!g
  10. s!@TOPDIR@/bfd!$(BFDDIR)!g
  11. s!@SRCDIR@/config!$(srcdir)/config!g
  12. s!@SRCDIR@/\.\./opcodes!$(srcdir)/../opcodes!g
  13. s!@TOPDIR@/opcodes!$(srcdir)/../opcodes!g
  14. s!@SRCDIR@/!!g
  15. s! \$(srcdir)/config/te-generic\.h!!g
  16. s! itbl-cpu\.h!!g
  17. s! itbl-parse\.h!!g
  18. s! \.\./intl/libintl\.h!!g
  19. s! \.\./bfd/bfd\.h!!g
  20. s! \$(INCDIR)/symcat\.h!!g
  21. s! \$(INCDIR)/ansidecl\.h!!g
  22. s! \$(INCDIR)/libiberty\.h!!g
  23. s! \$(INCDIR)/progress\.h!!g
  24. s! \$(INCDIR)/fopen-[^ ]*\.h!!g
  25. s! obj-format\.h!!g
  26. s! targ-cpu\.h!!g
  27. s! targ-env\.h!!g
  28. s! as\.h!!g
  29. s! asintl\.h!!g
  30. s! bignum\.h!!g
  31. s! bit_fix\.h!!g
  32. s! config\.h!!g
  33. s! emul\.h!!g
  34. s! expr\.h!!g
  35. s! flonum\.h!!g
  36. s! frags\.h!!g
  37. s! hash\.h!!g
  38. s! listing\.h!!g
  39. s! obj\.h!!g
  40. s! read\.h!!g
  41. s! symbols\.h!!g
  42. s! tc\.h!!g
  43. s! write\.h!!g
  44. s/ *$//
  45. s/ */ /g
  46. s/^ */A/
  47. s/ / \\\
  48. B/g
  49. $s/$/ \\/