Makefile revision 53812
150476Speter# $FreeBSD: head/lib/libkse/Makefile 53812 1999-11-28 05:38:13Z alfred $ 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 948047SjbSHLIB_MAJOR= 4 1015635SpeterSHLIB_MINOR= 0 1134366SjbCFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include 1248047SjbCFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread 1336831Sjb 1436831Sjb# Uncomment this if you want libc_r to contain debug information for 1536831Sjb# thread locking. 1648569SjasoneCFLAGS+=-D_LOCK_DEBUG 1736831Sjb 1853812Salfred# enable extra internal consistancy checks 1953812Salfred# CFLAGS+=-D_PTHREADS_INVARIANTS 2053812Salfred 2134366SjbAINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread 2213546SjulianPRECIOUSLIB= yes 2313546Sjulian 2434366Sjb# 2534366Sjb# This is a list of syscalls that are renamed as _thread_sys_{syscall} 2634366Sjb# so that libc_r can provide replacement functions. 2734366Sjb# 2834366SjbHIDDEN_SYSCALLS= accept.o bind.o close.o connect.o dup.o dup2.o \ 2936551Sjb execve.o fchflags.o fchmod.o fchown.o fcntl.o \ 3034366Sjb flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \ 3153812Salfred getlogin.o getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \ 3253812Salfred msync.o nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \ 3336552Sjb recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \ 3436551Sjb setsockopt.o shutdown.o sigaction.o sigaltstack.o \ 3553812Salfred signanosleep.o sigpending.o sigprocmask.o sigreturn.o sigsetmask.o \ 3653812Salfred sigsuspend.o socket.o \ 3752233Smarcel socketpair.o wait4.o write.o writev.o 3834366Sjb 3925402Sjb.include "${.CURDIR}/../libc/Makefile.inc" 4017706Sjulian.include "${.CURDIR}/man/Makefile.inc" 4125402Sjb.include "${.CURDIR}/uthread/Makefile.inc" 4213546Sjulian.include "${.CURDIR}/sys/Makefile.inc" 4313546Sjulian 4413546Sjulian.include <bsd.lib.mk> 45