2018-06-10 11:25:48 +00:00
|
|
|
include("plat/build.lua")
|
|
|
|
|
|
|
|
headermap = {}
|
|
|
|
packagemap = {}
|
|
|
|
|
|
|
|
local function addheader(h)
|
|
|
|
headermap[h] = "./"..h
|
|
|
|
packagemap["$(PLATIND)/em22/include/"..h] = "./"..h
|
|
|
|
end
|
|
|
|
|
2018-06-22 21:43:15 +00:00
|
|
|
addheader("ack/plat.h")
|
2018-06-13 12:44:25 +00:00
|
|
|
addheader("sys/types.h")
|
|
|
|
addheader("sys/timeb.h")
|
2018-06-10 11:25:48 +00:00
|
|
|
addheader("unistd.h")
|
2018-06-13 12:44:25 +00:00
|
|
|
addheader("sgtty.h")
|
2018-06-10 11:25:48 +00:00
|
|
|
|
|
|
|
acklibrary {
|
|
|
|
name = "headers",
|
|
|
|
hdrs = headermap
|
|
|
|
}
|
|
|
|
|
|
|
|
installable {
|
|
|
|
name = "pkg",
|
|
|
|
map = packagemap
|
|
|
|
}
|
|
|
|
|
|
|
|
|