1 ifeq ($(filter nptl
,$(sorted-subdirs
)),nptl
)
3 ifeq ($(subdir
),rtkaio
)
4 librtkaio-sysdep_routines
+= kaio_timer_routines librtkaio-cancellation rtkaio-unwind-resume
5 librtkaio-shared-only-routines
+= rtkaio-unwind-resume
6 tests
+= tst-cancel17 tst-cancelx17
7 CPPFLAGS-kaio_timer_routines.c
= -I..
/nptl
8 CFLAGS-librtkaio-cancellation.c
+= -fexceptions
-fasynchronous-unwind-tables
9 CFLAGS-rtkaio-unwind-resume.c
+= -fexceptions
-fasynchronous-unwind-tables
10 CFLAGS-tst-cancelx17.c
+= -fexceptions
12 ifeq (yes
,$(build-shared
))
13 $(objpfx
)tst-timer
: $(objpfx
)librtkaio.so
$(shared-thread-library
)
15 $(objpfx
)tst-timer
: $(objpfx
)librtkaio.a
$(static-thread-library
)
18 ifeq ($(have-forced-unwind
),yes
)
20 CFLAGS-tst-mqueue8x.c
+= -fexceptions
26 ifeq ($(filter linuxthreads
,$(sorted-subdirs
)),linuxthreads
)
28 ifeq ($(subdir
),rtkaio
)
29 librtkaio-sysdep_routines
+= kaio_timer_routines
30 CPPFLAGS
+= -DBROKEN_THREAD_SIGNALS
32 ifeq (yes
,$(build-shared
))
33 $(objpfx
)tst-timer
: $(objpfx
)librtkaio.so
$(shared-thread-library
)
35 $(objpfx
)tst-timer
: $(objpfx
)librtkaio.a
$(static-thread-library
)