1 ## Makefile.am fragment sourced by src/Makefile.am.
3 #
4 # Sodipodi xml wrapper
5 # Author: Lauris Kaplinski <lauris@ariman.ee>
6 #
7 # Implements xml backbone of inkscape document. In future will be
8 # repaced with (wrapper of?) DOM
9 #
11 xml/all: xml/libspxml.a
13 xml/clean:
14 rm -f xml/libspxml.a xml/libtest-xml.a $(xml_libspxml_a_OBJECTS) $(xml_libtest_xml_a_OBJECTS)
16 xml_libspxml_a_SOURCES = \
17 algorithms/find-if-before.h \
18 xml/comment-node.h \
19 xml/composite-node-observer.cpp xml/composite-node-observer.h \
20 xml/element-node.h \
21 xml/node-observer.h \
22 xml/quote.cpp \
23 xml/quote.h \
24 xml/repr-css.cpp \
25 xml/log-builder.cpp \
26 xml/log-builder.h \
27 xml/node-fns.cpp \
28 xml/node-fns.h \
29 xml/repr-io.cpp \
30 xml/repr-sorting.cpp \
31 xml/repr-sorting.h \
32 xml/repr-util.cpp \
33 xml/repr.cpp \
34 xml/repr.h \
35 xml/session.h \
36 xml/simple-document.h \
37 xml/simple-document.cpp \
38 xml/simple-node.h \
39 xml/simple-node.cpp \
40 xml/simple-session.cpp \
41 xml/simple-session.h \
42 xml/node.h \
43 xml/croco-node-iface.cpp \
44 xml/croco-node-iface.h \
45 xml/attribute-record.h \
46 xml/sp-css-attr.h \
47 xml/event.cpp xml/event.h xml/event-fns.h \
48 xml/document.h \
49 xml/node-event-vector.h \
50 xml/node-iterators.h \
51 xml/sp-css-attr.h \
52 xml/text-node.h \
53 xml/transaction-logger.h \
54 xml/invalid-operation-exception.h
56 xml/test-xml-main.cpp: xml/test-xml.cpp $(xml_test_xml_includes)
57 $(top_srcdir)/cxxtest/cxxtestgen.pl --error-printer -root -o xml/test-xml-main.cpp $(xml_test_xml_includes)
59 xml/test-xml.cpp: $(xml_test_xml_includes)
60 $(top_srcdir)/cxxtest/cxxtestgen.pl -part -o xml/test-xml.cpp $(xml_test_xml_includes)
62 xml_test_xml_includes = \
63 $(srcdir)/xml/repr-action-test.h \
64 $(srcdir)/xml/quote-test.h
66 xml_libtest_xml_a_SOURCES = \
67 xml/test-xml.cpp \
68 $(xml_test_xml_includes)
70 xml_test_xml_SOURCES = \
71 xml/test-xml-main.cpp \
72 $(xml_test_xml_includes)
74 xml_test_xml_LDADD = \
75 xml/libtest-xml.a \
76 xml/libspxml.a \
77 util/libinkutil.a \
78 libinkpost.a \
79 $(INKSCAPE_LIBS)
82 xml_repr_action_test_SOURCES = xml/repr-action-test.cpp
83 xml_repr_action_test_LDADD = xml/libspxml.a svg/libspsvg.a util/libinkutil.a libinkpost.a debug/libinkdebug.a $(INKSCAPE_LIBS)
85 xml_quote_test_SOURCES = xml/quote-test.cpp
86 xml_quote_test_LDADD = $(INKSCAPE_LIBS)