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 $(LIBLOUDMOUTH_CFLAGS) \
22 $(XFT_CFLAGS) \
23 -DPOTRACE=\"potrace\" \
24 $(INKSCAPE_CFLAGS) \
25 -I$(top_srcdir)/cxxtest
27 include Makefile_insert
28 include application/Makefile_insert
29 include dialogs/Makefile_insert
30 include display/Makefile_insert
31 include dom/Makefile_insert
32 include extension/Makefile_insert
33 include extension/implementation/Makefile_insert
34 include extension/internal/Makefile_insert
35 include extension/script/Makefile_insert
36 include helper/Makefile_insert
37 include inkjar/Makefile_insert
38 include io/Makefile_insert
39 include jabber_whiteboard/Makefile_insert
40 include libcroco/Makefile_insert
41 include libnr/Makefile_insert
42 include libnrtype/Makefile_insert
43 include libavoid/Makefile_insert
44 include livarot/Makefile_insert
45 include removeoverlap/Makefile_insert
46 include graphlayout/Makefile_insert
47 include svg/Makefile_insert
48 include utest/Makefile_insert
49 include widgets/Makefile_insert
50 include debug/Makefile_insert
51 include xml/Makefile_insert
52 include traits/Makefile_insert
53 include algorithms/Makefile_insert
54 include ui/Makefile_insert
55 include ui/dialog/Makefile_insert
56 include ui/view/Makefile_insert
57 include ui/widget/Makefile_insert
58 include util/Makefile_insert
59 include trace/Makefile_insert
61 bin_PROGRAMS = inkscape inkview
63 noinst_LIBRARIES = \
64 libinkpre.a \
65 application/libinkapp.a \
66 dialogs/libspdialogs.a \
67 jabber_whiteboard/libjabber_whiteboard.a \
68 display/libspdisplay.a \
69 dom/libdom.a \
70 extension/implementation/libimplementation.a \
71 extension/internal/libinternal.a \
72 extension/libextension.a \
73 extension/script/libscript.a \
74 helper/libspchelp.a \
75 io/libio.a \
76 libcroco/libcroco.a \
77 ui/libui.a \
78 ui/dialog/libuidialog.a \
79 ui/view/libuiview.a \
80 ui/widget/libuiwidget.a \
81 util/libinkutil.a \
82 debug/libinkdebug.a \
83 $(inkjar_libs) \
84 libnr/libnr.a \
85 libnrtype/libnrtype.a \
86 libavoid/libavoid.a \
87 livarot/libvarot.a \
88 removeoverlap/libremoveoverlap.a \
89 graphlayout/libgraphlayout.a \
90 svg/libspsvg.a \
91 widgets/libspwidgets.a \
92 trace/libtrace.a \
93 xml/libspxml.a \
94 libinkpost.a
96 check_LIBRARIES = \
97 libnr/libtest-nr.a \
98 svg/libtest-svg.a \
99 xml/libtest-xml.a
101 DISTCLEANFILES = \
102 helper/sp-marshal.cpp \
103 helper/sp-marshal.h \
104 inkscape_version.h
106 EXTRA_DIST = \
107 mkdep.pl \
108 mkfiles.pl \
109 make.exclude \
110 make.dep \
111 make.files \
112 make.ofiles \
113 Doxyfile \
114 sp-skeleton.cpp sp-skeleton.h \
115 algorithms/makefile.in \
116 application/makefile.in \
117 debug/makefile.in \
118 dialogs/makefile.in \
119 dialogs/filedialog-win32.cpp \
120 display/makefile.in \
121 dom/makefile.in \
122 extension/implementation/makefile.in \
123 extension/internal/makefile.in \
124 extension/makefile.in \
125 extension/plugin/makefile.in \
126 extension/script/makefile.in \
127 helper/makefile.in \
128 inkjar/makefile.in \
129 io/makefile.in \
130 io/crystalegg.xml \
131 io/doc2html.xsl \
132 jabber_whiteboard/makefile.in \
133 libcroco/makefile.in \
134 libnr/makefile.in \
135 libnrtype/makefile.in \
136 libavoid/makefile.in \
137 livarot/makefile.in \
138 removeoverlap/makefile.in \
139 svg/makefile.in \
140 trace/makefile.in \
141 traits/makefile.in \
142 utest/makefile.in \
143 ui/makefile.in \
144 ui/dialog/makefile.in \
145 ui/view/makefile.in \
146 ui/widget/makefile.in \
147 util/makefile.in \
148 widgets/makefile.in \
149 xml/makefile.in \
150 extension/internal/gnome.cpp \
151 extension/internal/gnome.h \
152 extension/internal/win32.cpp \
153 extension/internal/win32.h \
154 helper/sp-marshal.list \
155 utest/utest.h \
156 utest/test-1ary-cases.h \
157 traits/copy.h \
158 traits/function.h \
159 traits/list-copy.h \
160 traits/reference.h \
161 $(jabber_whiteboard_SOURCES)
163 EXTRA_PROGRAMS = \
164 inkview \
165 libnr/testnr
167 TESTS = \
168 test-all$(EXEEXT) \
169 dir-util-test$(EXEEXT) \
170 extract-uri-test$(EXEEXT) \
171 mod360-test$(EXEEXT) \
172 round-test$(EXEEXT) \
173 sp-gradient-test$(EXEEXT) \
174 sp-style-elem-test$(EXEEXT) \
175 style-test$(EXEEXT) \
176 display/bezier-utils-test$(EXEEXT) \
177 helper/units-test$(EXEEXT) \
178 libnr/in-svg-plane-test$(EXEEXT) \
179 libnr/nr-matrix-test$(EXEEXT) \
180 libnr/nr-point-fns-test$(EXEEXT) \
181 libnr/nr-rotate-test$(EXEEXT) \
182 libnr/nr-rotate-fns-test$(EXEEXT) \
183 libnr/nr-scale-test$(EXEEXT) \
184 libnr/nr-translate-test$(EXEEXT) \
185 libnr/nr-types-test$(EXEEXT) \
186 libnr/test-nr$(EXEEXT) \
187 removeoverlap/remove_rectangle_overlap-test$(EXEEXT) \
188 svg/test-svg$(EXEEXT) \
189 util/list-container-test$(EXEEXT) \
190 xml/test-xml$(EXEEXT) \
191 xml/quote-test$(EXEEXT) \
192 xml/repr-action-test$(EXEEXT)
194 # streamtest is unfinished and can't handle the relocations done during
195 # "make distcheck". Not needed for the 0.41 release.
196 # io/streamtest$(EXEEXT)
198 # automake adds $(EXEEXT) to check_PROGRAMS items but not to TESTS items:
199 # TESTS items can be scripts etc.
201 check_PROGRAMS = \
202 test-all \
203 dir-util-test \
204 extract-uri-test \
205 mod360-test \
206 round-test \
207 sp-gradient-test \
208 sp-style-elem-test \
209 style-test \
210 display/bezier-utils-test \
211 helper/units-test \
212 libnr/in-svg-plane-test \
213 libnr/nr-matrix-test \
214 libnr/nr-point-fns-test \
215 libnr/nr-rotate-test \
216 libnr/nr-rotate-fns-test \
217 libnr/nr-scale-test \
218 libnr/nr-translate-test \
219 libnr/nr-types-test \
220 libnr/test-nr \
221 removeoverlap/remove_rectangle_overlap-test \
222 svg/test-svg \
223 util/list-container-test \
224 xml/test-xml \
225 xml/quote-test \
226 xml/repr-action-test
228 # io/streamtest
231 test-all.cpp: \
232 $(libnr_test_nr_a_SOURCES) \
233 $(svg_test_svg_a_SOURCES) \
234 $(xml_test_xml_a_SOURCES) \
235 $(libnr_test_nr_includes) \
236 $(svg_test_svg_includes) \
237 $(xml_test_xml_includes) \
238 $(test_all_includes)
239 $(top_srcdir)/cxxtest/cxxtestgen.pl --error-printer -root -o test-all.cpp \
240 $(libnr_test_nr_includes) \
241 $(svg_test_svg_includes) \
242 $(xml_test_xml_includes) \
243 $(test_all_includes)
245 test_all_SOURCES = \
246 test-all.cpp
249 test_all_LDADD = \
250 $(all_libs) \
251 io/libio.a \
252 $(libnr_test_nr_LDADD) \
253 $(svg_test_svg_LDADD) \
254 $(xml_test_xml_LDADD)
257 # ################################################
258 #
259 # D I S T
260 #
261 # ################################################
263 dist-hook:
264 mkdir $(distdir)/pixmaps
265 cp $(srcdir)/pixmaps/*xpm $(distdir)/pixmaps