Makefile revision 68699
150476Speter# $FreeBSD: head/lib/libkse/Makefile 68699 2000-11-14 02:46:23Z obrien $ 213546Sjulian# 313546Sjulian# All library objects contain rcsid strings by default; they may be 413546Sjulian# excluded as a space-saving measure. To produce a library that does 513546Sjulian# not contain these strings, delete -DLIBC_RCS and -DSYSLIBC_RCS 613546Sjulian# from CFLAGS below. To remove these strings from just the system call 713546Sjulian# stubs, remove just -DSYSLIBC_RCS from CFLAGS. 813546SjulianLIB=c_r 968699SobrienSHLIB_MAJOR= 5 1015635SpeterSHLIB_MINOR= 0 1134366SjbCFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include 1248047SjbCFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread 1354757SjasoneCFLAGS+=-I${.CURDIR}/../../include 1436831Sjb 1536831Sjb# Uncomment this if you want libc_r to contain debug information for 1636831Sjb# thread locking. 1748569SjasoneCFLAGS+=-D_LOCK_DEBUG 1836831Sjb 1953812Salfred# enable extra internal consistancy checks 2067099SdeischenCFLAGS+=-D_PTHREADS_INVARIANTS 2153812Salfred 2234366SjbAINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread 2313546SjulianPRECIOUSLIB= yes 2413546Sjulian 2534366Sjb# 2634366Sjb# This is a list of syscalls that are renamed as _thread_sys_{syscall} 2734366Sjb# so that libc_r can provide replacement functions. 2834366Sjb# 2956698SjasoneHIDDEN_SYSCALLS= aio_suspend.o accept.o bind.o close.o connect.o dup.o dup2.o \ 3036551Sjb execve.o fchflags.o fchmod.o fchown.o fcntl.o \ 3134366Sjb flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \ 3264346Sjlemon getlogin.o getpeername.o getsockname.o getsockopt.o ioctl.o \ 3364346Sjlemon kevent.o listen.o \ 3453812Salfred msync.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \ 3559671Sjasone recvmsg.o sched_yield.o select.o sendfile.o sendmsg.o sendto.o \ 3636551Sjb setsockopt.o shutdown.o sigaction.o sigaltstack.o \ 3753812Salfred signanosleep.o sigpending.o sigprocmask.o sigreturn.o sigsetmask.o \ 3853812Salfred sigsuspend.o socket.o \ 3952233Smarcel socketpair.o wait4.o write.o writev.o 4034366Sjb 4125402Sjb.include "${.CURDIR}/../libc/Makefile.inc" 4217706Sjulian.include "${.CURDIR}/man/Makefile.inc" 4325402Sjb.include "${.CURDIR}/uthread/Makefile.inc" 4413546Sjulian.include "${.CURDIR}/sys/Makefile.inc" 4513546Sjulian 4613546Sjulian.include <bsd.lib.mk> 47