Makefile revision 50476
150476Speter# $FreeBSD: head/lib/libkse/Makefile 50476 1999-08-28 00:22:10Z peter $ 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 1834366SjbAINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread 1913546SjulianPRECIOUSLIB= yes 2013546Sjulian 2134366Sjb# 2234366Sjb# This is a list of syscalls that are renamed as _thread_sys_{syscall} 2334366Sjb# so that libc_r can provide replacement functions. 2434366Sjb# 2534366SjbHIDDEN_SYSCALLS= accept.o bind.o close.o connect.o dup.o dup2.o \ 2636551Sjb execve.o fchflags.o fchmod.o fchown.o fcntl.o \ 2734366Sjb flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \ 2834366Sjb getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \ 2941660Sjb nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \ 3036552Sjb recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \ 3136551Sjb setsockopt.o shutdown.o sigaction.o sigaltstack.o \ 3236551Sjb signanosleep.o socket.o socketpair.o wait4.o write.o writev.o 3334366Sjb 3425402Sjb.include "${.CURDIR}/../libc/Makefile.inc" 3517706Sjulian.include "${.CURDIR}/man/Makefile.inc" 3625402Sjb.include "${.CURDIR}/uthread/Makefile.inc" 3713546Sjulian.include "${.CURDIR}/sys/Makefile.inc" 3813546Sjulian 3913546Sjulian.include <bsd.lib.mk> 40