Blame signal/Makefile

Packit Service 82fcde
# Copyright (C) 1991-2018 Free Software Foundation, Inc.
Packit Service 82fcde
# This file is part of the GNU C Library.
Packit Service 82fcde
Packit Service 82fcde
# The GNU C Library is free software; you can redistribute it and/or
Packit Service 82fcde
# modify it under the terms of the GNU Lesser General Public
Packit Service 82fcde
# License as published by the Free Software Foundation; either
Packit Service 82fcde
# version 2.1 of the License, or (at your option) any later version.
Packit Service 82fcde
Packit Service 82fcde
# The GNU C Library is distributed in the hope that it will be useful,
Packit Service 82fcde
# but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 82fcde
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 82fcde
# Lesser General Public License for more details.
Packit Service 82fcde
Packit Service 82fcde
# You should have received a copy of the GNU Lesser General Public
Packit Service 82fcde
# License along with the GNU C Library; if not, see
Packit Service 82fcde
# <http://www.gnu.org/licenses/>.
Packit Service 82fcde
Packit Service 82fcde
#
Packit Service 82fcde
#	Makefile for signal routines.
Packit Service 82fcde
#
Packit Service 82fcde
subdir	:= signal
Packit Service 82fcde
Packit Service 82fcde
include ../Makeconfig
Packit Service 82fcde
Packit Service 82fcde
headers := signal.h sys/signal.h \
Packit Service 82fcde
	   bits/signum.h bits/signum-generic.h \
Packit Service 82fcde
	   bits/sigcontext.h bits/sigaction.h \
Packit Service 82fcde
	   bits/sigevent-consts.h bits/siginfo-consts.h \
Packit Service 82fcde
	   bits/sigstack.h bits/sigthread.h bits/ss_flags.h \
Packit Service 82fcde
	   bits/types/__sigset_t.h bits/types/sig_atomic_t.h \
Packit Service 82fcde
	   bits/types/sigevent_t.h bits/types/siginfo_t.h \
Packit Service 82fcde
	   bits/types/sigset_t.h bits/types/sigval_t.h \
Packit Service 82fcde
	   bits/types/stack_t.h bits/types/struct_sigstack.h \
Packit Service 82fcde
	   bits/types/__sigval_t.h
Packit Service 82fcde
Packit Service 82fcde
routines	:= signal raise killpg \
Packit Service 82fcde
		   sigaction sigprocmask kill \
Packit Service 82fcde
		   sigpending sigsuspend sigwait \
Packit Service 82fcde
		   sigblock sigsetmask sigpause sigvec \
Packit Service 82fcde
		   sigstack sigaltstack sigintr \
Packit Service 82fcde
		   sigsetops sigempty sigfillset sigaddset sigdelset sigismem \
Packit Service 82fcde
		   sigreturn \
Packit Service 82fcde
		   siggetmask sysv_signal \
Packit Service 82fcde
		   sigisempty sigandset sigorset \
Packit Service 82fcde
		   allocrtsig sigtimedwait sigwaitinfo sigqueue \
Packit Service 82fcde
		   sighold sigrelse sigignore sigset
Packit Service 82fcde
Packit Service 82fcde
tests		:= tst-signal tst-sigset tst-sigsimple tst-raise tst-sigset2 \
Packit Service 82fcde
		   tst-sigwait-eintr tst-sigaction \
Packit Service 82fcde
Packit Service 82fcde
include ../Rules
Packit Service 82fcde
Packit Service 82fcde
CFLAGS-sigpause.c += -fexceptions
Packit Service 82fcde
CFLAGS-sigsuspend.c += -fexceptions -fasynchronous-unwind-tables
Packit Service 82fcde
CFLAGS-sigtimedwait.c += -fexceptions -fasynchronous-unwind-tables
Packit Service 82fcde
CFLAGS-sigwait.c += -fexceptions -fasynchronous-unwind-tables
Packit Service 82fcde
CFLAGS-sigwaitinfo.c += -fexceptions -fasynchronous-unwind-tables
Packit Service 82fcde
Packit Service 82fcde
CFLAGS-sigreturn.c += $(no-stack-protector)