blob: 3586e8179a7b4fc2b2354820d61f8028ec02736c (
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
25
|
# $OpenBSD: Makefile,v 1.22 2011/12/22 00:42:07 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 rthread_once.c \
rthread_rwlock.c rthread_rwlockattr.c rthread_mutex_prio.c
OBJS+= _atomic_lock.o rfork_thread.o cerror.o
MAN+= __tfork_thread.3
MLINKS+=__tfork_thread.3 __tfork.2
.include <bsd.lib.mk>
|