2014-07-28 21:19:37 +02:00
|
|
|
.PATH: ${NETBSDSRCDIR}/minix/lib/libc/sys
|
2011-02-17 18:11:09 +01:00
|
|
|
|
2013-03-31 03:24:24 +02:00
|
|
|
SRCS+= accept.c access.c adjtime.c bind.c brk.c sbrk.c m_closefrom.c getsid.c \
|
2011-02-17 18:11:09 +01:00
|
|
|
chdir.c chmod.c fchmod.c chown.c fchown.c chroot.c close.c \
|
2013-03-30 17:59:21 +01:00
|
|
|
clock_getres.c clock_gettime.c clock_settime.c \
|
2011-02-17 18:11:09 +01:00
|
|
|
connect.c dup.c dup2.c execve.c fcntl.c flock.c fpathconf.c fork.c \
|
2014-08-28 17:35:17 +02:00
|
|
|
fstatfs.c fstatvfs.c fsync.c ftruncate.c gcov_flush_sys.c getdents.c \
|
2013-11-04 22:48:08 +01:00
|
|
|
getegid.c getgid.c \
|
2011-02-17 18:11:09 +01:00
|
|
|
getgroups.c getitimer.c setitimer.c __getlogin.c getpeername.c \
|
|
|
|
getpgrp.c getpid.c getppid.c priority.c getrlimit.c getsockname.c \
|
|
|
|
getsockopt.c setsockopt.c gettimeofday.c geteuid.c getuid.c \
|
2013-08-20 01:39:47 +02:00
|
|
|
getvfsstat.c \
|
2011-02-17 18:11:09 +01:00
|
|
|
ioctl.c issetugid.c kill.c link.c listen.c loadname.c lseek.c \
|
|
|
|
minix_rs.c mkdir.c mkfifo.c mknod.c mmap.c mount.c nanosleep.c \
|
2015-06-14 12:29:01 +02:00
|
|
|
open.c pathconf.c pipe.c poll.c posix_spawn.c pread.c ptrace.c pwrite.c \
|
2013-12-02 16:24:13 +01:00
|
|
|
read.c readlink.c reboot.c recvfrom.c recvmsg.c rename.c \
|
2011-02-17 18:11:09 +01:00
|
|
|
rmdir.c select.c sem.c sendmsg.c sendto.c setgroups.c setsid.c \
|
|
|
|
setgid.c settimeofday.c setuid.c shmat.c shmctl.c shmget.c stime.c \
|
|
|
|
vectorio.c shutdown.c sigaction.c sigpending.c sigreturn.c sigsuspend.c\
|
2013-11-04 22:48:08 +01:00
|
|
|
sigprocmask.c socket.c socketpair.c stat.c statvfs.c svrctl.c \
|
|
|
|
symlink.c \
|
2015-09-28 13:11:55 +02:00
|
|
|
sync.c syscall.c sysuname.c truncate.c umask.c unlink.c \
|
|
|
|
wait4.c write.c \
|
2011-12-24 15:02:54 +01:00
|
|
|
utimensat.c utimes.c futimes.c lutimes.c futimens.c \
|
2013-06-25 14:41:01 +02:00
|
|
|
_exit.c _ucontext.c environ.c __getcwd.c vfork.c sizeup.c init.c \
|
2014-04-24 13:39:50 +02:00
|
|
|
getrusage.c setrlimit.c setpgid.c
|
2011-02-17 18:11:09 +01:00
|
|
|
|
2013-12-02 20:03:35 +01:00
|
|
|
# Minix specific syscalls / utils.
|
2015-09-19 18:31:12 +02:00
|
|
|
SRCS+= kernel_utils.c sprofile.c stack_utils.c _mcontext.c
|
2011-02-17 18:11:09 +01:00
|
|
|
|
2014-03-15 14:11:22 +01:00
|
|
|
# Emulation for missing lchown/lchmod
|
|
|
|
OBJS+= lchown.o lchmod.o
|
|
|
|
lchown.o lchown.pico lchown.bc: ${NETBSDSRCDIR}/tools/compat/lchown.c
|
|
|
|
lchmod.o lchmod.pico lchmod.bc: ${NETBSDSRCDIR}/tools/compat/lchmod.c
|
|
|
|
|
2014-07-28 21:19:37 +02:00
|
|
|
.include "${NETBSDSRCDIR}/minix/lib/libc/arch/${ARCHSUBDIR}/sys/Makefile.inc"
|
2014-08-28 17:35:17 +02:00
|
|
|
.include "${NETBSDSRCDIR}/minix/lib/libc/arch/${ARCHSUBDIR}/Makefile.inc"
|