ack/util/ass/build.lua

66 lines
884 B
Lua
Raw Normal View History

cprogram {
name = "maktab",
srcs = {
"./maktab.c"
},
deps = {
"h+emheaders",
"modules/src/em_data+lib",
}
}
normalrule {
name = "asstb",
ins = {
"+maktab",
"etc/ip_spec.t"
},
outleaves = {
"asstb.c"
},
commands = {
"%{ins} %{outs}"
}
}
cprogram {
name = "em_ass",
srcs = {
"./ass00.c",
"./ass30.c",
"./ass40.c",
"./ass50.c",
"./ass60.c",
"./ass70.c",
"./ass80.c",
"./assci.c",
"./asscm.c",
"./assda.c",
"./assrl.c",
"+asstb",
},
deps = {
"h+emheaders",
"h+local",
--"modules/src/alloc+lib",
"modules/src/em_data+lib",
"modules/src/data+lib",
--"modules/src/object+lib",
2019-03-17 14:41:25 +00:00
"modules/src/system+lib",
"./ass00.h",
"./assci.h",
"./asscm.h",
"./assex.h",
"./assrl.h",
}
}
installable {
name = "pkg",
map = {
["$(PLATDEP)/em_ass"] = "+em_ass",
["$(INSDIR)/share/man/man6/em_ass.6"] = "./em_ass.6",
}
}