Code

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