Code

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