pmfile 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. -- $Source: /cvsroot/tack/Ack/plat/linux386/pmfile,v $
  2. -- $State: Exp $
  3. -- $Revision: 1.3 $
  4. local d = ROOTDIR.."plat/linuxppc/"
  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/%PLATFORM%/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_linuxppc = group {
  21. ARCH = "powerpc",
  22. PLATFORM = "linuxppc",
  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_powerpc,
  30. support_powerpc,
  31. lang_runtimes,
  32. -- Build the PC standalone syscall library.
  33. liblinux,
  34. libsys_linuxppc,
  35. bootsector,
  36. }