summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-03-18 21:37:05 +0000
committerru <ru@FreeBSD.org>2006-03-18 21:37:05 +0000
commit5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba (patch)
tree6851b1ccb04bc6d6a4b43ddbc6c2e16e2b682eb3 /lib/libthr
parentf00375a188c2cdbd95c0d7c2bc960351161eabef (diff)
downloadFreeBSD-src-5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba.zip
FreeBSD-src-5f8b6d3c5a60616fb0b4ed779dd22ad78bc974ba.tar.gz
Convert NO_PROFILE and NO_LIB32 to new style.
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index 8a63533..1097155 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -7,6 +7,9 @@
# 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.
+
+.include <bsd.own.mk>
+
LIB=thr
SHLIB_MAJOR= 2
CFLAGS+=-DPTHREAD_KERNEL
@@ -40,7 +43,7 @@ SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
.if !defined(NO_PIC)
SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libpthread.so
.endif
-.if !defined(NO_PROFILE)
+.if ${MK_PROFILE} != "no"
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
.endif
.endif
OpenPOWER on IntegriCloud