pmfile 835 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. -- $Source$
  2. -- $State$
  3. local d = ROOTDIR.."mach/proto/top/"
  4. local make_tables = topgen {
  5. file (ROOTDIR.."mach/%ARCH%/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/%ARCH%/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%/%ARCH%-top"},
  24. install = pm.install("%BINDIR%%PLATDEP%/%ARCH%/top")
  25. }
  26. -- Revision history
  27. -- $Log$
  28. -- Revision 1.2 2006-10-15 00:28:12 dtrg
  29. -- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
  30. --
  31. -- Revision 1.1 2006/07/22 12:31:19 dtrg
  32. -- Added support for the top target peephole optimiser.
  33. --
  34. -- Revision 1.1 2006/07/20 23:18:18 dtrg
  35. -- First version in CVS.
  36. --