arabica/tests/XSLT/Makefile.am
jez bc9bc15b6a Add configure option to disable running tests. make check will still build
tests, but will not run them.
--with-tests=no to manually disable.  Tests are automatically disabled if
cross-compiling.
2008-08-07 18:56:02 +01:00

24 lines
653 B
Makefile
Executable file

check_PROGRAMS = xslt_test
if WANT_TESTS
TESTS = $(check_PROGRAMS)
endif
ELEPHANT_INCLUDE = @ELEPHANT_INCLUDES@
LIBELEPHANT = @ELEPHANT_LIBS@
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include @PARSER_HEADERS@ @BOOST_CPPFLAGS@ $(ELEPHANT_INCLUDE)
LIBARABICA = $(top_builddir)/src/libarabica.la
LIBSILLY = ../CppUnit/libsillystring.la
TESTLIBS = $(LIBARABICA) ../CppUnit/libcppunit.la
test_sources = scope_test.hpp \
xslt_test.hpp \
xslt_test.cpp
xslt_test_SOURCES = main.cpp \
$(test_sources)
xslt_test_LDADD = $(TESTLIBS) $(LIBELEPHANT)
xslt_test_DEPENDENCIES = $(TESTLIBS)