2016-06-12 18:59:43 +00:00
|
|
|
normalrule {
|
|
|
|
name = "em_path",
|
|
|
|
ins = {},
|
|
|
|
outleaves = { "em_path.h" },
|
|
|
|
commands = {
|
2022-07-19 22:24:52 +00:00
|
|
|
"echo '#define EM_DIR \"$(PREFIX)\"' > %{outs}",
|
2016-06-12 18:59:43 +00:00
|
|
|
"echo '#define ACK_PATH \"share/ack/descr\"' >> %{outs}",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
normalrule {
|
|
|
|
name = "local",
|
|
|
|
ins = {},
|
|
|
|
outleaves = { "local.h" },
|
|
|
|
commands = {
|
|
|
|
"echo '#define VERSION 3' > %{outs}",
|
|
|
|
"echo '#define ACKM \"$(DEFAULT_PLATFORM)\"' >> %{outs}",
|
|
|
|
"echo '#define BIGMACHINE 1' >> %{outs}",
|
|
|
|
"echo '#define SYS_5' >> %{outs}",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-07-19 21:43:14 +00:00
|
|
|
clibrary {
|
|
|
|
name = "emheaders",
|
|
|
|
hdrs = {
|
2022-07-14 21:57:54 +00:00
|
|
|
"./arch.h",
|
|
|
|
"./as_spec.h",
|
|
|
|
"./cgg_cg.h",
|
|
|
|
"./cg_pattern.h",
|
|
|
|
"./em_abs.h",
|
|
|
|
"./em_ego.h",
|
|
|
|
"./em_flag.h",
|
|
|
|
"./em_mes.h",
|
|
|
|
"./em_ptyp.h",
|
|
|
|
"./em_reg.h",
|
|
|
|
"./ip_spec.h",
|
|
|
|
"./ocm_chan.h",
|
|
|
|
"./ocm_parco.h",
|
|
|
|
"./ocm_proc.h",
|
|
|
|
"./out.h",
|
|
|
|
"./ranlib.h",
|
|
|
|
"./stb.h",
|
2016-07-26 21:35:30 +00:00
|
|
|
"./con_float",
|
2016-07-19 21:43:14 +00:00
|
|
|
"+em_path",
|
|
|
|
"+local",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|