de2c7c3f25
Rename plat/linux/libsys/errno.s to plat/linux386/libsys/trapno.s and stop building it for linux68k and linuxppc. It defines symbols for mach/i386/libem. In syscalls.h, the numbers after 165 are only for i386, so hide them from 68k, ppc. These numbers are unused, because the system calls now in libsys use the lower numbers. Also teach the build system that libsys depends on the internal headers in plat/linux/libsys/*.h
36 lines
602 B
Lua
36 lines
602 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/linux386/libsys/trapno.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/osx386/include+pkg",
|
|
},
|
|
vars = {
|
|
plat = "osx386"
|
|
}
|
|
}
|