Version 2.9.
[libsigsegv/ericb.git] / tests / Makefile.am
blob827f3f3fd9897286a6957ee8de7a0c1667bfaa84
1 ## Makefile for libsigsegv/tests.
2 ## Copyright (C) 2002-2003, 2008-2010 Bruno Haible <bruno@clisp.org>
3 ##
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, or (at your option)
7 ## any later version.
8 ##
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, write to the Free Software
16 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
17 ## USA.
19 ## Process this file with automake to produce Makefile.in.
21 AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests
23 TESTS = sigsegv1 sigsegv2 sigsegv3 stackoverflow1 stackoverflow2
25 EXTRA_DIST = mmaputil.h altstack.h
27 INCLUDES = -I../src
28 DEFS = @DEFS@
29 LDADD = ../src/libsigsegv.la
30 noinst_PROGRAMS = sigsegv1 sigsegv2 sigsegv3 stackoverflow1 stackoverflow2
32 if CYGWIN
33 TESTS += cygwin1
34 noinst_PROGRAMS += cygwin1
35 endif
37 if ENABLE_EFAULT
38 TESTS += efault1 efault2 efault3
39 noinst_PROGRAMS += efault1 efault2 efault3
40 endif
42 # The following rule is necessary to avoid a toplevel "make -n" failure.
43 ../src/libsigsegv.la :
44         cd ../src && $(MAKE) libsigsegv.la