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 -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 pedro/Makefile_insert
40 include jabber_whiteboard/Makefile_insert
41 include libcroco/Makefile_insert
42 include libnr/Makefile_insert
43 include libnrtype/Makefile_insert
44 include libavoid/Makefile_insert
45 include livarot/Makefile_insert
46 include removeoverlap/Makefile_insert
47 include graphlayout/Makefile_insert
48 include svg/Makefile_insert
49 include utest/Makefile_insert
50 include widgets/Makefile_insert
51 include debug/Makefile_insert
52 include xml/Makefile_insert
53 include traits/Makefile_insert
54 include algorithms/Makefile_insert
55 include ui/Makefile_insert
56 include ui/dialog/Makefile_insert
57 include ui/view/Makefile_insert
58 include ui/widget/Makefile_insert
59 include util/Makefile_insert
60 include trace/Makefile_insert
62 bin_PROGRAMS = inkscape inkview
64 noinst_LIBRARIES = \
65 libinkpre.a \
66 application/libinkapp.a \
67 dialogs/libspdialogs.a \
68 pedro/libpedro.a \
69 jabber_whiteboard/libjabber_whiteboard.a \
70 display/libspdisplay.a \
71 dom/libdom.a \
72 extension/implementation/libimplementation.a \
73 extension/internal/libinternal.a \
74 extension/libextension.a \
75 extension/script/libscript.a \
76 helper/libspchelp.a \
77 io/libio.a \
78 libcroco/libcroco.a \
79 ui/libui.a \
80 ui/dialog/libuidialog.a \
81 ui/view/libuiview.a \
82 ui/widget/libuiwidget.a \
83 util/libinkutil.a \
84 debug/libinkdebug.a \
85 $(inkjar_libs) \
86 libnr/libnr.a \
87 libnrtype/libnrtype.a \
88 libavoid/libavoid.a \
89 livarot/libvarot.a \
90 removeoverlap/libremoveoverlap.a \
91 graphlayout/libgraphlayout.a \
92 svg/libspsvg.a \
93 widgets/libspwidgets.a \
94 trace/libtrace.a \
95 xml/libspxml.a \
96 libinkpost.a
98 check_LIBRARIES = \
99 libnr/libtest-nr.a \
100 svg/libtest-svg.a \
101 xml/libtest-xml.a
103 DISTCLEANFILES = \
104 helper/sp-marshal.cpp \
105 helper/sp-marshal.h \
106 inkscape_version.h
108 EXTRA_DIST = \
109 mkdep.pl \
110 mkfiles.pl \
111 make.exclude \
112 Doxyfile \
113 sp-skeleton.cpp sp-skeleton.h \
114 algorithms/makefile.in \
115 application/makefile.in \
116 debug/makefile.in \
117 dialogs/makefile.in \
118 dialogs/filedialog-win32.cpp \
119 display/makefile.in \
120 dom/makefile.in \
121 extension/implementation/makefile.in \
122 extension/internal/makefile.in \
123 extension/makefile.in \
124 extension/plugin/makefile.in \
125 extension/script/makefile.in \
126 helper/makefile.in \
127 inkjar/makefile.in \
128 io/makefile.in \
129 io/crystalegg.xml \
130 io/doc2html.xsl \
131 pedro/makefile.in \
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 style-test$(EXEEXT) \
170 display/bezier-utils-test$(EXEEXT) \
171 helper/units-test$(EXEEXT) \
172 libnr/in-svg-plane-test$(EXEEXT) \
173 libnr/nr-matrix-test$(EXEEXT) \
174 libnr/nr-point-fns-test$(EXEEXT) \
175 libnr/nr-rotate-test$(EXEEXT) \
176 libnr/nr-rotate-fns-test$(EXEEXT) \
177 libnr/nr-scale-test$(EXEEXT) \
178 libnr/nr-translate-test$(EXEEXT) \
179 libnr/nr-types-test$(EXEEXT) \
180 libnr/test-nr$(EXEEXT) \
181 removeoverlap/remove_rectangle_overlap-test$(EXEEXT) \
182 svg/test-svg$(EXEEXT) \
183 util/list-container-test$(EXEEXT) \
184 xml/test-xml$(EXEEXT) \
185 xml/quote-test$(EXEEXT) \
186 xml/repr-action-test$(EXEEXT)
188 # streamtest is unfinished and can't handle the relocations done during
189 # "make distcheck". Not needed for the 0.41 release.
190 # io/streamtest$(EXEEXT)
192 # automake adds $(EXEEXT) to check_PROGRAMS items but not to TESTS items:
193 # TESTS items can be scripts etc.
195 check_PROGRAMS = \
196 test-all \
197 style-test \
198 display/bezier-utils-test \
199 helper/units-test \
200 libnr/in-svg-plane-test \
201 libnr/nr-matrix-test \
202 libnr/nr-point-fns-test \
203 libnr/nr-rotate-test \
204 libnr/nr-rotate-fns-test \
205 libnr/nr-scale-test \
206 libnr/nr-translate-test \
207 libnr/nr-types-test \
208 libnr/test-nr \
209 removeoverlap/remove_rectangle_overlap-test \
210 svg/test-svg \
211 util/list-container-test \
212 xml/test-xml \
213 xml/quote-test \
214 xml/repr-action-test
216 # io/streamtest
219 test-all.cpp: \
220 $(libnr_test_nr_a_SOURCES) \
221 $(svg_test_svg_a_SOURCES) \
222 $(xml_test_xml_a_SOURCES) \
223 $(libnr_test_nr_includes) \
224 $(svg_test_svg_includes) \
225 $(xml_test_xml_includes) \
226 $(test_all_includes)
227 $(top_srcdir)/cxxtest/cxxtestgen.pl --template=selfname.tpl -root -o test-all.cpp \
228 $(libnr_test_nr_includes) \
229 $(svg_test_svg_includes) \
230 $(xml_test_xml_includes) \
231 $(test_all_includes)
233 test_all_SOURCES = \
234 test-all.cpp $(test_all_includes)
237 test_all_LDADD = \
238 $(all_libs) \
239 $(svg_test_svg_LDADD) \
240 $(libnr_test_nr_LDADD) \
241 $(xml_test_xml_LDADD) \
242 io/libio.a
245 # ################################################
246 #
247 # D I S T
248 #
249 # ################################################
251 dist-hook:
252 mkdir $(distdir)/pixmaps
253 cp $(srcdir)/pixmaps/*xpm $(distdir)/pixmaps
255 distclean-local:
256 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