2016-08-14 09:01:36 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
|
|
|
|
headermap = {}
|
|
|
|
packagemap = {}
|
|
|
|
|
|
|
|
local function addheader(h)
|
|
|
|
headermap[h] = "./"..h
|
|
|
|
packagemap["$(PLATIND)/cpm/include/"..h] = "./"..h
|
|
|
|
end
|
|
|
|
|
2018-06-22 21:43:15 +00:00
|
|
|
addheader("ack/plat.h")
|
2019-06-15 11:07:10 +00:00
|
|
|
addheader("ack/file.h")
|
2018-06-23 09:46:55 +00:00
|
|
|
addheader("sys/types.h")
|
2016-08-14 09:01:36 +00:00
|
|
|
addheader("cpm.h")
|
|
|
|
|
|
|
|
acklibrary {
|
|
|
|
name = "headers",
|
|
|
|
hdrs = headermap
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = packagemap
|
|
|
|
}
|
|
|
|
|
|
|
|
|