linux ttyname: Update a reference to kernel docs for kernel 4.10
[glibc.git] / signal / Makefile
bloba6a1289437ea87da5f41b39c79abc16cfb878c69
1 # Copyright (C) 1991-2017 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
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.
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.
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/>.
19 # Makefile for signal routines.
21 subdir := signal
23 include ../Makeconfig
25 headers := signal.h sys/signal.h \
26 bits/signum.h bits/signum-generic.h \
27 bits/sigcontext.h bits/sigaction.h \
28 bits/sigevent-consts.h bits/siginfo-consts.h \
29 bits/sigstack.h bits/sigthread.h bits/ss_flags.h \
30 bits/types/__sigset_t.h bits/types/sig_atomic_t.h \
31 bits/types/sigevent_t.h bits/types/siginfo_t.h \
32 bits/types/sigset_t.h bits/types/sigval_t.h \
33 bits/types/stack_t.h bits/types/struct_sigstack.h \
34 bits/types/__sigval_t.h
36 routines := signal raise killpg \
37 sigaction sigprocmask kill \
38 sigpending sigsuspend sigwait \
39 sigblock sigsetmask sigpause sigvec \
40 sigstack sigaltstack sigintr \
41 sigsetops sigempty sigfillset sigaddset sigdelset sigismem \
42 sigreturn \
43 siggetmask sysv_signal \
44 sigisempty sigandset sigorset \
45 allocrtsig sigtimedwait sigwaitinfo sigqueue \
46 sighold sigrelse sigignore sigset
48 tests := tst-signal tst-sigset tst-sigsimple tst-raise tst-sigset2
51 include ../Rules
53 CFLAGS-sigpause.c = -fexceptions
54 CFLAGS-sigsuspend.c = -fexceptions -fasynchronous-unwind-tables
55 CFLAGS-sigtimedwait.c = -fexceptions -fasynchronous-unwind-tables
56 CFLAGS-sigwait.c = -fexceptions -fasynchronous-unwind-tables
57 CFLAGS-sigwaitinfo.c = -fexceptions -fasynchronous-unwind-tables
59 CFLAGS-sigreturn.c = $(no-stack-protector)