ack/util/misc/build.lua

48 lines
956 B
Lua
Raw Permalink Normal View History

cprogram {
name = "esize",
srcs = { "./esize.c" },
}
cprogram {
name = "encode",
srcs = { "./convert.c" },
deps = {
"h+emheaders",
"modules+headers",
"modules/src/alloc+lib",
"modules/src/em_code+lib_k",
"modules/src/print+lib",
"modules/src/read_em+lib_ev",
"modules/src/string+lib",
"modules/src/system+lib",
"modules/src/em_data+lib",
}
}
2016-08-07 19:56:53 +00:00
cprogram {
name = "decode",
srcs = { "./convert.c" },
deps = {
"h+emheaders",
"modules+headers",
"modules/src/alloc+lib",
"modules/src/em_code+lib_e",
2016-08-07 19:56:53 +00:00
"modules/src/print+lib",
"modules/src/read_em+lib_kv",
"modules/src/string+lib",
"modules/src/system+lib",
"modules/src/em_data+lib",
2016-08-07 19:56:53 +00:00
}
}
installable {
name = "pkg",
map = {
["$(PLATDEP)/em_encode"] = "+encode",
2016-08-07 19:56:53 +00:00
["$(PLATDEP)/em_decode"] = "+decode",
["$(INSDIR)/bin/esize"] = "+esize",
2017-01-07 21:38:30 +00:00
["$(INSDIR)/share/man/man1/esize.1"] = "./esize.1",
["$(INSDIR)/share/man/man6/em_decode.6"] = "./em_decode.6"
}
}