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