c569ca15d8
the +pkg forms of the rules and getting the headers via the paths in descr, rather than depending on the +headers version.
36 lines
600 B
Lua
36 lines
600 B
Lua
acklibrary {
|
|
name = "lib",
|
|
srcs = {
|
|
"./_exit.s",
|
|
"./close.s",
|
|
"./fstat.s",
|
|
"./getdirentries.s",
|
|
"./getpid.s",
|
|
"./gettimeofday.s",
|
|
"./ioctl.s",
|
|
"./kill.s",
|
|
"./lseek.s",
|
|
"./lstat.s",
|
|
"./mmap.s",
|
|
"./mprotect.s",
|
|
"./open.s",
|
|
"./read.s",
|
|
"./set_errno.s",
|
|
"./sigaction.s",
|
|
"./stat.s",
|
|
"./write.s",
|
|
"plat/linuxppc/libsys/trap.s",
|
|
"plat/osx/libsys/brk.c",
|
|
"plat/osx/libsys/creat.c",
|
|
"plat/osx/libsys/isatty.c",
|
|
"plat/osx/libsys/signal.c",
|
|
},
|
|
deps = {
|
|
"lang/cem/libcc.ansi/headers+headers",
|
|
"plat/osxppc/include+pkg",
|
|
},
|
|
vars = {
|
|
plat = "osxppc"
|
|
}
|
|
}
|