2016-11-08 22:13:51 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
|
|
|
|
headermap = {}
|
|
|
|
packagemap = {}
|
|
|
|
|
|
|
|
local function addheader(h)
|
|
|
|
headermap[h] = "plat/osx/include/"..h
|
|
|
|
packagemap["$(PLATIND)/osx/include/"..h] = "plat/osx/include/"..h
|
|
|
|
end
|
|
|
|
|
2018-06-22 21:43:15 +00:00
|
|
|
addheader("ack/plat.h")
|
2016-11-28 19:32:49 +00:00
|
|
|
addheader("sys/dirent.h")
|
2016-11-08 22:13:51 +00:00
|
|
|
addheader("sys/mman.h")
|
2016-11-28 19:32:49 +00:00
|
|
|
addheader("sys/stat.h")
|
2016-11-08 22:13:51 +00:00
|
|
|
addheader("sys/types.h")
|
|
|
|
addheader("unistd.h")
|
|
|
|
|
|
|
|
acklibrary {
|
|
|
|
name = "headers",
|
|
|
|
hdrs = headermap
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = packagemap
|
|
|
|
}
|