summaryrefslogtreecommitdiff
path: root/lib/libpthread/sys/Makefile.inc
blob: 10fcfe229617adaf67213c2d84e348e57bae8fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#	$OpenBSD: Makefile.inc,v 1.18 2010/02/03 20:49:00 miod Exp $

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

SRCS+=	uthread_error.c

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