arabica/tests/XSLT/Makefile.am
2012-11-26 10:52:57 +00:00

36 lines
1.1 KiB
Makefile
Executable file

check_PROGRAMS = xslt_test xslt_test_silly
if HAS_STD_WSTRING
check_PROGRAMS += xslt_test_wide
endif
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
SYSLIBS = @PARSER_LIBS@
test_sources = scope_test.hpp \
xslt_test.hpp
xslt_test_SOURCES = main.cpp \
$(test_sources)
xslt_test_LDADD = $(TESTLIBS) $(LIBELEPHANT) $(SYSLIBS)
xslt_test_DEPENDENCIES = $(TESTLIBS)
xslt_test_silly_SOURCES = main.cpp \
$(test_sources)
xslt_test_silly_LDADD = $(TESTLIBS) $(LIBELEPHANT) $(SYSLIBS) $(LIBSILLY)
xslt_test_silly_DEPENDENCIES = $(TESTLIBS)
xslt_test_wide_SOURCES = main_wide.cpp \
$(test_sources)
xslt_test_wide_LDADD = $(TESTLIBS) $(LIBELEPHANT) $(SYSLIBS)
xslt_test_wide_DEPENDENCIES = $(TESTLIBS)