diff options
author | marcel <marcel@FreeBSD.org> | 2003-06-23 04:28:31 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-06-23 04:28:31 +0000 |
commit | 8ff698074b7df9fc10cd5c9b514c9ff77d69d2dc (patch) | |
tree | cba0fc10183a796b368196a025bc54f119e98d68 /lib/libkse | |
parent | f749ae2faa23bd75c9842fe76ab3c84f83dd23a7 (diff) | |
download | FreeBSD-src-8ff698074b7df9fc10cd5c9b514c9ff77d69d2dc.zip FreeBSD-src-8ff698074b7df9fc10cd5c9b514c9ff77d69d2dc.tar.gz |
Move the machine specific files from sys/Makefile.inc and put them
in a machine specific makefile. While here, sort the sub-directories
in Makefile and remove _atomic_lock.S from all makefiles.
Diffstat (limited to 'lib/libkse')
-rw-r--r-- | lib/libkse/Makefile | 5 | ||||
-rw-r--r-- | lib/libkse/arch/i386/Makefile.inc | 5 | ||||
-rw-r--r-- | lib/libkse/arch/ia64/Makefile.inc | 5 | ||||
-rw-r--r-- | lib/libkse/sys/Makefile.inc | 6 |
4 files changed, 15 insertions, 6 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index c25ccf4..497179e 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -30,8 +30,9 @@ CFLAGS+=-D_PTHREADS_INVARIANTS -Wall AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/thread PRECIOUSLIB= yes -.include "${.CURDIR}/thread/Makefile.inc" -.include "${.CURDIR}/sys/Makefile.inc" +.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc" .include "${.CURDIR}/support/Makefile.inc" +.include "${.CURDIR}/sys/Makefile.inc" +.include "${.CURDIR}/thread/Makefile.inc" .include <bsd.lib.mk> diff --git a/lib/libkse/arch/i386/Makefile.inc b/lib/libkse/arch/i386/Makefile.inc new file mode 100644 index 0000000..98e32eb --- /dev/null +++ b/lib/libkse/arch/i386/Makefile.inc @@ -0,0 +1,5 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} + +SRCS+= ksd.c thr_enter_uts.S thr_getcontext.S thr_switch.S diff --git a/lib/libkse/arch/ia64/Makefile.inc b/lib/libkse/arch/ia64/Makefile.inc new file mode 100644 index 0000000..b3aafbd --- /dev/null +++ b/lib/libkse/arch/ia64/Makefile.inc @@ -0,0 +1,5 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} + +SRCS+= ksd.c thr_enter_uts.S thr_switch.S diff --git a/lib/libkse/sys/Makefile.inc b/lib/libkse/sys/Makefile.inc index ac659e8..fb4a108 100644 --- a/lib/libkse/sys/Makefile.inc +++ b/lib/libkse/sys/Makefile.inc @@ -1,7 +1,5 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/sys ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} - -SRCS+= thr_error.c _atomic_lock.S ksd.c thr_enter_uts.S thr_getcontext.S \ - thr_switch.S lock.c +.PATH: ${.CURDIR}/sys +SRCS+= lock.c thr_error.c |