Code

* Removing the bitmap files that aren't being used.
[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         $(IMAGEMAGICK_CFLAGS) \
22         $(INKBOARD_CFLAGS) \
23         $(LIBWPG_CFLAGS) \
24         $(XFT_CFLAGS)   \
25         $(LCMS_CFLAGS)  \
26         $(POPPLER_CFLAGS)       \
27         $(POPPLER_GLIB_CFLAGS)  \
28         -DPOTRACE=\"potrace\"   \
29         $(INKSCAPE_CFLAGS) \
30         -I$(top_srcdir)/cxxtest \
31         $(WIN32_CFLAGS)
33 CXXTEST_TEMPLATE = $(srcdir)/cxxtest-template.tpl
34 CXXTESTGENFLAGS = --root --have-eh --template=$(CXXTEST_TEMPLATE)
35 CXXTESTGEN = $(top_srcdir)/cxxtest/cxxtestgen.pl $(CXXTESTGENFLAGS)
37 # Include all partial makefiles from subdirectories
38 include Makefile_insert
39 include application/Makefile_insert
40 include bind/Makefile_insert
41 include dialogs/Makefile_insert
42 include display/Makefile_insert
43 include dom/Makefile_insert
44 include extension/Makefile_insert
45 include extension/implementation/Makefile_insert
46 include extension/internal/Makefile_insert
47 include extension/script/Makefile_insert
48 include filters/Makefile_insert
49 include helper/Makefile_insert
50 include inkjar/Makefile_insert
51 include io/Makefile_insert
52 include pedro/Makefile_insert
53 include jabber_whiteboard/Makefile_insert
54 include libcroco/Makefile_insert
55 include libgdl/Makefile_insert
56 include libnr/Makefile_insert
57 include libnrtype/Makefile_insert
58 include libavoid/Makefile_insert
59 include livarot/Makefile_insert
60 include live_effects/Makefile_insert
61 include live_effects/parameter/Makefile_insert
62 include libvpsc/Makefile_insert
63 include libcola/Makefile_insert
64 include removeoverlap/Makefile_insert
65 include graphlayout/Makefile_insert
66 include svg/Makefile_insert
67 include utest/Makefile_insert
68 include widgets/Makefile_insert
69 include debug/Makefile_insert
70 include xml/Makefile_insert
71 include traits/Makefile_insert
72 include algorithms/Makefile_insert
73 include ui/Makefile_insert
74 include ui/cache/Makefile_insert
75 include ui/dialog/Makefile_insert
76 include ui/view/Makefile_insert
77 include ui/widget/Makefile_insert
78 include util/Makefile_insert
79 include trace/Makefile_insert
80 include 2geom/Makefile_insert
82 # Executables compiled by "make" and installed by "make install"
83 bin_PROGRAMS = inkscape inkview
85 # Libraries which should be compiled by "make" but not installed
86 # Currently we use one library per source directory.
87 noinst_LIBRARIES =      \
88         libinkpre.a     \
89         application/libinkapp.a \
90         dialogs/libspdialogs.a  \
91         pedro/libpedro.a \
92         jabber_whiteboard/libjabber_whiteboard.a \
93         display/libspdisplay.a  \
94         dom/libdom.a    \
95         extension/implementation/libimplementation.a    \
96         extension/internal/libinternal.a        \
97         extension/libextension.a        \
98         extension/script/libscript.a    \
99         filters/libfilters.a    \
100         bind/libbind.a  \
101         helper/libspchelp.a     \
102         io/libio.a      \
103         libcroco/libcroco.a     \
104         libgdl/libgdl.a         \
105         live_effects/liblive_effects.a \
106         live_effects/parameter/liblpeparam.a \
107         ui/libui.a      \
108         ui/cache/libuicache.a   \
109         ui/dialog/libuidialog.a \
110         ui/view/libuiview.a     \
111         ui/widget/libuiwidget.a \
112         util/libinkutil.a \
113         debug/libinkdebug.a \
114         $(inkjar_libs)  \
115         libnr/libnr.a   \
116         libnrtype/libnrtype.a   \
117         libavoid/libavoid.a     \
118         libvpsc/libvpsc.a       \
119         libcola/libcola.a       \
120         livarot/libvarot.a      \
121         removeoverlap/libremoveoverlap.a        \
122         graphlayout/libgraphlayout.a    \
123         svg/libspsvg.a  \
124         widgets/libspwidgets.a  \
125         trace/libtrace.a  \
126         xml/libspxml.a  \
127         2geom/lib2geom.a        \
128         libinkpost.a
130 # Extra files to remove when doing "make distclean"
131 DISTCLEANFILES =        \
132         helper/sp-marshal.cpp   \
133         helper/sp-marshal.h     \
134         inkscape_version.h
136 # Extra files not mentioned as sources to include in the source tarball
137 EXTRA_DIST =    \
138         $(top_srcdir)/Doxyfile  \
139         sp-skeleton.cpp sp-skeleton.h   \
140         algorithms/makefile.in  \
141         application/makefile.in \
142         bind/makefile.in        \
143         debug/makefile.in       \
144         dialogs/makefile.in     \
145         display/makefile.in     \
146         dom/makefile.in         \
147         extension/implementation/makefile.in    \
148         extension/internal/makefile.in  \
149         extension/makefile.in   \
150         extension/script/makefile.in    \
151         filters/makefile.in \
152         helper/makefile.in      \
153         inkjar/makefile.in      \
154         io/makefile.in  \
155         io/crystalegg.xml       \
156         io/doc2html.xsl         \
157         pedro/makefile.in       \
158         jabber_whiteboard/makefile.in   \
159         libgdl/makefile.in      \
160         libcroco/makefile.in    \
161         libnr/makefile.in       \
162         libnrtype/makefile.in   \
163         libavoid/makefile.in    \
164         livarot/makefile.in     \
165         live_effects/makefile.in        \
166         live_effects/parameter/makefile.in      \
167         removeoverlap/makefile.in       \
168         svg/makefile.in         \
169         trace/makefile.in       \
170         traits/makefile.in      \
171         utest/makefile.in       \
172         ui/makefile.in          \
173         ui/cache/makefile.in    \
174         ui/dialog/makefile.in   \
175         ui/view/makefile.in     \
176         ui/widget/makefile.in   \
177         util/makefile.in        \
178         widgets/makefile.in     \
179         xml/makefile.in         \
180         2geom/makefile.in       \
181         extension/internal/win32.cpp    \
182         extension/internal/win32.h      \
183         extension/internal/emf-win32-inout.cpp  \
184         extension/internal/emf-win32-inout.h    \
185         extension/internal/emf-win32-print.cpp  \
186         extension/internal/emf-win32-print.h    \
187         helper/sp-marshal.list  \
188         utest/utest.h   \
189         utest/test-1ary-cases.h \
190         traits/copy.h   \
191         traits/function.h       \
192         traits/list-copy.h      \
193         traits/reference.h \
194         $(jabber_whiteboard_SOURCES)
196 EXTRA_PROGRAMS =        \
197         inkview         \
198         libnr/testnr
201 ##################################
202 ### TESTING STUFF (make check) ###
203 ##################################
205 # List of all programs that should be built before testing. Note that this is
206 # different from TESTS, because some tests can be scripts that don't
207 # need to be built. There should be one test program per directory.
208 # automake adds $(EXEEXT) to check_PROGRAMS items but not to TESTS items:
209 # TESTS items can be scripts etc.
210 check_PROGRAMS =        \
211         test-src        \
212         style-test      \
213         display/test-display    \
214         helper/test-helper      \
215         libnr/test-nr   \
216         svg/test-svg    \
217         util/test-util  \
218         xml/test-xml
219 #       io/streamtest
220 # streamtest is unfinished and can't handle the relocations done during
221 # "make distcheck".
223 # List of all tests to be run.
224 TESTS = $(check_PROGRAMS)
226 # ################################################
228 #  D I S T
230 # ################################################
232 dist-hook:
233         mkdir $(distdir)/pixmaps
234         cp $(srcdir)/pixmaps/*xpm $(distdir)/pixmaps
236 distclean-local:
237         rm -f display/test-display.xml display/test-display.log helper/test-helper.xml helper/test-helper.log libnr/test-nr.xml libnr/test-nr.log svg/test-svg.xml svg/test-svg.log util/test-util.xml util/test-util.log xml/test-xml.xml xml/test-xml.log test-src.xml test-src.log