Code

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