ack/plat/em22/include/build.lua
David Given 7eaa235fd1 Bodge the ancient em monitor library into building as a libsys for the em22
plat. It's completely untested, but it builds and makes e.out executables.
2018-06-13 21:44:25 +09:00

28 lines
393 B
Lua

include("plat/build.lua")
headermap = {}
packagemap = {}
local function addheader(h)
headermap[h] = "./"..h
packagemap["$(PLATIND)/em22/include/"..h] = "./"..h
end
addheader("ack/config.h")
addheader("sys/types.h")
addheader("sys/timeb.h")
addheader("unistd.h")
addheader("sgtty.h")
acklibrary {
name = "headers",
hdrs = headermap
}
installable {
name = "pkg",
map = packagemap
}