summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-06-23 04:28:31 +0000
committermarcel <marcel@FreeBSD.org>2003-06-23 04:28:31 +0000
commit8ff698074b7df9fc10cd5c9b514c9ff77d69d2dc (patch)
treecba0fc10183a796b368196a025bc54f119e98d68
parentf749ae2faa23bd75c9842fe76ab3c84f83dd23a7 (diff)
downloadFreeBSD-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.
-rw-r--r--lib/libkse/Makefile5
-rw-r--r--lib/libkse/arch/i386/Makefile.inc5
-rw-r--r--lib/libkse/arch/ia64/Makefile.inc5
-rw-r--r--lib/libkse/sys/Makefile.inc6
-rw-r--r--lib/libpthread/Makefile5
-rw-r--r--lib/libpthread/arch/alpha/Makefile.inc5
-rw-r--r--lib/libpthread/arch/i386/Makefile.inc5
-rw-r--r--lib/libpthread/arch/ia64/Makefile.inc5
-rw-r--r--lib/libpthread/sys/Makefile.inc6
9 files changed, 35 insertions, 12 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
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index c25ccf4..497179e 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/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/libpthread/arch/alpha/Makefile.inc b/lib/libpthread/arch/alpha/Makefile.inc
new file mode 100644
index 0000000..98e32eb
--- /dev/null
+++ b/lib/libpthread/arch/alpha/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/libpthread/arch/i386/Makefile.inc b/lib/libpthread/arch/i386/Makefile.inc
new file mode 100644
index 0000000..98e32eb
--- /dev/null
+++ b/lib/libpthread/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/libpthread/arch/ia64/Makefile.inc b/lib/libpthread/arch/ia64/Makefile.inc
new file mode 100644
index 0000000..b3aafbd
--- /dev/null
+++ b/lib/libpthread/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/libpthread/sys/Makefile.inc b/lib/libpthread/sys/Makefile.inc
index ac659e8..fb4a108 100644
--- a/lib/libpthread/sys/Makefile.inc
+++ b/lib/libpthread/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
OpenPOWER on IntegriCloud