b1df010747a3802879ac1e936de85eac7e137957
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 util/libtest-util.a \
128 xml/libtest-xml.a
130 DISTCLEANFILES = \
131 helper/sp-marshal.cpp \
132 helper/sp-marshal.h \
133 inkscape_version.h
135 EXTRA_DIST = \
136 Doxyfile \
137 sp-skeleton.cpp sp-skeleton.h \
138 algorithms/makefile.in \
139 application/makefile.in \
140 bind/makefile.in \
141 debug/makefile.in \
142 dialogs/makefile.in \
143 dialogs/filedialog-win32.cpp \
144 display/makefile.in \
145 dom/makefile.in \
146 extension/implementation/makefile.in \
147 extension/internal/makefile.in \
148 extension/makefile.in \
149 extension/script/makefile.in \
150 filters/makefile.in \
151 helper/makefile.in \
152 inkjar/makefile.in \
153 io/makefile.in \
154 io/crystalegg.xml \
155 io/doc2html.xsl \
156 pedro/makefile.in \
157 jabber_whiteboard/makefile.in \
158 libgdl/makefile.in \
159 libcroco/makefile.in \
160 libnr/makefile.in \
161 libnrtype/makefile.in \
162 libavoid/makefile.in \
163 livarot/makefile.in \
164 live_effects/makefile.in \
165 live_effects/parameter/makefile.in \
166 removeoverlap/makefile.in \
167 svg/makefile.in \
168 trace/makefile.in \
169 traits/makefile.in \
170 utest/makefile.in \
171 ui/makefile.in \
172 ui/cache/makefile.in \
173 ui/dialog/makefile.in \
174 ui/view/makefile.in \
175 ui/widget/makefile.in \
176 util/makefile.in \
177 widgets/makefile.in \
178 xml/makefile.in \
179 2geom/makefile.in \
180 extension/internal/win32.cpp \
181 extension/internal/win32.h \
182 extension/internal/emf-win32-inout.cpp \
183 extension/internal/emf-win32-inout.h \
184 extension/internal/emf-win32-print.cpp \
185 extension/internal/emf-win32-print.h \
186 helper/sp-marshal.list \
187 utest/utest.h \
188 utest/test-1ary-cases.h \
189 traits/copy.h \
190 traits/function.h \
191 traits/list-copy.h \
192 traits/reference.h \
193 $(jabber_whiteboard_SOURCES)
195 EXTRA_PROGRAMS = \
196 inkview \
197 libnr/testnr
199 TESTS = \
200 test-src$(EXEEXT) \
201 style-test$(EXEEXT) \
202 display/bezier-utils-test$(EXEEXT) \
203 display/test-display$(EXEEXT) \
204 helper/units-test$(EXEEXT) \
205 helper/test-helper$(EXEEXT) \
206 libnr/in-svg-plane-test$(EXEEXT) \
207 libnr/nr-matrix-test$(EXEEXT) \
208 libnr/nr-point-fns-test$(EXEEXT) \
209 libnr/nr-rotate-test$(EXEEXT) \
210 libnr/nr-rotate-fns-test$(EXEEXT) \
211 libnr/nr-scale-test$(EXEEXT) \
212 libnr/nr-translate-test$(EXEEXT) \
213 libnr/nr-types-test$(EXEEXT) \
214 libnr/test-nr$(EXEEXT) \
215 svg/test-svg$(EXEEXT) \
216 util/list-container-test$(EXEEXT) \
217 util/test-util$(EXEEXT) \
218 xml/test-xml$(EXEEXT) \
219 xml/quote-test$(EXEEXT) \
220 xml/repr-action-test$(EXEEXT)
222 # As of 2007-01-13, these are failing...
223 #XFAIL_TESTS = \
224 # test-src$(EXEEXT) \
225 # style-test$(EXEEXT)
227 # streamtest is unfinished and can't handle the relocations done during
228 # "make distcheck". Not needed for the 0.41 release.
229 # io/streamtest$(EXEEXT)
231 # automake adds $(EXEEXT) to check_PROGRAMS items but not to TESTS items:
232 # TESTS items can be scripts etc.
234 check_PROGRAMS = \
235 test-src \
236 style-test \
237 display/bezier-utils-test \
238 display/test-display \
239 helper/units-test \
240 helper/test-helper \
241 libnr/in-svg-plane-test \
242 libnr/nr-matrix-test \
243 libnr/nr-point-fns-test \
244 libnr/nr-rotate-test \
245 libnr/nr-rotate-fns-test \
246 libnr/nr-scale-test \
247 libnr/nr-translate-test \
248 libnr/nr-types-test \
249 libnr/test-nr \
250 svg/test-svg \
251 util/list-container-test \
252 util/test-util \
253 xml/test-xml \
254 xml/quote-test \
255 xml/repr-action-test
257 # io/streamtest
260 test-src.cpp: \
261 $(test_src_includes)
262 $(top_srcdir)/cxxtest/cxxtestgen.pl --have-eh --template=$(srcdir)/selfname.tpl -root -o test-src.cpp \
263 $(test_src_includes)
265 test_src_SOURCES = \
266 test-src.cpp $(test_src_includes)
269 test_src_LDADD = \
270 $(all_libs) \
271 io/libio.a
274 # ################################################
275 #
276 # D I S T
277 #
278 # ################################################
280 dist-hook:
281 mkdir $(distdir)/pixmaps
282 cp $(srcdir)/pixmaps/*xpm $(distdir)/pixmaps
284 distclean-local:
285 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