summaryrefslogtreecommitdiff
path: root/lib/librthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librthread/Makefile')
-rw-r--r--lib/librthread/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile
new file mode 100644
index 00000000000..245106ce583
--- /dev/null
+++ b/lib/librthread/Makefile
@@ -0,0 +1,8 @@
+LIB=rthread
+CFLAGS+=-Wall -g -Werror
+
+.PATH: ${.CURDIR}/arch/${MACHINE_ARCH}
+SRCS= rthread.c rthread_attr.c rthread_sched.c rthread_sync.c rthread_tls.c rthread_sig.c
+OBJS+= _atomic_lock.o rfork_thread.o # .S on alpha
+
+.include <bsd.lib.mk>