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.
This commit is contained in:
parent
f749ae2faa
commit
8ff698074b
@ -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>
|
||||
|
5
lib/libkse/arch/i386/Makefile.inc
Normal file
5
lib/libkse/arch/i386/Makefile.inc
Normal file
@ -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
|
5
lib/libkse/arch/ia64/Makefile.inc
Normal file
5
lib/libkse/arch/ia64/Makefile.inc
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
|
||||
|
||||
SRCS+= ksd.c thr_enter_uts.S thr_switch.S
|
@ -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
|
||||
|
@ -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>
|
||||
|
5
lib/libpthread/arch/alpha/Makefile.inc
Normal file
5
lib/libpthread/arch/alpha/Makefile.inc
Normal file
@ -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
|
5
lib/libpthread/arch/i386/Makefile.inc
Normal file
5
lib/libpthread/arch/i386/Makefile.inc
Normal file
@ -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
|
5
lib/libpthread/arch/ia64/Makefile.inc
Normal file
5
lib/libpthread/arch/ia64/Makefile.inc
Normal file
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
|
||||
|
||||
SRCS+= ksd.c thr_enter_uts.S thr_switch.S
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user