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 attributes-test$(EXEEXT) \
170 dir-util-test$(EXEEXT) \
171 extract-uri-test$(EXEEXT) \
172 mod360-test$(EXEEXT) \
173 round-test$(EXEEXT) \
174 sp-gradient-test$(EXEEXT) \
175 sp-style-elem-test$(EXEEXT) \
176 style-test$(EXEEXT) \
177 display/bezier-utils-test$(EXEEXT) \
178 helper/units-test$(EXEEXT) \
179 libnr/in-svg-plane-test$(EXEEXT) \
180 libnr/nr-matrix-test$(EXEEXT) \
181 libnr/nr-point-fns-test$(EXEEXT) \
182 libnr/nr-rotate-test$(EXEEXT) \
183 libnr/nr-rotate-fns-test$(EXEEXT) \
184 libnr/nr-scale-test$(EXEEXT) \
185 libnr/nr-translate-test$(EXEEXT) \
186 libnr/nr-types-test$(EXEEXT) \
187 libnr/test-nr$(EXEEXT) \
188 removeoverlap/remove_rectangle_overlap-test$(EXEEXT) \
189 svg/test-svg$(EXEEXT) \
190 util/list-container-test$(EXEEXT) \
191 xml/test-xml$(EXEEXT) \
192 xml/quote-test$(EXEEXT) \
193 xml/repr-action-test$(EXEEXT)
195 # streamtest is unfinished and can't handle the relocations done during
196 # "make distcheck". Not needed for the 0.41 release.
197 # io/streamtest$(EXEEXT)
199 # automake adds $(EXEEXT) to check_PROGRAMS items but not to TESTS items:
200 # TESTS items can be scripts etc.
202 check_PROGRAMS = \
203 test-all \
204 attributes-test \
205 dir-util-test \
206 extract-uri-test \
207 mod360-test \
208 round-test \
209 sp-gradient-test \
210 sp-style-elem-test \
211 style-test \
212 display/bezier-utils-test \
213 helper/units-test \
214 libnr/in-svg-plane-test \
215 libnr/nr-matrix-test \
216 libnr/nr-point-fns-test \
217 libnr/nr-rotate-test \
218 libnr/nr-rotate-fns-test \
219 libnr/nr-scale-test \
220 libnr/nr-translate-test \
221 libnr/nr-types-test \
222 libnr/test-nr \
223 removeoverlap/remove_rectangle_overlap-test \
224 svg/test-svg \
225 util/list-container-test \
226 xml/test-xml \
227 xml/quote-test \
228 xml/repr-action-test
230 # io/streamtest
233 test-all.cpp: \
234 $(libnr_test_nr_a_SOURCES) \
235 $(svg_test_svg_a_SOURCES) \
236 $(xml_test_xml_a_SOURCES) \
237 $(libnr_test_nr_includes) \
238 $(svg_test_svg_includes) \
239 $(xml_test_xml_includes)
240 $(top_srcdir)/cxxtest/cxxtestgen.pl --error-printer -root -o test-all.cpp \
241 $(libnr_test_nr_includes) \
242 $(svg_test_svg_includes) \
243 $(xml_test_xml_includes)
245 test_all_SOURCES = \
246 test-all.cpp
248 test_all_LDADD = \
249 $(libnr_test_nr_LDADD) \
250 $(svg_test_svg_LDADD) \
251 $(xml_test_xml_LDADD)
254 # ################################################
255 #
256 # D I S T
257 #
258 # ################################################
260 dist-hook:
261 mkdir $(distdir)/pixmaps
262 cp $(srcdir)/pixmaps/*xpm $(distdir)/pixmaps