]> git.ipfire.org Git - thirdparty/glibc.git/blob - signal/Makefile
f9d5f715b921b0d156ca377474a5415adbba6e44
[thirdparty/glibc.git] / signal / Makefile
1 # Copyright (C) 1991-2014 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
3
4 # The GNU C Library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
8
9 # The GNU C Library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
13
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with the GNU C Library; if not, see
16 # <http://www.gnu.org/licenses/>.
17
18 #
19 # Makefile for signal routines.
20 #
21 subdir := signal
22
23 headers := signal.h sys/signal.h bits/signum.h bits/sigcontext.h \
24 bits/sigaction.h bits/sigset.h bits/siginfo.h bits/sigstack.h \
25 bits/sigthread.h
26
27 routines := signal raise killpg \
28 sigaction sigprocmask kill \
29 sigpending sigsuspend sigwait \
30 sigblock sigsetmask sigpause sigvec \
31 sigstack sigaltstack sigintr \
32 sigsetops sigempty sigfillset sigaddset sigdelset sigismem \
33 sigreturn \
34 siggetmask sysv_signal \
35 sigisempty sigandset sigorset \
36 allocrtsig sigtimedwait sigwaitinfo sigqueue \
37 sighold sigrelse sigignore sigset
38
39 tests := tst-signal tst-sigset tst-sigsimple tst-raise tst-sigset2
40
41
42 include ../Rules
43
44 CFLAGS-sigpause.c = -fexceptions
45 CFLAGS-sigsuspend.c = -fexceptions -fasynchronous-unwind-tables
46 CFLAGS-sigtimedwait.c = -fexceptions -fasynchronous-unwind-tables
47 CFLAGS-sigwait.c = -fexceptions -fasynchronous-unwind-tables
48 CFLAGS-sigwaitinfo.c = -fexceptions -fasynchronous-unwind-tables