pmfile 959 B

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