2007-08-29 04:03:12 +02:00
|
|
|
check_PROGRAMS = filter_test filter_test_silly
|
2007-08-08 11:09:28 +02:00
|
|
|
if HAS_STD_WSTRING
|
2007-08-29 04:03:12 +02:00
|
|
|
check_PROGRAMS += filter_test_wide
|
2007-08-08 11:09:28 +02:00
|
|
|
endif
|
2008-08-07 19:56:02 +02:00
|
|
|
if WANT_TESTS
|
2010-01-12 22:38:03 +01:00
|
|
|
TESTS = $(check_PROGRAMS)
|
2008-08-07 19:56:02 +02:00
|
|
|
endif
|
|
|
|
|
2007-07-19 18:57:04 +02:00
|
|
|
|
2008-05-04 16:42:09 +02:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include @PARSER_HEADERS@ $(BOOST_CPPFLAGS)
|
2011-11-25 19:47:54 +01:00
|
|
|
LIBARABICA = $(top_builddir)/src/libarabica.la
|
2007-08-29 04:03:12 +02:00
|
|
|
LIBSILLY = ../CppUnit/libsillystring.la
|
|
|
|
TESTLIBS = $(LIBARABICA) ../CppUnit/libcppunit.la
|
2011-11-25 19:47:54 +01:00
|
|
|
SYSLIBS = @PARSER_LIBS@
|
2007-08-08 11:09:28 +02:00
|
|
|
|
|
|
|
test_sources = test_WhitespaceStripper.hpp
|
2006-09-12 23:21:48 +02:00
|
|
|
|
2007-07-19 18:57:04 +02:00
|
|
|
filter_test_SOURCES = filter_test.cpp \
|
|
|
|
$(test_sources)
|
2011-11-25 19:47:54 +01:00
|
|
|
filter_test_LDADD = $(TESTLIBS) $(SYSLIBS)
|
2007-08-29 04:03:12 +02:00
|
|
|
filter_test_DEPENDENCIES = $(TESTLIBS)
|
2006-09-12 23:21:48 +02:00
|
|
|
|
2007-08-08 11:09:28 +02:00
|
|
|
filter_test_silly_SOURCES = filter_test_silly.cpp \
|
2007-08-29 04:03:12 +02:00
|
|
|
$(test_sources)
|
2011-11-25 19:47:54 +01:00
|
|
|
filter_test_silly_LDADD = $(TESTLIBS) $(LIBSILLY) $(SYSLIBS)
|
2007-08-29 04:03:12 +02:00
|
|
|
filter_test_silly_DEPENDENCIES = $(TESTLIBS) $(LIBSILLY)
|
2007-08-08 11:09:28 +02:00
|
|
|
|
|
|
|
filter_test_wide_SOURCES = filter_test_wide.cpp \
|
2007-08-29 04:03:12 +02:00
|
|
|
$(test_sources)
|
2011-11-25 19:47:54 +01:00
|
|
|
filter_test_wide_LDADD = $(TESTLIBS) $(SYSLIBS)
|
2007-08-29 04:03:12 +02:00
|
|
|
filter_test_wide_DEPENDENCIES = $(TESTLIBS)
|
2006-09-12 23:21:48 +02:00
|
|
|
|