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