ack/util/ass/build.lua
David Given 25b6712e63 Rework all the ackbuilder scripts not to use wildcards, because we can't expand
them without luaposix, which isn't available (easily) on OSX or Windows.
2022-07-14 23:57:54 +02:00

66 lines
886 B
Lua

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",
"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",
}
}