2006-07-22 12:31:19 +00:00
|
|
|
-- $Source$
|
|
|
|
-- $State$
|
|
|
|
|
|
|
|
local d = ROOTDIR.."mach/proto/top/"
|
|
|
|
|
|
|
|
local make_tables = topgen {
|
|
|
|
file (ROOTDIR.."mach/%ARCH%/top/table")
|
|
|
|
}
|
|
|
|
|
|
|
|
local cfile_with_tables = cfile {
|
|
|
|
class = "cfile_with_tables",
|
|
|
|
dynamicheaders = {
|
|
|
|
make_tables,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
proto_top = cprogram {
|
|
|
|
CINCLUDES = {
|
|
|
|
PARENT,
|
2006-10-15 00:28:12 +00:00
|
|
|
"mach/%ARCH%/ncg",
|
|
|
|
"mach",
|
|
|
|
d
|
2006-07-22 12:31:19 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
cfile_with_tables (d.."queue.c"),
|
|
|
|
cfile_with_tables (d.."top.c"),
|
|
|
|
|
|
|
|
lib_string,
|
|
|
|
|
|
|
|
outputs = {"%U%/%ARCH%-top"},
|
|
|
|
install = pm.install("%BINDIR%%PLATDEP%/%ARCH%/top")
|
|
|
|
}
|
|
|
|
|
|
|
|
-- Revision history
|
|
|
|
-- $Log$
|
2006-10-15 00:28:12 +00:00
|
|
|
-- Revision 1.2 2006-10-15 00:28:12 dtrg
|
|
|
|
-- Updated to the version 0.1 of Prime Mover (which involves some syntax changes).
|
|
|
|
--
|
|
|
|
-- Revision 1.1 2006/07/22 12:31:19 dtrg
|
2006-07-22 12:31:19 +00:00
|
|
|
-- Added support for the top target peephole optimiser.
|
|
|
|
--
|
|
|
|
-- Revision 1.1 2006/07/20 23:18:18 dtrg
|
|
|
|
-- First version in CVS.
|
|
|
|
--
|