Code

Optimized text output by not repeating glyph coordinates when they are identical
[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         $(POPPLER_CFLAGS)       \
25         $(POPPLER_GLIB_CFLAGS)  \
26         -DPOTRACE=\"potrace\"   \
27         $(INKSCAPE_CFLAGS) \
28         -I$(top_srcdir)/cxxtest
30 include Makefile_insert
31 include application/Makefile_insert
32 include dialogs/Makefile_insert
33 include display/Makefile_insert
34 include dom/Makefile_insert
35 include extension/Makefile_insert
36 include extension/implementation/Makefile_insert
37 include extension/internal/Makefile_insert
38 include extension/internal/libwpg/Makefile_insert
39 include extension/script/Makefile_insert
40 include helper/Makefile_insert
41 include inkjar/Makefile_insert
42 include io/Makefile_insert
43 include pedro/Makefile_insert
44 include jabber_whiteboard/Makefile_insert
45 include libcroco/Makefile_insert
46 include libnr/Makefile_insert
47 include libnrtype/Makefile_insert
48 include libavoid/Makefile_insert
49 include livarot/Makefile_insert
50 include live_effects/Makefile_insert
51 include live_effects/parameter/Makefile_insert
52 include libvpsc/Makefile_insert
53 include libcola/Makefile_insert
54 include removeoverlap/Makefile_insert
55 include graphlayout/Makefile_insert
56 include svg/Makefile_insert
57 include utest/Makefile_insert
58 include widgets/Makefile_insert
59 include debug/Makefile_insert
60 include xml/Makefile_insert
61 include traits/Makefile_insert
62 include algorithms/Makefile_insert
63 include ui/Makefile_insert
64 include ui/cache/Makefile_insert
65 include ui/dialog/Makefile_insert
66 include ui/view/Makefile_insert
67 include ui/widget/Makefile_insert
68 include util/Makefile_insert
69 include trace/Makefile_insert
70 include 2geom/Makefile_insert
72 bin_PROGRAMS = inkscape inkview
74 noinst_LIBRARIES =      \
75         libinkpre.a     \
76         application/libinkapp.a \
77         dialogs/libspdialogs.a  \
78         pedro/libpedro.a \
79         jabber_whiteboard/libjabber_whiteboard.a \
80         display/libspdisplay.a  \
81         dom/libdom.a    \
82         extension/implementation/libimplementation.a    \
83         extension/internal/libinternal.a        \
84         extension/internal/libwpg/libwpg.a      \
85         extension/libextension.a        \
86         extension/script/libscript.a    \
87         helper/libspchelp.a     \
88         io/libio.a      \
89         libcroco/libcroco.a     \
90         live_effects/liblive_effects.a \
91         live_effects/parameter/liblpeparam.a \
92         ui/libui.a      \
93         ui/cache/libuicache.a   \
94         ui/dialog/libuidialog.a \
95         ui/view/libuiview.a     \
96         ui/widget/libuiwidget.a \
97         util/libinkutil.a \
98         debug/libinkdebug.a \
99         $(inkjar_libs)  \
100         libnr/libnr.a   \
101         libnrtype/libnrtype.a   \
102         libavoid/libavoid.a     \
103         libvpsc/libvpsc.a       \
104         libcola/libcola.a       \
105         livarot/libvarot.a      \
106         removeoverlap/libremoveoverlap.a        \
107         graphlayout/libgraphlayout.a    \
108         svg/libspsvg.a  \
109         widgets/libspwidgets.a  \
110         trace/libtrace.a  \
111         xml/libspxml.a  \
112         2geom/lib2geom.a        \
113         libinkpost.a
115 check_LIBRARIES =       \
116         libnr/libtest-nr.a      \
117         svg/libtest-svg.a       \
118         svg/libtest-stubs.a     \
119         xml/libtest-xml.a
121 DISTCLEANFILES =        \
122         helper/sp-marshal.cpp   \
123         helper/sp-marshal.h     \
124         inkscape_version.h
126 EXTRA_DIST =    \
127         Doxyfile        \
128         sp-skeleton.cpp sp-skeleton.h   \
129         algorithms/makefile.in  \
130         application/makefile.in \
131         debug/makefile.in       \
132         dialogs/makefile.in     \
133         dialogs/filedialog-win32.cpp    \
134         display/makefile.in     \
135         dom/makefile.in         \
136         extension/implementation/makefile.in    \
137         extension/internal/makefile.in  \
138         extension/makefile.in   \
139         extension/script/makefile.in    \
140         helper/makefile.in      \
141         inkjar/makefile.in      \
142         io/makefile.in  \
143         io/crystalegg.xml       \
144         io/doc2html.xsl         \
145         pedro/makefile.in       \
146         jabber_whiteboard/makefile.in   \
147         libcroco/makefile.in    \
148         libnr/makefile.in       \
149         libnrtype/makefile.in   \
150         libavoid/makefile.in    \
151         livarot/makefile.in     \
152         live_effects/makefile.in        \
153         live_effects/parameter/makefile.in      \
154         removeoverlap/makefile.in       \
155         svg/makefile.in         \
156         trace/makefile.in       \
157         traits/makefile.in      \
158         utest/makefile.in       \
159         ui/makefile.in          \
160         ui/cache/makefile.in    \
161         ui/dialog/makefile.in   \
162         ui/view/makefile.in     \
163         ui/widget/makefile.in   \
164         util/makefile.in        \
165         widgets/makefile.in     \
166         xml/makefile.in         \
167         2geom/makefile.in       \
168         extension/internal/gnome.cpp    \
169         extension/internal/gnome.h      \
170         extension/internal/win32.cpp    \
171         extension/internal/win32.h      \
172         extension/internal/emf-win32-inout.cpp  \
173         extension/internal/emf-win32-inout.h    \
174         extension/internal/emf-win32-print.cpp  \
175         extension/internal/emf-win32-print.h    \
176         helper/sp-marshal.list  \
177         utest/utest.h   \
178         utest/test-1ary-cases.h \
179         traits/copy.h   \
180         traits/function.h       \
181         traits/list-copy.h      \
182         traits/reference.h \
183         $(jabber_whiteboard_SOURCES)
185 EXTRA_PROGRAMS =        \
186         inkview         \
187         libnr/testnr
189 TESTS = \
190         test-all$(EXEEXT)       \
191         style-test$(EXEEXT)     \
192         display/bezier-utils-test$(EXEEXT)      \
193         helper/units-test$(EXEEXT)      \
194         libnr/in-svg-plane-test$(EXEEXT)        \
195         libnr/nr-matrix-test$(EXEEXT)   \
196         libnr/nr-point-fns-test$(EXEEXT)        \
197         libnr/nr-rotate-test$(EXEEXT)   \
198         libnr/nr-rotate-fns-test$(EXEEXT)       \
199         libnr/nr-scale-test$(EXEEXT)    \
200         libnr/nr-translate-test$(EXEEXT)        \
201         libnr/nr-types-test$(EXEEXT)    \
202         libnr/test-nr$(EXEEXT)  \
203         svg/test-svg$(EXEEXT)   \
204         util/list-container-test$(EXEEXT)       \
205         xml/test-xml$(EXEEXT)   \
206         xml/quote-test$(EXEEXT) \
207         xml/repr-action-test$(EXEEXT)
209 # As of 2007-01-13, these are failing...
210 XFAIL_TESTS = \
211         test-all$(EXEEXT)       \
212         style-test$(EXEEXT)
214 # streamtest is unfinished and can't handle the relocations done during
215 # "make distcheck".  Not needed for the 0.41 release.
216 #       io/streamtest$(EXEEXT)
218 # automake adds $(EXEEXT) to check_PROGRAMS items but not to TESTS items:
219 # TESTS items can be scripts etc.
221 check_PROGRAMS =        \
222         test-all        \
223         style-test      \
224         display/bezier-utils-test       \
225         helper/units-test       \
226         libnr/in-svg-plane-test \
227         libnr/nr-matrix-test    \
228         libnr/nr-point-fns-test \
229         libnr/nr-rotate-test    \
230         libnr/nr-rotate-fns-test        \
231         libnr/nr-scale-test     \
232         libnr/nr-translate-test \
233         libnr/nr-types-test     \
234         libnr/test-nr   \
235         svg/test-svg    \
236         util/list-container-test        \
237         xml/test-xml    \
238         xml/quote-test  \
239         xml/repr-action-test
241 #       io/streamtest
244 test-all.cpp: \
245                 $(libnr_test_nr_a_SOURCES)      \
246                 $(svg_test_svg_a_SOURCES)       \
247                 $(xml_test_xml_a_SOURCES)       \
248                 $(libnr_test_nr_includes)       \
249                 $(svg_test_svg_includes)        \
250                 $(xml_test_xml_includes)        \
251                 $(test_all_includes)
252         $(top_srcdir)/cxxtest/cxxtestgen.pl --template=$(srcdir)/selfname.tpl -root -o test-all.cpp     \
253                 $(libnr_test_nr_includes)       \
254                 $(svg_test_svg_includes)        \
255                 $(xml_test_xml_includes)        \
256                 $(test_all_includes)
258 test_all_SOURCES = \
259         test-all.cpp $(test_all_includes)
262 test_all_LDADD =        \
263         $(all_libs)     \
264         $(svg_test_svg_LDADD)   \
265         $(libnr_test_nr_LDADD)  \
266         $(xml_test_xml_LDADD) \
267         io/libio.a      
270 # ################################################
272 #  D I S T
274 # ################################################
276 dist-hook:
277         mkdir $(distdir)/pixmaps
278         cp $(srcdir)/pixmaps/*xpm $(distdir)/pixmaps
280 distclean-local:
281         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