Code

Moving functions from svg_preview_cache.h to a new .cpp
[inkscape.git] / src / Makefile.am
1 ## Process this file with automake to produce Makefile.in
4 # ################################################
5 #
6 #  G L O B A L
7 #
8 # ################################################
10 # Should work in either automake1.7 or 1.8, but 1.6 doesn't
11 # handle foo/libfoo_a_CPPFLAGS properly (if at all).
12 # Update: We now avoid setting foo/libfoo_a_CPPFLAGS,
13 # so perhaps 1.6 will work.
14 AUTOMAKE_OPTIONS = 1.7 subdir-objects
16 INCLUDES =      \
17         $(PERL_CFLAGS) $(PYTHON_CFLAGS) \
18         $(FREETYPE_CFLAGS)      \
19         $(GNOME_PRINT_CFLAGS)   \
20         $(GNOME_VFS_CFLAGS)     \
21         $(INKBOARD_CFLAGS) \
22         $(XFT_CFLAGS)   \
23         $(GTK_UNIX_PRINT_CFLAGS)        \
24         -DPOTRACE=\"potrace\"   \
25         $(INKSCAPE_CFLAGS) \
26         -I$(top_srcdir)/cxxtest
28 include Makefile_insert
29 include application/Makefile_insert
30 include dialogs/Makefile_insert
31 include display/Makefile_insert
32 include dom/Makefile_insert
33 include extension/Makefile_insert
34 include extension/implementation/Makefile_insert
35 include extension/internal/Makefile_insert
36 include extension/internal/libwpg/Makefile_insert
37 include extension/script/Makefile_insert
38 include helper/Makefile_insert
39 include inkjar/Makefile_insert
40 include io/Makefile_insert
41 include pedro/Makefile_insert
42 include jabber_whiteboard/Makefile_insert
43 include libcroco/Makefile_insert
44 include libnr/Makefile_insert
45 include libnrtype/Makefile_insert
46 include libavoid/Makefile_insert
47 include livarot/Makefile_insert
48 include libvpsc/Makefile_insert
49 include libcola/Makefile_insert
50 include removeoverlap/Makefile_insert
51 include graphlayout/Makefile_insert
52 include svg/Makefile_insert
53 include utest/Makefile_insert
54 include widgets/Makefile_insert
55 include debug/Makefile_insert
56 include xml/Makefile_insert
57 include traits/Makefile_insert
58 include algorithms/Makefile_insert
59 include ui/Makefile_insert
60 include ui/cache/Makefile_insert
61 include ui/dialog/Makefile_insert
62 include ui/view/Makefile_insert
63 include ui/widget/Makefile_insert
64 include util/Makefile_insert
65 include trace/Makefile_insert
67 bin_PROGRAMS = inkscape inkview
69 noinst_LIBRARIES =      \
70         libinkpre.a     \
71         application/libinkapp.a \
72         dialogs/libspdialogs.a  \
73         pedro/libpedro.a \
74         jabber_whiteboard/libjabber_whiteboard.a \
75         display/libspdisplay.a  \
76         dom/libdom.a    \
77         extension/implementation/libimplementation.a    \
78         extension/internal/libinternal.a        \
79         extension/internal/libwpg/libwpg.a      \
80         extension/libextension.a        \
81         extension/script/libscript.a    \
82         helper/libspchelp.a     \
83         io/libio.a      \
84         libcroco/libcroco.a     \
85         ui/libui.a      \
86         ui/cache/libuicache.a   \
87         ui/dialog/libuidialog.a \
88         ui/view/libuiview.a     \
89         ui/widget/libuiwidget.a \
90         util/libinkutil.a \
91         debug/libinkdebug.a \
92         $(inkjar_libs)  \
93         libnr/libnr.a   \
94         libnrtype/libnrtype.a   \
95         libavoid/libavoid.a     \
96         libvpsc/libvpsc.a       \
97         libcola/libcola.a       \
98         livarot/libvarot.a      \
99         removeoverlap/libremoveoverlap.a        \
100         graphlayout/libgraphlayout.a    \
101         svg/libspsvg.a  \
102         widgets/libspwidgets.a  \
103         trace/libtrace.a  \
104         xml/libspxml.a  \
105         libinkpost.a
107 check_LIBRARIES =       \
108         libnr/libtest-nr.a      \
109         svg/libtest-svg.a       \
110         svg/libtest-stubs.a     \
111         xml/libtest-xml.a
113 DISTCLEANFILES =        \
114         helper/sp-marshal.cpp   \
115         helper/sp-marshal.h     \
116         inkscape_version.h
118 EXTRA_DIST =    \
119         mkdep.pl        \
120         mkfiles.pl      \
121         make.exclude    \
122         Doxyfile        \
123         sp-skeleton.cpp sp-skeleton.h   \
124         algorithms/makefile.in  \
125         application/makefile.in \
126         debug/makefile.in       \
127         dialogs/makefile.in     \
128         dialogs/filedialog-win32.cpp    \
129         display/makefile.in     \
130         dom/makefile.in         \
131         extension/implementation/makefile.in    \
132         extension/internal/makefile.in  \
133         extension/makefile.in   \
134         extension/script/makefile.in    \
135         helper/makefile.in      \
136         inkjar/makefile.in      \
137         io/makefile.in  \
138         io/crystalegg.xml       \
139         io/doc2html.xsl         \
140         pedro/makefile.in       \
141         jabber_whiteboard/makefile.in   \
142         libcroco/makefile.in    \
143         libnr/makefile.in       \
144         libnrtype/makefile.in   \
145         libavoid/makefile.in    \
146         livarot/makefile.in     \
147         removeoverlap/makefile.in       \
148         svg/makefile.in         \
149         trace/makefile.in       \
150         traits/makefile.in      \
151         utest/makefile.in       \
152         ui/makefile.in          \
153         ui/cache/makefile.in    \
154         ui/dialog/makefile.in   \
155         ui/view/makefile.in     \
156         ui/widget/makefile.in   \
157         util/makefile.in        \
158         widgets/makefile.in     \
159         xml/makefile.in         \
160         extension/internal/gnome.cpp    \
161         extension/internal/gnome.h      \
162         extension/internal/win32.cpp    \
163         extension/internal/win32.h      \
164         extension/internal/emf-win32-inout.cpp  \
165         extension/internal/emf-win32-inout.h    \
166         extension/internal/emf-win32-print.cpp  \
167         extension/internal/emf-win32-print.h    \
168         helper/sp-marshal.list  \
169         utest/utest.h   \
170         utest/test-1ary-cases.h \
171         traits/copy.h   \
172         traits/function.h       \
173         traits/list-copy.h      \
174         traits/reference.h \
175         $(jabber_whiteboard_SOURCES)
177 EXTRA_PROGRAMS =        \
178         inkview         \
179         libnr/testnr
181 TESTS = \
182         test-all$(EXEEXT)       \
183         style-test$(EXEEXT)     \
184         display/bezier-utils-test$(EXEEXT)      \
185         helper/units-test$(EXEEXT)      \
186         libnr/in-svg-plane-test$(EXEEXT)        \
187         libnr/nr-matrix-test$(EXEEXT)   \
188         libnr/nr-point-fns-test$(EXEEXT)        \
189         libnr/nr-rotate-test$(EXEEXT)   \
190         libnr/nr-rotate-fns-test$(EXEEXT)       \
191         libnr/nr-scale-test$(EXEEXT)    \
192         libnr/nr-translate-test$(EXEEXT)        \
193         libnr/nr-types-test$(EXEEXT)    \
194         libnr/test-nr$(EXEEXT)  \
195         svg/test-svg$(EXEEXT)   \
196         util/list-container-test$(EXEEXT)       \
197         xml/test-xml$(EXEEXT)   \
198         xml/quote-test$(EXEEXT) \
199         xml/repr-action-test$(EXEEXT)
201 # As of 2007-01-13, these are failing...
202 XFAIL_TESTS = \
203         test-all$(EXEEXT)       \
204         style-test$(EXEEXT)
206 # streamtest is unfinished and can't handle the relocations done during
207 # "make distcheck".  Not needed for the 0.41 release.
208 #       io/streamtest$(EXEEXT)
210 # automake adds $(EXEEXT) to check_PROGRAMS items but not to TESTS items:
211 # TESTS items can be scripts etc.
213 check_PROGRAMS =        \
214         test-all        \
215         style-test      \
216         display/bezier-utils-test       \
217         helper/units-test       \
218         libnr/in-svg-plane-test \
219         libnr/nr-matrix-test    \
220         libnr/nr-point-fns-test \
221         libnr/nr-rotate-test    \
222         libnr/nr-rotate-fns-test        \
223         libnr/nr-scale-test     \
224         libnr/nr-translate-test \
225         libnr/nr-types-test     \
226         libnr/test-nr   \
227         svg/test-svg    \
228         util/list-container-test        \
229         xml/test-xml    \
230         xml/quote-test  \
231         xml/repr-action-test
233 #       io/streamtest
236 test-all.cpp: \
237                 $(libnr_test_nr_a_SOURCES)      \
238                 $(svg_test_svg_a_SOURCES)       \
239                 $(xml_test_xml_a_SOURCES)       \
240                 $(libnr_test_nr_includes)       \
241                 $(svg_test_svg_includes)        \
242                 $(xml_test_xml_includes)        \
243                 $(test_all_includes)
244         $(top_srcdir)/cxxtest/cxxtestgen.pl --template=$(srcdir)/selfname.tpl -root -o test-all.cpp     \
245                 $(libnr_test_nr_includes)       \
246                 $(svg_test_svg_includes)        \
247                 $(xml_test_xml_includes)        \
248                 $(test_all_includes)
250 test_all_SOURCES = \
251         test-all.cpp $(test_all_includes)
254 test_all_LDADD =        \
255         $(all_libs)     \
256         $(svg_test_svg_LDADD)   \
257         $(libnr_test_nr_LDADD)  \
258         $(xml_test_xml_LDADD) \
259         io/libio.a      
262 # ################################################
264 #  D I S T
266 # ################################################
268 dist-hook:
269         mkdir $(distdir)/pixmaps
270         cp $(srcdir)/pixmaps/*xpm $(distdir)/pixmaps
272 distclean-local:
273         rm -f libnr/test-nr.xml libnr/test-nr.log svg/test-svg.xml svg/test-svg.log xml/test-xml.xml xml/test-xml.log test-all.xml test-all.log