1## Makefile for libsigsegv/tests. 2## Copyright (C) 2002-2003, 2008-2010, 2016 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. 13## 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. 18 19## Process this file with automake to produce Makefile.in. 20 21AUTOMAKE_OPTIONS = 1.11 gnits no-dependencies color-tests 22 23TESTS = sigsegv1 sigsegv2 sigsegv3 stackoverflow1 stackoverflow2 24 25EXTRA_DIST = mmaputil.h altstack.h 26 27AM_CPPFLAGS = -I../src 28DEFS = @DEFS@ 29LDADD = ../src/libsigsegv.la 30noinst_PROGRAMS = sigsegv1 sigsegv2 sigsegv3 stackoverflow1 stackoverflow2 31 32if CYGWIN 33TESTS += cygwin1 34noinst_PROGRAMS += cygwin1 35endif 36 37if ENABLE_EFAULT 38TESTS += efault1 efault2 efault3 39noinst_PROGRAMS += efault1 efault2 efault3 40endif 41 42# The following rule is necessary to avoid a toplevel "make -n" failure. 43../src/libsigsegv.la : 44 cd ../src && $(MAKE) libsigsegv.la 45