diff options
author | jeff <jeff@FreeBSD.org> | 2003-04-01 07:07:38 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-04-01 07:07:38 +0000 |
commit | e8890ccacdd96702a64d1edb926cdd7e74b37db8 (patch) | |
tree | 8de3c4049c29c7386702fe394e0e7b87bc0b265f /lib | |
parent | c40f0ee134c3131d84c03862215a1463873ea872 (diff) | |
download | FreeBSD-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/Makefile | 1 | ||||
-rw-r--r-- | lib/libthr/arch/i386/Makefile.inc | 5 | ||||
-rw-r--r-- | lib/libthr/sys/Makefile.inc | 2 |
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 |