1 # This program is free software; you can redistribute it and/or modify
2 # it under the terms of the GNU General Public License as published by
3 # the Free Software Foundation; version 2 of the License.
5 # This program is distributed in the hope that it will be useful,
6 # but WITHOUT ANY WARRANTY; without even the implied warranty of
7 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8 # GNU General Public License for more details.
10 # You should have received a copy of the GNU General Public License
11 # along with this program; if not, write to the Free Software
12 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
14 if ENABLE_TEST_VALGRIND
15 LOG_COMPILER = valgrind
16 AM_LOG_FLAGS = --leak-check=full --error-exitcode=1
17 export LOG_COMPILER AM_LOG_FLAGS
20 noinst_SCRIPTS = test/hotplug-device.sh
21 EXTRA_DIST += $(noinst_SCRIPTS)
23 $(check_PROGRAMS): AM_CFLAGS = -O0 -g -Wall -Wextra -Werror
24 $(check_PROGRAMS): AM_CPPFLAGS = -DDEBUG -I$(top_srcdir)/lib