6584c5c3085ff86c311e411534b5f973a87997ad
[dragonfly.git] / lib / libc_rtld / Makefile
1 # $DragonFly: src/lib/libc_rtld/Makefile,v 1.2 2007/01/16 18:38:08 dillon Exp $
2
3 LIB=    c_rtld
4 INTERNALLIB=
5 INSTALL_PIC_ARCHIVE=
6 NOPROFILE=
7 CFLAGS+=-I${.CURDIR}/../libc/include
8 CFLAGS+=-I${.CURDIR}/../libc/rpc
9 CFLAGS+=-I${.CURDIR}/../../include -D__thread=
10
11 AINC=   -I${.OBJDIR} -I${.CURDIR}/../libc/${MACHINE_ARCH}
12 PRECIOUSLIB=    yes
13
14
15 #
16 # This is a list of syscalls that are renamed as __sys_{syscall}
17 # so that libc_r can provide replacement functions.
18 #
19 HIDDEN_SYSCALLS= aio_suspend.o accept.o bind.o close.o connect.o dup.o dup2.o \
20         execve.o fchflags.o fchmod.o fchown.o fcntl.o \
21         flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \
22         getlogin.o getpeername.o getsockname.o getsockopt.o ioctl.o \
23         kevent.o kqueue.o listen.o \
24         msync.o nanosleep.o open.o poll.o read.o readv.o recvfrom.o \
25         recvmsg.o sched_yield.o select.o sendfile.o sendmsg.o sendto.o \
26         setsockopt.o shutdown.o sigaction.o \
27         sigpending.o sigprocmask.o \
28         sigsuspend.o sigtimedwait.o sigwaitinfo.o socket.o \
29         socketpair.o wait4.o write.o writev.o
30
31 .include "${.CURDIR}/../libc/Makefile.inc"
32
33 .include <bsd.lib.mk>