pmfile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. -- $Source$
  2. -- $State$
  3. local d = ROOTDIR.."mach/proto/top/"
  4. local make_tables = topgen {
  5. file (ROOTDIR.."mach/%PLATFORM%/top/table")
  6. }
  7. local cfile_with_tables = cfile {
  8. class = "cfile_with_tables",
  9. dynamicheaders = {
  10. make_tables,
  11. }
  12. }
  13. proto_top = cprogram {
  14. CINCLUDES = {
  15. PARENT,
  16. "mach/%PLATFORM%/ncg",
  17. "mach",
  18. d
  19. },
  20. cfile_with_tables (d.."queue.c"),
  21. cfile_with_tables (d.."top.c"),
  22. lib_string,
  23. outputs = {"%U%/%PLATFORM%-top"},
  24. install = pm.install("%BINDIR%%PLATDEP%/%PLATFORM%/top")
  25. }
  26. -- Revision history
  27. -- $Log$
  28. -- Revision 1.3 2007-02-20 00:45:19 dtrg
  29. -- Done a major overhaul of the way target include files are installed and
  30. -- how platform libraries are built. The ARCH pm variable has now been
  31. -- renamed PLATFORM (which is more accurate) and a different ARCH
  32. -- variable added, which represents the CPU family rather than the
  33. -- hardware platform.
  34. --
  35. -- Revision 1.2 2006/10/15 00:28:12 dtrg
  36. -- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
  37. --
  38. -- Revision 1.1 2006/07/22 12:31:19 dtrg
  39. -- Added support for the top target peephole optimiser.
  40. --
  41. -- Revision 1.1 2006/07/20 23:18:18 dtrg
  42. -- First version in CVS.
  43. --