Code

9ca81b23145572689fc5447e68759e7db5815e54
[inkscape.git] / src / xml / Makefile_insert
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/pi-node.h   \
30         xml/repr-io.cpp \
31         xml/repr-sorting.cpp    \
32         xml/repr-sorting.h      \
33         xml/repr-util.cpp       \
34         xml/repr.cpp    \
35         xml/repr.h      \
36         xml/simple-document.h \
37         xml/simple-document.cpp \
38         xml/simple-node.h \
39         xml/simple-node.cpp \
40         xml/node.h \
41         xml/croco-node-iface.cpp        \
42         xml/croco-node-iface.h  \
43         xml/attribute-record.h \
44         xml/sp-css-attr.h \
45         xml/event.cpp xml/event.h xml/event-fns.h       \
46         xml/document.h \
47         xml/node-event-vector.h \
48         xml/node-iterators.h    \
49         xml/sp-css-attr.h \
50         xml/subtree.cpp \
51         xml/subtree.h   \
52         xml/text-node.h \
53         xml/invalid-operation-exception.h \
54         xml/xml-forward.h
56 # ######################
57 # ### CxxTest stuff ####
58 # ######################
59 xml_testsuites = \
60         $(srcdir)/xml/repr-action-test.h        \
61         $(srcdir)/xml/quote-test.h
63 xml_test_xml_SOURCES =  \
64         xml/test-xml.cpp \
65         $(xml_testsuites)
67 xml_test_xml_LDADD =    \
68         xml/libspxml.a          \
69         util/libinkutil.a       \
70         svg/libspsvg.a          \
71         helper/libspchelp.a     \
72         test-stubs.o            \
73         libinkpost.a            \
74         debug/libinkdebug.a     \
75         $(INKSCAPE_LIBS)
77 xml/test-xml.cpp: $(xml_testsuites) xml/Makefile_insert $(CXXTEST_TEMPLATE)
78         $(CXXTESTGEN) -o xml/test-xml.cpp $(xml_testsuites)