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 $(LIBWPG_CFLAGS) \
23 $(XFT_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/script/Makefile_insert
39 include helper/Makefile_insert
40 include inkjar/Makefile_insert
41 include io/Makefile_insert
42 include pedro/Makefile_insert
43 include jabber_whiteboard/Makefile_insert
44 include libcroco/Makefile_insert
45 include libgdl/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/libextension.a \
85 extension/script/libscript.a \
86 helper/libspchelp.a \
87 io/libio.a \
88 libcroco/libcroco.a \
89 libgdl/libgdl.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 libgdl/makefile.in \
148 libcroco/makefile.in \
149 libnr/makefile.in \
150 libnrtype/makefile.in \
151 libavoid/makefile.in \
152 livarot/makefile.in \
153 live_effects/makefile.in \
154 live_effects/parameter/makefile.in \
155 removeoverlap/makefile.in \
156 svg/makefile.in \
157 trace/makefile.in \
158 traits/makefile.in \
159 utest/makefile.in \
160 ui/makefile.in \
161 ui/cache/makefile.in \
162 ui/dialog/makefile.in \
163 ui/view/makefile.in \
164 ui/widget/makefile.in \
165 util/makefile.in \
166 widgets/makefile.in \
167 xml/makefile.in \
168 2geom/makefile.in \
169 extension/internal/win32.cpp \
170 extension/internal/win32.h \
171 extension/internal/emf-win32-inout.cpp \
172 extension/internal/emf-win32-inout.h \
173 extension/internal/emf-win32-print.cpp \
174 extension/internal/emf-win32-print.h \
175 helper/sp-marshal.list \
176 utest/utest.h \
177 utest/test-1ary-cases.h \
178 traits/copy.h \
179 traits/function.h \
180 traits/list-copy.h \
181 traits/reference.h \
182 $(jabber_whiteboard_SOURCES)
184 EXTRA_PROGRAMS = \
185 inkview \
186 libnr/testnr
188 TESTS = \
189 test-all$(EXEEXT) \
190 style-test$(EXEEXT) \
191 display/bezier-utils-test$(EXEEXT) \
192 helper/units-test$(EXEEXT) \
193 libnr/in-svg-plane-test$(EXEEXT) \
194 libnr/nr-matrix-test$(EXEEXT) \
195 libnr/nr-point-fns-test$(EXEEXT) \
196 libnr/nr-rotate-test$(EXEEXT) \
197 libnr/nr-rotate-fns-test$(EXEEXT) \
198 libnr/nr-scale-test$(EXEEXT) \
199 libnr/nr-translate-test$(EXEEXT) \
200 libnr/nr-types-test$(EXEEXT) \
201 libnr/test-nr$(EXEEXT) \
202 svg/test-svg$(EXEEXT) \
203 util/list-container-test$(EXEEXT) \
204 xml/test-xml$(EXEEXT) \
205 xml/quote-test$(EXEEXT) \
206 xml/repr-action-test$(EXEEXT)
208 # As of 2007-01-13, these are failing...
209 XFAIL_TESTS = \
210 test-all$(EXEEXT) \
211 style-test$(EXEEXT)
213 # streamtest is unfinished and can't handle the relocations done during
214 # "make distcheck". Not needed for the 0.41 release.
215 # io/streamtest$(EXEEXT)
217 # automake adds $(EXEEXT) to check_PROGRAMS items but not to TESTS items:
218 # TESTS items can be scripts etc.
220 check_PROGRAMS = \
221 test-all \
222 style-test \
223 display/bezier-utils-test \
224 helper/units-test \
225 libnr/in-svg-plane-test \
226 libnr/nr-matrix-test \
227 libnr/nr-point-fns-test \
228 libnr/nr-rotate-test \
229 libnr/nr-rotate-fns-test \
230 libnr/nr-scale-test \
231 libnr/nr-translate-test \
232 libnr/nr-types-test \
233 libnr/test-nr \
234 svg/test-svg \
235 util/list-container-test \
236 xml/test-xml \
237 xml/quote-test \
238 xml/repr-action-test
240 # io/streamtest
243 test-all.cpp: \
244 $(libnr_test_nr_a_SOURCES) \
245 $(svg_test_svg_a_SOURCES) \
246 $(xml_test_xml_a_SOURCES) \
247 $(libnr_test_nr_includes) \
248 $(svg_test_svg_includes) \
249 $(xml_test_xml_includes) \
250 $(test_all_includes)
251 $(top_srcdir)/cxxtest/cxxtestgen.pl --template=$(srcdir)/selfname.tpl -root -o test-all.cpp \
252 $(libnr_test_nr_includes) \
253 $(svg_test_svg_includes) \
254 $(xml_test_xml_includes) \
255 $(test_all_includes)
257 test_all_SOURCES = \
258 test-all.cpp $(test_all_includes)
261 test_all_LDADD = \
262 $(all_libs) \
263 $(svg_test_svg_LDADD) \
264 $(libnr_test_nr_LDADD) \
265 $(xml_test_xml_LDADD) \
266 io/libio.a
269 # ################################################
270 #
271 # D I S T
272 #
273 # ################################################
275 dist-hook:
276 mkdir $(distdir)/pixmaps
277 cp $(srcdir)/pixmaps/*xpm $(distdir)/pixmaps
279 distclean-local:
280 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