OpenBSD-4.6/lib/librthread/Makefile

#	$OpenBSD: Makefile,v 1.12 2009/02/20 01:31:46 tedu Exp $

LIB=rthread
WANTLINT=
LINTFLAGS=-z
LIBCSRCDIR=	${.CURDIR}/../libc

CFLAGS+=-Wall -g -Werror -Wshadow
CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes -Wsign-compare
CFLAGS+=-I${LIBCSRCDIR}/include

.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}
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_reaper.c rthread_libc.c rthread_fork.c

OBJS+= _atomic_lock.o rfork_thread.o

.include <bsd.lib.mk>