summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc_r/Makefile8
-rw-r--r--lib/libkse/Makefile8
-rw-r--r--lib/libpthread/Makefile8
-rw-r--r--lib/libthr/Makefile8
4 files changed, 16 insertions, 16 deletions
diff --git a/lib/libc_r/Makefile b/lib/libc_r/Makefile
index f489f9f..1a5eb3b 100644
--- a/lib/libc_r/Makefile
+++ b/lib/libc_r/Makefile
@@ -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
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile
index dee03db..a698115 100644
--- a/lib/libkse/Makefile
+++ b/lib/libkse/Makefile
@@ -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
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index dee03db..a698115 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -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
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index d0a3dc8..ca77af9 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -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
OpenPOWER on IntegriCloud