blob: 3e5bfd8e64ac62e17fbb367b93e329227e20960e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $OpenBSD: Makefile,v 1.20 2011/12/21 00:49:47 guenther Exp $
LIB=rthread
WANTLINT=
LINTFLAGS=-z
LIBCSRCDIR= ${.CURDIR}/../libc
CFLAGS+=-Wall -g -Werror -Wshadow
CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -Wsign-compare
CFLAGS+=-I${LIBCSRCDIR}/arch/${MACHINE_CPU} -I${LIBCSRCDIR}/include
LDADD = -Wl,-znodelete,-zinitfirst
.PATH: ${.CURDIR}/arch/${MACHINE_CPU}
SRCS= rthread.c rthread_attr.c rthread_sched.c rthread_sync.c rthread_tls.c \
rthread_sig.c rthread_np.c rthread_debug.c rthread_stack.c \
rthread_libc.c rthread_fork.c rthread_file.c sched_prio.c \
rthread_cancel.c rthread_mutexattr.c
OBJS+= _atomic_lock.o rfork_thread.o cerror.o
MAN+= __tfork_thread.3
MLINKS+=__tfork_thread.3 __tfork.2
.include <bsd.lib.mk>
|