pmfile 890 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. -- $Source$
  2. -- $State$
  3. -- $Revision$
  4. local d = ROOTDIR.."plat/pc86/"
  5. include (d.."libsys/pmfile")
  6. local bootsector = ackfile {
  7. file (d.."boot.s"),
  8. install = pm.install("%BINDIR%lib/pc86/boot.o"),
  9. }
  10. local descr = group {
  11. install = pm.install(d.."descr", "%BINDIR%%PLATIND%/%PLATFORM%/descr")
  12. }
  13. local headers = group {
  14. install = {
  15. pm.install(d.."include/ack/config.h", "%BINDIR%%PLATIND%/%PLATFORM%/include/ack/config.h"),
  16. pm.install(d.."include/unistd.h", "%BINDIR%%PLATIND%/%PLATFORM%/include/unistd.h"),
  17. }
  18. }
  19. platform_pc86 = group {
  20. ARCH = "i86",
  21. PLATFORM = "pc86",
  22. OPTIMISATION = "-O",
  23. -- Ensure the descr and headers are installed first because we'll need
  24. -- them to build the libraries.
  25. descr,
  26. headers,
  27. -- Build the back-end support.
  28. mach_i86,
  29. support_i86,
  30. lang_runtimes,
  31. -- Build the PC standalone syscall library.
  32. libsys_pc86,
  33. bootsector,
  34. }