xref: /freebsd/lib/libc/sys/Makefile.inc (revision 3f0efe05432b1633991114ca4ca330102a561959)
1# libc-specific portion of the system call interface
2
3.PATH: ${LIBC_SRCTOP}/sys
4
5# Most of the implementation is shared with libsys:
6.include "${LIBSYS_SRCTOP}/Makefile.sys"
7
8# emit empty assembly stubs for syscalls in dynamic libc
9SHARED_CFLAGS+=	-D'_SYSCALL_BODY(name)='
10
11SYM_MAPS+=	${LIBC_SRCTOP}/sys/Symbol.map
12
13# Add the interposer wrappers
14SRCS+=	${INTERPOSED:S/$/.c/}
15
16# Pseudo system calls implemented atop other interfaces.
17SRCS+= \
18	POSIX2x_Fork.c \
19	brk.c \
20	closefrom.c \
21	compat-stub.c \
22	creat.c \
23	getdents.c \
24	lockf.c \
25	lstat.c \
26	mknod.c \
27	pipe.c \
28	recv.c \
29	recvmmsg.c \
30	send.c \
31	sendmmsg.c \
32	shm_open.c \
33	stat.c \
34	vadvise.c \
35	wait.c \
36	wait3.c \
37	waitid.c \
38	waitpid.c
39