7 CFLAGS
+=-I
${.CURDIR
}/..
/libc
/include
8 CFLAGS
+=-I
${.CURDIR
}/..
/libc
/resolv
9 CFLAGS
+=-I
${.CURDIR
}/..
/libc
/rpc
10 CFLAGS
+=-I
${.CURDIR
}/..
/..
/include
11 CFLAGS
+=-I
${.CURDIR
}/..
/libc
/${MACHINE_ARCH}
14 CFLAGS
+=-D__LIBC
-D__LIBC_RTLD
19 # This is a list of syscalls that are renamed as __sys_{syscall}
20 # so that libc_rtld can provide replacement functions.
22 HIDDEN_SYSCALLS
= aio_suspend.o accept.o bind.o close.o connect.o dup.o dup2.o \
23 execve.o fchflags.o fchmod.o fchown.o fcntl.o \
24 flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \
25 getlogin.o getpeername.o getsockname.o getsockopt.o ioctl.o \
26 kevent.o kqueue.o listen.o \
27 msync.o nanosleep.o open.o poll.o read.o readv.o recvfrom.o \
28 recvmsg.o sched_yield.o select.o sendfile.o sendmsg.o sendto.o \
29 setsockopt.o shutdown.o sigaction.o \
30 sigpending.o sigprocmask.o \
31 sigsuspend.o sigtimedwait.o sigwaitinfo.o socket.o \
32 socketpair.o wait4.o write.o writev.o
35 # Include make rules that are shared with libc.
37 .
include "${.CURDIR}/../libc/Makefile.inc"
41 # Disable warnings in contributed sources.
42 CWARNFLAGS
:= ${.IMPSRC
:N
*dtoa
*.c
:C
/^.
+$/${CWARNFLAGS}/:C
/^
$/-w
/}