diff options
| author | Daniel Eischen <deischen@FreeBSD.org> | 2007-05-13 14:12:40 +0000 |
|---|---|---|
| committer | Daniel Eischen <deischen@FreeBSD.org> | 2007-05-13 14:12:40 +0000 |
| commit | 00fb440c1a145b56b6c75fd405d80071aef2aab1 (patch) | |
| tree | cedba41bbd60d21fa5e0f68f5e71c480784553bb /lib/libc_r | |
| parent | 9af491e24b3eb2879550950c538cf42f3e80451d (diff) | |
Notes
Diffstat (limited to 'lib/libc_r')
| -rw-r--r-- | lib/libc_r/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc_r/Makefile b/lib/libc_r/Makefile index 91758151d94d..f489f9f10592 100644 --- a/lib/libc_r/Makefile +++ b/lib/libc_r/Makefile @@ -7,6 +7,13 @@ # To included legacy CSRG sccsid strings, add -DLIBC_SCCS and -DSYSLIBC_SCCS # (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> + LIB=c_r SHLIB_MAJOR= 6 CFLAGS+=-DPTHREAD_KERNEL @@ -25,7 +32,7 @@ PRECIOUSLIB= .include "${.CURDIR}/uthread/Makefile.inc" .include "${.CURDIR}/sys/Makefile.inc" -.if ${MACHINE_ARCH} == "sparc64" +.if ${DEFAULT_THREAD_LIB} == "libc_r" SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a .if !defined(NO_PIC) SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so |
