2018-06-09 12:13:31 +00:00
|
|
|
normalrule {
|
|
|
|
name = "trap_msg",
|
|
|
|
ins = {
|
|
|
|
"./M.trap_msg",
|
|
|
|
"etc/traps"
|
|
|
|
},
|
|
|
|
outleaves = {"trap_msg"},
|
|
|
|
commands = {
|
|
|
|
"%{ins} > %{outs}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
normalrule {
|
|
|
|
name = "warn_msg",
|
|
|
|
ins = {
|
|
|
|
"./M.warn_msg",
|
|
|
|
"etc/traps"
|
|
|
|
},
|
|
|
|
outleaves = {"warn_msg"},
|
|
|
|
commands = {
|
|
|
|
"%{ins} > %{outs}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
normalrule {
|
|
|
|
name = "warn_h",
|
|
|
|
ins = {
|
|
|
|
"./M.warn_h",
|
|
|
|
"doc/int/appA" -- there's a 1991 comment saying this needs to be moved
|
|
|
|
},
|
|
|
|
outleaves = {"warn.h"},
|
|
|
|
commands = {
|
|
|
|
"%{ins} > %{outs}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
cprogram {
|
|
|
|
name = "mkiswitch",
|
|
|
|
srcs = {"./switch/mkiswitch.c"},
|
|
|
|
deps = {
|
|
|
|
"h+emheaders",
|
|
|
|
"modules/src/em_data+lib",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
normalrule {
|
|
|
|
name = "docases",
|
|
|
|
ins = {
|
|
|
|
"+mkiswitch",
|
|
|
|
"etc/ip_spec.t"
|
|
|
|
},
|
|
|
|
outleaves = {"DoCases"},
|
|
|
|
commands = {
|
|
|
|
"%{ins[1]} Do %{ins[2]} %{outs}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
cprogram {
|
|
|
|
name = "mkswitch",
|
|
|
|
srcs = {"./switch/mkswitch.c"}
|
|
|
|
}
|
|
|
|
|
|
|
|
normalrule {
|
|
|
|
name = "prcases",
|
|
|
|
ins = {
|
|
|
|
"+mkswitch",
|
|
|
|
"etc/ip_spec.t"
|
|
|
|
},
|
|
|
|
outleaves = {"PrCases"},
|
|
|
|
commands = {
|
|
|
|
"%{ins[1]} Pr %{ins[2]} %{outs}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
clibrary {
|
|
|
|
name = "generated",
|
|
|
|
srcs = {},
|
|
|
|
hdrs = {
|
|
|
|
"+warn_msg",
|
|
|
|
"+trap_msg",
|
|
|
|
"+warn_h",
|
|
|
|
"+docases",
|
|
|
|
"+prcases",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
cprogram {
|
|
|
|
name = "int",
|
|
|
|
srcs = {
|
|
|
|
"./*.c",
|
|
|
|
},
|
|
|
|
deps = {
|
|
|
|
"h+emheaders",
|
|
|
|
"+generated",
|
|
|
|
"modules/src/em_data+lib",
|
|
|
|
},
|
|
|
|
vars = {
|
|
|
|
["+cflags"] = {"-Wno-implicit-int"}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = {
|
2018-11-05 20:14:29 +00:00
|
|
|
["$(INSDIR)/bin/int"] = "+int",
|
2018-06-09 12:13:31 +00:00
|
|
|
["$(INSDIR)/share/man/man1/int.1"] = "./int.1",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|