arabica/tests/SAX/Makefile.am
2007-07-19 17:43:13 +00:00

41 lines
1.4 KiB
Makefile
Executable file

noinst_PROGRAMS = filter_test
TESTS = filter_test
AM_CPPFLAGS = -I$(top_srcdir)/include @PARSER_HEADERS@ $(BOOST_CPPFLAGS)
LIBARABICA = $(top_builddir)/src/libarabica.la
cppunit_sources = ../CppUnit/framework/CppUnitException.h \
../CppUnit/framework/estring.h \
../CppUnit/framework/Guards.h \
../CppUnit/framework/Test.h \
../CppUnit/framework/TestCaller.h \
../CppUnit/framework/TestCase.cpp \
../CppUnit/framework/TestCase.h \
../CppUnit/framework/TestFailure.cpp \
../CppUnit/framework/TestFailure.h \
../CppUnit/framework/TestResult.cpp \
../CppUnit/framework/TestResult.h \
../CppUnit/framework/TestSuite.cpp \
../CppUnit/framework/TestSuite.h \
../CppUnit/TestRunner.cpp \
../CppUnit/TestRunner.hpp \
../CppUnit/textui/TextTestResult.cpp \
../CppUnit/textui/TextTestResult.h
test_sources =
filter_test_SOURCES = filter_test.cpp \
$(cppunit_sources) \
$(test_sources)
filter_test_LDADD = $(LIBARABICA)
filter_test_DEPENDENCIES = $(LIBARABICA)
test: $(noinst_PROGRAMS)
@for p in $(noinst_PROGRAMS); do \
echo Running $$p; \
./$$p -q; \
done