summary refs log tree commit diff
path: root/linuxthreads/sysdeps/pthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/pthread/Makefile')
-rw-r--r--linuxthreads/sysdeps/pthread/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/pthread/Makefile b/linuxthreads/sysdeps/pthread/Makefile
new file mode 100644
index 0000000000..f73f40e9d9
--- /dev/null
+++ b/linuxthreads/sysdeps/pthread/Makefile
@@ -0,0 +1,14 @@
+ifeq ($(subdir),rt)
+librt-sysdep_routines += timer_routines
+CPPFLAGS += -DBROKEN_THREAD_SIGNALS
+
+ifeq (yes,$(build-shared))
+$(objpfx)tst-timer: $(objpfx)librt.so $(shared-thread-library)
+else
+$(objpfx)tst-timer: $(objpfx)librt.a $(static-thread-library)
+endif
+endif
+
+ifeq ($(subdir),posix)
+CFLAGS-confstr.c += -DLIBPTHREAD_VERSION="\"$(shell sed 's/\(.*\) by .*/\1/' ../linuxthreads/Banner)\""
+endif