summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2003-04-01 07:07:38 +0000
committerjeff <jeff@FreeBSD.org>2003-04-01 07:07:38 +0000
commite8890ccacdd96702a64d1edb926cdd7e74b37db8 (patch)
tree8de3c4049c29c7386702fe394e0e7b87bc0b265f /lib
parentc40f0ee134c3131d84c03862215a1463873ea872 (diff)
downloadFreeBSD-src-e8890ccacdd96702a64d1edb926cdd7e74b37db8.zip
FreeBSD-src-e8890ccacdd96702a64d1edb926cdd7e74b37db8.tar.gz
- Adjust the makefiles so we have a per architecture makefile.
Diffstat (limited to 'lib')
-rw-r--r--lib/libthr/Makefile1
-rw-r--r--lib/libthr/arch/i386/Makefile.inc5
-rw-r--r--lib/libthr/sys/Makefile.inc2
3 files changed, 7 insertions, 1 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index 7bd4c63..6bfa593 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -22,5 +22,6 @@ PRECIOUSLIB= yes
.include "${.CURDIR}/thread/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"
+.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
.include <bsd.lib.mk>
diff --git a/lib/libthr/arch/i386/Makefile.inc b/lib/libthr/arch/i386/Makefile.inc
new file mode 100644
index 0000000..0c86284
--- /dev/null
+++ b/lib/libthr/arch/i386/Makefile.inc
@@ -0,0 +1,5 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/sys ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
+
+SRCS+= _setcurthread.c _curthread.S
diff --git a/lib/libthr/sys/Makefile.inc b/lib/libthr/sys/Makefile.inc
index d27eeb8..59018f7 100644
--- a/lib/libthr/sys/Makefile.inc
+++ b/lib/libthr/sys/Makefile.inc
@@ -2,4 +2,4 @@
.PATH: ${.CURDIR}/sys ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
-SRCS+= thr_error.c _curthread.S _setcurthread.c
+SRCS+= thr_error.c
OpenPOWER on IntegriCloud