From e8890ccacdd96702a64d1edb926cdd7e74b37db8 Mon Sep 17 00:00:00 2001 From: jeff Date: Tue, 1 Apr 2003 07:07:38 +0000 Subject: - Adjust the makefiles so we have a per architecture makefile. --- lib/libthr/Makefile | 1 + lib/libthr/arch/i386/Makefile.inc | 5 +++++ lib/libthr/sys/Makefile.inc | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 lib/libthr/arch/i386/Makefile.inc (limited to 'lib') 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 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 -- cgit v1.1