Code

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