summaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps/pthread/Makefile
blob: f73f40e9d959c278dee80f7d58187b62272de464 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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