summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2010-02-15 14:14:13 +0000
committerru <ru@FreeBSD.org>2010-02-15 14:14:13 +0000
commitb751509fec79eae488ab08db04c35aff25de8864 (patch)
treed119d0768b1cf8571521eebfb129ebf159370250 /lib
parentd3c54ed654015c04ff926d920c3262c9f011249c (diff)
downloadFreeBSD-src-b751509fec79eae488ab08db04c35aff25de8864.zip
FreeBSD-src-b751509fec79eae488ab08db04c35aff25de8864.tar.gz
Though these libraries are disconnected from the build and don't
currently build, they should be kept. [1] Unbreak their makefiles by removing the support for the long gone DEFAULT_THREAD_LIB knob. (Allows the tools/make_libdeps.sh script to succeed.) According to: davidxu and deischen [1] MFC after: 3 days
Diffstat (limited to 'lib')
-rw-r--r--lib/libc_r/Makefile16
-rw-r--r--lib/libkse/Makefile20
2 files changed, 0 insertions, 36 deletions
diff --git a/lib/libc_r/Makefile b/lib/libc_r/Makefile
index 0b286f2..a424876 100644
--- a/lib/libc_r/Makefile
+++ b/lib/libc_r/Makefile
@@ -10,10 +10,6 @@
.include <bsd.own.mk>
-.if ${DEFAULT_THREAD_LIB} == "libc_r" && ${SHLIBDIR} == "/usr/lib"
-SHLIBDIR= /lib
-.endif
-
LIB=c_r
SHLIB_MAJOR= 7
CFLAGS+=-DPTHREAD_KERNEL
@@ -32,16 +28,4 @@ PRECIOUSLIB=
.include "${.CURDIR}/uthread/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"
-.if ${DEFAULT_THREAD_LIB} == "libc_r"
-.if ${MK_INSTALLLIB} != "no"
-SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
-.endif
-.if !defined(NO_PIC)
-SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
-.endif
-.if ${MK_PROFILE} != "no"
-SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
-.endif
-.endif
-
.include <bsd.lib.mk>
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile
index 9fe09c5..c4e2b5a 100644
--- a/lib/libkse/Makefile
+++ b/lib/libkse/Makefile
@@ -10,15 +10,7 @@
.include <bsd.own.mk>
-.if ${DEFAULT_THREAD_LIB} == "libkse" || ${MK_LIBTHR} == "no"
-LIB=kse
-.if ${SHLIBDIR} == "/usr/lib"
-SHLIBDIR= /lib
-.endif
-.else
SHLIB=kse
-.endif
-
SHLIB_MAJOR= 4
CFLAGS+=-DPTHREAD_KERNEL
CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \
@@ -51,16 +43,4 @@ PRECIOUSLIB=
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/thread/Makefile.inc"
-.if ${DEFAULT_THREAD_LIB} == "libkse" || ${MK_LIBTHR} == "no"
-.if ${MK_INSTALLLIB} != "no"
-SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
-.endif
-.if !defined(NO_PIC)
-SYMLINKS+=lib${LIB}.so ${LIBDIR}/libpthread.so
-.endif
-.if ${MK_PROFILE} != "no"
-SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
-.endif
-.endif
-
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud