2006-07-22 12:31:19 +00:00
|
|
|
-- $Source$
|
|
|
|
-- $State$
|
|
|
|
|
|
|
|
local d = ROOTDIR.."mach/proto/top/"
|
|
|
|
|
|
|
|
local make_tables = topgen {
|
2007-04-29 23:03:24 +00:00
|
|
|
file (ROOTDIR.."mach/%ARCH%/top/table")
|
2006-07-22 12:31:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
local cfile_with_tables = cfile {
|
|
|
|
class = "cfile_with_tables",
|
|
|
|
dynamicheaders = {
|
|
|
|
make_tables,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
proto_top = cprogram {
|
|
|
|
CINCLUDES = {
|
|
|
|
PARENT,
|
2007-04-29 23:03:24 +00:00
|
|
|
"mach/%ARCH%/ncg",
|
2006-10-15 00:28:12 +00:00
|
|
|
"mach",
|
|
|
|
d
|
2006-07-22 12:31:19 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
cfile_with_tables (d.."queue.c"),
|
|
|
|
cfile_with_tables (d.."top.c"),
|
|
|
|
|
|
|
|
lib_string,
|
|
|
|
|
2007-04-29 23:03:24 +00:00
|
|
|
outputs = {"%U%/%ARCH%-top"},
|
2007-02-20 00:46:10 +00:00
|
|
|
install = pm.install("%BINDIR%%PLATDEP%/%PLATFORM%/top")
|
2006-07-22 12:31:19 +00:00
|
|
|
}
|