Code

more unreffing temporary styles properly
[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/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/simple-document.h \
36         xml/simple-document.cpp \
37         xml/simple-node.h \
38         xml/simple-node.cpp \
39         xml/node.h \
40         xml/croco-node-iface.cpp        \
41         xml/croco-node-iface.h  \
42         xml/attribute-record.h \
43         xml/sp-css-attr.h \
44         xml/event.cpp xml/event.h xml/event-fns.h       \
45         xml/document.h \
46         xml/node-event-vector.h \
47         xml/node-iterators.h    \
48         xml/sp-css-attr.h \
49         xml/text-node.h \
50         xml/invalid-operation-exception.h
52 xml/test-xml-main.cpp: xml/test-xml.cpp $(xml_test_xml_includes)
53         $(top_srcdir)/cxxtest/cxxtestgen.pl --template=$(srcdir)/selfname.tpl -root -o xml/test-xml-main.cpp $(xml_test_xml_includes)
55 xml/test-xml.cpp: $(xml_test_xml_includes)
56         $(top_srcdir)/cxxtest/cxxtestgen.pl -part -o xml/test-xml.cpp $(xml_test_xml_includes)
58 xml_test_xml_includes = \
59         $(srcdir)/xml/repr-action-test.h        \
60         $(srcdir)/xml/quote-test.h
62 xml_libtest_xml_a_SOURCES =     \
63         xml/test-xml.cpp \
64         $(xml_test_xml_includes)
66 xml_test_xml_SOURCES =  \
67         xml/test-xml-main.cpp \
68         $(xml_test_xml_includes)
70 xml_test_xml_LDADD =    \
71         xml/libtest-xml.a       \
72         xml/libspxml.a  \
73         util/libinkutil.a       \
74         svg/libtest-stubs.a     \
75         $(INKSCAPE_LIBS)
78 xml_repr_action_test_SOURCES = \
79         xml/repr-action-test.cpp
80 xml_repr_action_test_LDADD = \
81         xml/libspxml.a  \
82         svg/libspsvg.a  \
83         svg/libtest-stubs.a     \
84         util/libinkutil.a       \
85         libinkpost.a    \
86         debug/libinkdebug.a     \
87         $(INKSCAPE_LIBS)
89 xml_quote_test_SOURCES = xml/quote-test.cpp
90 xml_quote_test_LDADD = $(INKSCAPE_LIBS)