# * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * # * This source file is part of libspmt. * # * * # * See the file "LICENSE" for the copyright information and for * # * the terms and conditions for copying, distribution and * # * modification of this source file. * # * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * # $Date$ include Makefile.tests.am check_PROGRAMS = $(TESTS) include $(top_srcdir)/Makefile.common.am # modules.process may regenerate Makefile.tests.am which defines SOURCES modules.list: $(SOURCES) echo $? > modules.list ./modules.process # this rule seems necessary to quiet errors # about check.mk not knowing how to create .log .log: LAZY_TEST_SUITE = 1 TEST_LOGS = $(TESTS:=.log) # parallel/quiet make check from vaucanson-1.1.1 include $(top_srcdir)/build-aux/check.mk # FIXME: technically LIBCONFIG is only needed where the config module # FIXME: is included as a dependency, but it's easier and just as safe # FIXME: to link it to every test binary AM_CFLAGS += @CHECK_CFLAGS@ @LIBCONFIG_CFLAGS@ LDADD += @CHECK_LIBS@ @LIBCONFIG_LIBS@ # language and target options if GCC if LANG_CXX AM_LDFLAGS += @GXX_CHECK_LDFLAGS@ endif # LANG_CXX endif # GCC if WARNINGS if GCC if GCC_4_0 AM_CFLAGS += @GCC_CHECK_IGNORED_WARNING_CFLAGS@ endif # GCC_4_0 if GCC_4_1 AM_CFLAGS += @GCC_CHECK_IGNORED_WARNING_CFLAGS@ endif # GCC_4_1 if GCC_4_3 AM_CFLAGS += @GCC_CHECK_IGNORED_WARNING_CFLAGS@ AM_CFLAGS += @GCC_4_3_CHECK_IGNORED_WARNING_CFLAGS@ endif # GCC_4_3 endif # GCC endif # WARNINGS common = main.h main.c @top_srcdir@/src/spmt.h @top_srcdir@/src/private.h include Makefile.sources.am