2016-06-12 18:59:43 +00:00
|
|
|
normalrule {
|
|
|
|
name = "em_path",
|
|
|
|
ins = {},
|
|
|
|
outleaves = { "em_path.h" },
|
|
|
|
commands = {
|
|
|
|
"echo '#define TMP_DIR \"$(ACK_TEMP_DIR)\"' > %{outs}",
|
|
|
|
"echo '#define EM_DIR \"$(PREFIX)\"' >> %{outs}",
|
|
|
|
"echo '#define ACK_PATH \"share/ack/descr\"' >> %{outs}",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
bundle {
|
|
|
|
name = "emheaders",
|
|
|
|
srcs = {
|
|
|
|
"./em_*.h",
|
2016-06-19 07:32:45 +00:00
|
|
|
"./arch.h",
|
2016-06-16 03:26:44 +00:00
|
|
|
"./out.h",
|
2016-06-19 07:32:45 +00:00
|
|
|
"./ranlib.h",
|
2016-06-14 05:34:14 +00:00
|
|
|
"+em_path",
|
2016-06-12 18:59:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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}",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|