diff --git a/lib/libsys/Makefile.sys b/lib/libsys/Makefile.sys --- a/lib/libsys/Makefile.sys +++ b/lib/libsys/Makefile.sys @@ -27,30 +27,36 @@ .include "${LIBSYS_SRCTOP}/x86/Makefile.sys" .endif -SRCS+= clock_gettime.c gettimeofday.c __vdso_gettimeofday.c - -# Sources common to both syscall interfaces: -SRCS+= \ +SRCS+= \ + POSIX2x_Fork.c \ __error.c \ __getosreldate.c \ + __vdso_gettimeofday.c \ + brk.c \ + clock_gettime.c \ + closefrom.c \ + compat-stub.c \ + creat.c \ + getdents.c \ getpagesize.c \ getpagesizes.c \ - interposing_table.c - -SRCS+= getdents.c lstat.c mknod.c stat.c - -SRCS+= creat.c -SRCS+= lockf.c wait.c wait3.c waitpid.c waitid.c -SRCS+= recv.c recvmmsg.c send.c sendmmsg.c - -SRCS+= brk.c -SRCS+= closefrom.c -SRCS+= pipe.c -SRCS+= shm_open.c -SRCS+= vadvise.c -SRCS+= POSIX2x_Fork.c - -SRCS+= compat-stub.c + gettimeofday.c \ + interposing_table.c \ + lockf.c \ + lstat.c \ + mknod.c \ + pipe.c \ + recv.c \ + recvmmsg.c \ + send.c \ + sendmmsg.c \ + shm_open.c \ + stat.c \ + vadvise.c \ + wait.c \ + wait3.c \ + waitid.c \ + waitpid.c .if ${LIB} == "c" # Trapping stubs in dynamic libc to be filtered by libsys.