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")
|
2018-06-23 10:55:59 +00:00
|
|
|
addheader("ack/signal.h")
|
|
|
|
addheader("ack/fcntl.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")
|
2018-06-23 10:55:59 +00:00
|
|
|
addheader("sys/ioctl.h")
|
2016-11-08 22:13:51 +00:00
|
|
|
|
|
|
|
acklibrary {
|
|
|
|
name = "headers",
|
|
|
|
hdrs = headermap
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = packagemap
|
|
|
|
}
|