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