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