cvs commit: src/lib Makefile

Ruslan Ermilov ru at FreeBSD.ORG
Wed Oct 26 23:25:19 PDT 2005


On Thu, Oct 27, 2005 at 03:09:20AM +0000, David Xu wrote:
> davidxu     2005-10-27 03:09:20 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib                  Makefile 
>   Log:
>   Disconnect libc_r from buildworld, it is still kept in the tree to
>   provide some baseline references, but users are encouraged to use
>   libpthread or libthr in real world.
>   
>   Discussed on: arch@
>   
>   Revision  Changes    Path
>   1.208     +1 -1      src/lib/Makefile
> 
This should break alpha and sparc64 ports: on these architectures,
libpthread was symlinked to libc_r.  The magic is in makefiles:

# libpthread/Makefile
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
LIB=kse
.else
LIB=pthread
.endif

# libc_r/Makefile
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
.if !defined(NO_PIC)
SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libpthread.so
.endif
.if !defined(NO_PROFILE)
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
.endif
.endif


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20051027/38edf6b7/attachment.bin


More information about the cvs-all mailing list