summaryrefslogtreecommitdiff
path: root/lib/libpthread/sys/Makefile.inc
blob: 32349768de8d43ba6d1198702f7e0396048bf6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile.inc,v 1.16 2004/08/11 11:11:49 pefo Exp $

.PATH:	 ${SRCDIR}/sys ${SRCDIR}/arch/${MACHINE_ARCH}

SRCS+=	uthread_error.c

.if (${MACHINE_ARCH} == "mips64")
SRCS+=	slow_atomic_lock.c
.endif

.if exists(${SRCDIR}/arch/${MACHINE_ARCH}/_atomic_lock.c)
SRCS+=	_atomic_lock.c
.endif
.if exists(${SRCDIR}/arch/${MACHINE_ARCH}/uthread_machdep_asm.S)
SRCS+=	uthread_machdep_asm.S
.endif
.if exists(${SRCDIR}/arch/${MACHINE_ARCH}/uthread_machdep.c)
SRCS+=	uthread_machdep.c
.endif