aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/pthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/pthread/Makefile')
-rw-r--r--linuxthreads/sysdeps/pthread/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/pthread/Makefile b/linuxthreads/sysdeps/pthread/Makefile
new file mode 100644
index 0000000000..e896cadf43
--- /dev/null
+++ b/linuxthreads/sysdeps/pthread/Makefile
@@ -0,0 +1,13 @@
+ifeq ($(subdir),rt)
+librt-routines += timer_routines
+
+ifeq ($(have-thread-library),yes)
+tests += tst-timer
+endif
+
+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