Makefile revision 48047
197318Sphk# $Id: Makefile,v 1.14 1998/12/10 20:27:52 jb Exp $ 297318Sphk# 397318Sphk# All library objects contain rcsid strings by default; they may be 497318Sphk# excluded as a space-saving measure. To produce a library that does 597318Sphk# not contain these strings, delete -DLIBC_RCS and -DSYSLIBC_RCS 697318Sphk# from CFLAGS below. To remove these strings from just the system call 797318Sphk# stubs, remove just -DSYSLIBC_RCS from CFLAGS. 897318SphkLIB=c_r 997318SphkSHLIB_MAJOR= 4 1097318SphkSHLIB_MINOR= 0 1197318SphkCFLAGS+=-DLIBC_RCS -DSYSLIBC_RCS -I${.CURDIR}/../libc/include 1297318SphkCFLAGS+=-DPTHREAD_KERNEL -D_THREAD_SAFE -I${.CURDIR}/uthread 1397318Sphk 1497318Sphk# Uncomment this if you want libc_r to contain debug information for 1597318Sphk# thread locking. 1697318Sphk#CFLAGS+=-D_LOCK_DEBUG 1797318Sphk 1897318SphkAINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/uthread 1997318SphkPRECIOUSLIB= yes 2097318Sphk 2197318Sphk# 2297318Sphk# This is a list of syscalls that are renamed as _thread_sys_{syscall} 2397318Sphk# so that libc_r can provide replacement functions. 2497318Sphk# 2597318SphkHIDDEN_SYSCALLS= accept.o bind.o close.o connect.o dup.o dup2.o \ 2697318Sphk execve.o fchflags.o fchmod.o fchown.o fcntl.o \ 2797318Sphk flock.o fpathconf.o fstat.o fstatfs.o fsync.o getdirentries.o \ 2897318Sphk getpeername.o getsockname.o getsockopt.o ioctl.o listen.o \ 2997318Sphk nanosleep.o nfssvc.o open.o poll.o read.o readv.o recvfrom.o \ 3097318Sphk recvmsg.o sched_yield.o select.o sendmsg.o sendto.o \ 3197318Sphk setsockopt.o shutdown.o sigaction.o sigaltstack.o \ 3297318Sphk signanosleep.o socket.o socketpair.o wait4.o write.o writev.o 3397318Sphk 3497318Sphk.include "${.CURDIR}/../libc/Makefile.inc" 3597318Sphk.include "${.CURDIR}/man/Makefile.inc" 3697318Sphk.include "${.CURDIR}/uthread/Makefile.inc" 3797318Sphk.include "${.CURDIR}/sys/Makefile.inc" 3897318Sphk 3997318Sphk.include <bsd.lib.mk> 4097318Sphk