1 ## Makefile for libsigsegv/tests.
2 ## Copyright (C) 2002-2003, 2008-2010, 2016, 2021 Bruno Haible <bruno@clisp.org>
4 ## This program is free software: you can redistribute it and/or modify
5 ## it under the terms of the GNU General Public License as published by
6 ## the Free Software Foundation; either version 2 of the License, or
7 ## (at your option) any later version.
9 ## This program 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
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program. If not, see <https://www.gnu.org/licenses/>.
17 ## Process this file with automake to produce Makefile.in.
19 AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests
24 test-segv-dispatcher1 \
25 test-catch-stackoverflow1 \
26 test-catch-stackoverflow2
28 EXTRA_DIST = mmap-anon-util.h altstack-util.h
30 AM_CPPFLAGS = -I../src
32 LDADD = ../src/libsigsegv.la
36 test-segv-dispatcher1 \
37 test-catch-stackoverflow1 \
38 test-catch-stackoverflow2
42 noinst_PROGRAMS += cygwin1
46 TESTS += efault1 efault2 efault3
47 noinst_PROGRAMS += efault1 efault2 efault3
50 # The following rule is necessary to avoid a toplevel "make -n" failure.
51 ../src/libsigsegv.la :
52 cd ../src && $(MAKE) libsigsegv.la