pmfile 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. -- $Source$
  2. -- $State$
  3. local d = ROOTDIR.."mach/proto/ncg/"
  4. local make_tables = ncgg {
  5. NCGGINCLUDEDIR = (ROOTDIR.."mach/%ARCHDIR%/ncg/"),
  6. file (ROOTDIR.."mach/%ARCHDIR%/ncg/table")
  7. }
  8. local cfile_with_tables = cfile {
  9. class = "cfile_with_tables",
  10. dynamicheaders = {
  11. make_tables,
  12. file (ROOTDIR.."mach/%ARCH%/ncg/"),
  13. file (ROOTDIR.."mach/%ARCHDIR%/ncg/"),
  14. file (ROOTDIR.."mach/")
  15. }
  16. }
  17. proto_ncg = cprogram {
  18. class = "proto_ncg",
  19. cfile_with_tables (d.."codegen.c"),
  20. cfile_with_tables (d.."compute.c"),
  21. cfile_with_tables (d.."equiv.c"),
  22. cfile_with_tables (d.."fillem.c"),
  23. cfile_with_tables (d.."gencode.c"),
  24. cfile_with_tables (d.."glosym.c"),
  25. cfile_with_tables (d.."label.c"),
  26. cfile_with_tables (d.."main.c"),
  27. cfile_with_tables (d.."move.c"),
  28. cfile_with_tables (d.."nextem.c"),
  29. cfile_with_tables (d.."reg.c"),
  30. cfile_with_tables (d.."regvar.c"),
  31. cfile_with_tables (d.."salloc.c"),
  32. cfile_with_tables (d.."state.c"),
  33. cfile_with_tables (d.."subr.c"),
  34. cfile_with_tables (d.."var.c"),
  35. cfile {
  36. ith { make_tables, i = 1 },
  37. dynamicheaders = {
  38. file (ROOTDIR.."mach/%ARCH%/ncg/"),
  39. file (ROOTDIR.."mach/%ARCHDIR%/ncg/"),
  40. file (d)
  41. }
  42. },
  43. lib_em_data,
  44. lib_flt_arith,
  45. outputs = {"%U%/%ARCH%-ncg"},
  46. install = pm.install("%BINDIR%%PLATDEP%/%ARCH%/ncg")
  47. }
  48. -- Revision history
  49. -- $Log$
  50. -- Revision 1.1 2006-07-20 23:18:18 dtrg
  51. -- First version in CVS.
  52. --