2016-08-14 09:01:36 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
|
|
|
|
headermap = {}
|
|
|
|
packagemap = {}
|
|
|
|
|
|
|
|
local function addheader(h)
|
2018-06-23 10:35:17 +00:00
|
|
|
headermap[h] = "plat/linux/include/"..h
|
|
|
|
packagemap["$(PLATIND)/linux386/include/"..h] = "plat/linux/include/"..h
|
2016-08-14 09:01:36 +00:00
|
|
|
end
|
|
|
|
|
2018-06-22 21:43:15 +00:00
|
|
|
addheader("ack/plat.h")
|
2018-06-23 10:13:33 +00:00
|
|
|
addheader("ack/fcntl.h")
|
|
|
|
addheader("ack/signal.h")
|
2016-08-14 09:01:36 +00:00
|
|
|
addheader("sys/ioctl.h")
|
2018-06-23 10:13:33 +00:00
|
|
|
addheader("sys/types.h")
|
2016-08-14 09:01:36 +00:00
|
|
|
|
|
|
|
acklibrary {
|
|
|
|
name = "headers",
|
|
|
|
hdrs = headermap
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = packagemap
|
|
|
|
}
|
|
|
|
|