2016-06-19 07:32:45 +00:00
|
|
|
local function simpleprogram(name)
|
|
|
|
cprogram {
|
|
|
|
name = name,
|
|
|
|
srcs = { "./"..name..".c" },
|
|
|
|
deps = {
|
|
|
|
"h+emheaders",
|
2017-01-03 18:54:13 +00:00
|
|
|
"modules/src/alloc+lib",
|
|
|
|
"modules/src/data+lib",
|
2016-07-22 22:30:31 +00:00
|
|
|
"modules/src/object+lib",
|
2017-01-03 18:54:13 +00:00
|
|
|
"modules/src/system+lib",
|
2016-06-19 07:32:45 +00:00
|
|
|
}
|
2016-06-16 03:26:44 +00:00
|
|
|
}
|
2016-06-19 07:32:45 +00:00
|
|
|
|
|
|
|
installable {
|
|
|
|
name = name.."-pkg",
|
|
|
|
map = {
|
|
|
|
["$(INSDIR)/bin/"..name] = "+"..name,
|
2017-01-07 21:38:30 +00:00
|
|
|
["$(INSDIR)/share/man/man1/"..name..".1"] = "./"..name..".1",
|
2016-06-19 07:32:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
2017-01-03 18:54:13 +00:00
|
|
|
simpleprogram("abmodules")
|
2016-06-19 07:32:45 +00:00
|
|
|
simpleprogram("aelflod")
|
|
|
|
simpleprogram("anm")
|
|
|
|
simpleprogram("ashow")
|
|
|
|
simpleprogram("asize")
|
|
|
|
simpleprogram("aslod")
|
|
|
|
simpleprogram("astrip")
|
2016-06-16 03:26:44 +00:00
|
|
|
|
|
|
|
installable {
|
2016-06-19 07:32:45 +00:00
|
|
|
name = "pkg",
|
2016-06-16 03:26:44 +00:00
|
|
|
map = {
|
2017-01-03 18:54:13 +00:00
|
|
|
"+abmodules-pkg",
|
2016-06-19 07:32:45 +00:00
|
|
|
"+aelflod-pkg",
|
|
|
|
"+anm-pkg",
|
|
|
|
"+ashow-pkg",
|
|
|
|
"+asize-pkg",
|
|
|
|
"+aslod-pkg",
|
|
|
|
"+astrip-pkg",
|
2016-06-16 03:26:44 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|