Makefile_insert revision c974e8af77c28f1ba2b19b5c976dd41f58ba7767
## Makefile.am fragment sourced by src/Makefile.am.
#
# Sodipodi svg wrapper
# Author: Lauris Kaplinski <lauris@ariman.ee>
# Most code is actually written by Raph Levien
#
# Implements svg interpretation of xml tree
#
rm -f svg/libspsvg.a $(svg_libspsvg_a_OBJECTS)
svg_libspsvg_a_SOURCES = \
# This CxxTest stuff is adapted blindly from libnr/Makefile_insert.
# It would be nice to reduce the amount of boilerplate / copy&paste here.
$(top_srcdir)/cxxtest/cxxtestgen.pl --template=$(srcdir)/selfname.tpl -root -o svg/test-svg-main.cpp $(svg_test_svg_includes)
svg/test-svg.cpp: $(svg_test_svg_includes) svg/Makefile_insert
$(top_srcdir)/cxxtest/cxxtestgen.pl --have-eh -part -o svg/test-svg.cpp $(svg_test_svg_includes)
svg_test_svg_includes = \
$(srcdir)/svg/css-ostringstream-test.h \
$(srcdir)/svg/stringstream-test.h \
$(srcdir)/svg/svg-affine-test.h \
$(srcdir)/svg/svg-color-test.h \
$(srcdir)/svg/svg-length-test.h \
$(srcdir)/svg/svg-path-test.h
svg_libtest_svg_a_SOURCES = \
$(svg_test_svg_includes)
svg_libtest_stubs_a_SOURCES = \
svg_test_svg_SOURCES = \
$(svg_test_svg_includes)
svg_test_svg_LDADD = \
2geom/lib2geom.a \
$(INKSCAPE_LIBS)