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