1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Allow DEFAULT_THREAD_LIB to be set from /etc/src.conf.

Submitted by:	ru
This commit is contained in:
Daniel Eischen 2007-05-17 04:54:35 +00:00
parent c1f4dd9355
commit 683f4c0a40
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169648
4 changed files with 16 additions and 16 deletions

View File

@ -8,12 +8,12 @@
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
.if defined(DEFAULT_THREAD_LIB) && (${DEFAULT_THREAD_LIB} == "libc_r")
SHLIBDIR?= /lib
.endif
.include <bsd.own.mk>
.if ${DEFAULT_THREAD_LIB} == "libc_r"
SHLIBDIR= /lib
.endif
LIB=c_r
SHLIB_MAJOR= 6
CFLAGS+=-DPTHREAD_KERNEL

View File

@ -8,12 +8,12 @@
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
.if defined(DEFAULT_THREAD_LIB) && (${DEFAULT_THREAD_LIB} == "libpthread")
SHLIBDIR?= /lib
.endif
.include <bsd.own.mk>
.if ${DEFAULT_THREAD_LIB} == "libpthread"
SHLIBDIR= /lib
.endif
LIB=kse
SHLIB_MAJOR= 2
CFLAGS+=-DPTHREAD_KERNEL

View File

@ -8,12 +8,12 @@
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
.if defined(DEFAULT_THREAD_LIB) && (${DEFAULT_THREAD_LIB} == "libpthread")
SHLIBDIR?= /lib
.endif
.include <bsd.own.mk>
.if ${DEFAULT_THREAD_LIB} == "libpthread"
SHLIBDIR= /lib
.endif
LIB=kse
SHLIB_MAJOR= 2
CFLAGS+=-DPTHREAD_KERNEL

View File

@ -8,12 +8,12 @@
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
.if !defined(DEFAULT_THREAD_LIB) || (${DEFAULT_THREAD_LIB} == "libthr")
SHLIBDIR?= /lib
.endif
.include <bsd.own.mk>
.if ${DEFAULT_THREAD_LIB} == "libthr"
SHLIBDIR= /lib
.endif
LIB=thr
SHLIB_MAJOR= 2
CFLAGS+=-DPTHREAD_KERNEL