pmfile 507 B

1234567891011121314151617181920212223242526272829303132
  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%/%PLATFORM%/top")
  25. }