summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2003-09-27 23:27:19 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2003-09-27 23:27:19 +0000
commited74e02776bcb5becc0f8149b98ca827edd0bb12 (patch)
treefac7df1d88314a174a75b5cd3603b110d7a570dd
parentc31f2280edb9660afe910af01688cf7a000d8a12 (diff)
Notes
-rw-r--r--lib/libkse/Makefile12
-rw-r--r--lib/libpthread/Makefile12
-rw-r--r--lib/libthr/Makefile12
3 files changed, 24 insertions, 12 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile
index 3d7c8907bdad..38711b260991 100644
--- a/lib/libkse/Makefile
+++ b/lib/libkse/Makefile
@@ -38,4 +38,16 @@ PRECIOUSLIB= yes
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/thread/Makefile.inc"
+.if !defined(NOLIBC_R)
+.if ${MACHINE_ARCH} == "ia64"
+SYMLINKS+=lib${LIB}.a ${LIBDIR}/libc_r.a
+.if !defined(NOPIC)
+SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libc_r.so
+.endif
+.if !defined(NOPROFILE)
+SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libc_r_p.a
+.endif
+.endif
+.endif
+
.include <bsd.lib.mk>
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index 3d7c8907bdad..38711b260991 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -38,4 +38,16 @@ PRECIOUSLIB= yes
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/thread/Makefile.inc"
+.if !defined(NOLIBC_R)
+.if ${MACHINE_ARCH} == "ia64"
+SYMLINKS+=lib${LIB}.a ${LIBDIR}/libc_r.a
+.if !defined(NOPIC)
+SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libc_r.so
+.endif
+.if !defined(NOPROFILE)
+SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libc_r_p.a
+.endif
+.endif
+.endif
+
.include <bsd.lib.mk>
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index bd48b9a17af0..caee9b7c2008 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -25,16 +25,4 @@ WARNS?= 2
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
-.if !defined(NOLIBC_R)
-.if ${MACHINE_ARCH} == "ia64"
-SYMLINKS+=libthr.a ${LIBDIR}/libc_r.a
-.if !defined(NOPIC)
-SYMLINKS+=libthr.so ${SHLIBDIR}/libc_r.so
-.endif
-.if !defined(NOPROFILE)
-SYMLINKS+=libthr_p.a ${LIBDIR}/libc_r_p.a
-.endif
-.endif
-.endif
-
.include <bsd.lib.mk>