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