~mc.../inkscape/inkscape

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: mental
  • Date: 2006-01-16 02:36:01 UTC
  • Revision ID: mental@users.sourceforge.net-20060116023601-wkr0h7edl5veyudq
moving trunk for module inkscape

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Process this file with automake to produce Makefile.in
 
2
 
 
3
 
 
4
# ################################################
 
5
#
 
6
#  G L O B A L
 
7
#
 
8
# ################################################
 
9
 
 
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
 
15
 
 
16
INCLUDES =      \
 
17
        $(PERL_CFLAGS) $(PYTHON_CFLAGS) \
 
18
        $(FREETYPE_CFLAGS)      \
 
19
        $(GNOME_PRINT_CFLAGS)   \
 
20
        $(GNOME_VFS_CFLAGS)     \
 
21
        $(LIBLOUDMOUTH_CFLAGS) \
 
22
        $(XFT_CFLAGS)   \
 
23
        -DPOTRACE=\"potrace\"   \
 
24
        $(INKSCAPE_CFLAGS) \
 
25
        -I$(top_srcdir)/cxxtest
 
26
 
 
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 jabber_whiteboard/Makefile_insert
 
40
include libcroco/Makefile_insert
 
41
include libnr/Makefile_insert
 
42
include libnrtype/Makefile_insert
 
43
include libavoid/Makefile_insert
 
44
include livarot/Makefile_insert
 
45
include removeoverlap/Makefile_insert
 
46
include svg/Makefile_insert
 
47
include utest/Makefile_insert
 
48
include widgets/Makefile_insert
 
49
include debug/Makefile_insert
 
50
include xml/Makefile_insert
 
51
include traits/Makefile_insert
 
52
include algorithms/Makefile_insert
 
53
include ui/Makefile_insert
 
54
include ui/dialog/Makefile_insert
 
55
include ui/view/Makefile_insert
 
56
include ui/widget/Makefile_insert
 
57
include util/Makefile_insert
 
58
include trace/Makefile_insert
 
59
 
 
60
bin_PROGRAMS = inkscape inkview
 
61
 
 
62
noinst_LIBRARIES =      \
 
63
        libinkpre.a     \
 
64
        application/libinkapp.a \
 
65
        dialogs/libspdialogs.a  \
 
66
        jabber_whiteboard/libjabber_whiteboard.a \
 
67
        display/libspdisplay.a  \
 
68
        dom/libdom.a    \
 
69
        extension/implementation/libimplementation.a    \
 
70
        extension/internal/libinternal.a        \
 
71
        extension/libextension.a        \
 
72
        extension/script/libscript.a    \
 
73
        helper/libspchelp.a     \
 
74
        io/libio.a      \
 
75
        libcroco/libcroco.a     \
 
76
        ui/libui.a      \
 
77
        ui/dialog/libuidialog.a \
 
78
        ui/view/libuiview.a     \
 
79
        ui/widget/libuiwidget.a \
 
80
        util/libinkutil.a \
 
81
        debug/libinkdebug.a \
 
82
        $(inkjar_libs)  \
 
83
        libnr/libnr.a   \
 
84
        libnrtype/libnrtype.a   \
 
85
        libavoid/libavoid.a     \
 
86
        livarot/libvarot.a      \
 
87
        removeoverlap/libremoveoverlap.a        \
 
88
        svg/libspsvg.a  \
 
89
        widgets/libspwidgets.a  \
 
90
        trace/libtrace.a  \
 
91
        xml/libspxml.a  \
 
92
        libinkpost.a
 
93
 
 
94
check_LIBRARIES =       \
 
95
        libnr/libtest-nr.a      \
 
96
        svg/libtest-svg.a       \
 
97
        xml/libtest-xml.a
 
98
 
 
99
DISTCLEANFILES =        \
 
100
        helper/sp-marshal.cpp   \
 
101
        helper/sp-marshal.h     \
 
102
        inkscape_version.h
 
103
 
 
104
EXTRA_DIST =    \
 
105
        mkdep.pl        \
 
106
        mkfiles.pl      \
 
107
        make.exclude    \
 
108
        make.dep        \
 
109
        make.files      \
 
110
        make.ofiles     \
 
111
        Doxyfile        \
 
112
        sp-skeleton.cpp sp-skeleton.h   \
 
113
        algorithms/makefile.in  \
 
114
        application/makefile.in \
 
115
        debug/makefile.in       \
 
116
        dialogs/makefile.in     \
 
117
        dialogs/filedialog-win32.cpp    \
 
118
        display/makefile.in     \
 
119
        dom/makefile.in         \
 
120
        extension/implementation/makefile.in    \
 
121
        extension/internal/makefile.in  \
 
122
        extension/makefile.in   \
 
123
        extension/plugin/makefile.in    \
 
124
        extension/script/makefile.in    \
 
125
        helper/makefile.in      \
 
126
        inkjar/makefile.in      \
 
127
        io/makefile.in  \
 
128
        io/crystalegg.xml       \
 
129
        io/doc2html.xsl         \
 
130
        jabber_whiteboard/makefile.in   \
 
131
        libcroco/makefile.in    \
 
132
        libnr/makefile.in       \
 
133
        libnrtype/makefile.in   \
 
134
        libavoid/makefile.in    \
 
135
        livarot/makefile.in     \
 
136
        removeoverlap/makefile.in       \
 
137
        svg/makefile.in         \
 
138
        trace/makefile.in       \
 
139
        traits/makefile.in      \
 
140
        utest/makefile.in       \
 
141
        ui/makefile.in          \
 
142
        ui/dialog/makefile.in   \
 
143
        ui/view/makefile.in     \
 
144
        ui/widget/makefile.in   \
 
145
        util/makefile.in        \
 
146
        widgets/makefile.in     \
 
147
        xml/makefile.in         \
 
148
        extension/internal/gnome.cpp    \
 
149
        extension/internal/gnome.h      \
 
150
        extension/internal/win32.cpp    \
 
151
        extension/internal/win32.h      \
 
152
        helper/sp-marshal.list  \
 
153
        utest/utest.h   \
 
154
        utest/test-1ary-cases.h \
 
155
        traits/copy.h   \
 
156
        traits/function.h       \
 
157
        traits/list-copy.h      \
 
158
        traits/reference.h \
 
159
        $(jabber_whiteboard_SOURCES)
 
160
 
 
161
EXTRA_PROGRAMS =        \
 
162
        inkview         \
 
163
        libnr/testnr
 
164
 
 
165
TESTS = \
 
166
        test-all$(EXEEXT)       \
 
167
        attributes-test$(EXEEXT)        \
 
168
        dir-util-test$(EXEEXT)  \
 
169
        extract-uri-test$(EXEEXT)       \
 
170
        mod360-test$(EXEEXT)    \
 
171
        round-test$(EXEEXT)     \
 
172
        sp-gradient-test$(EXEEXT)       \
 
173
        sp-style-elem-test$(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
        removeoverlap/remove_rectangle_overlap-test$(EXEEXT)    \
 
187
        svg/test-svg$(EXEEXT)   \
 
188
        util/list-container-test$(EXEEXT)       \
 
189
        xml/test-xml$(EXEEXT)   \
 
190
        xml/quote-test$(EXEEXT) \
 
191
        xml/repr-action-test$(EXEEXT)
 
192
 
 
193
# streamtest is unfinished and can't handle the relocations done during
 
194
# "make distcheck".  Not needed for the 0.41 release.
 
195
#       io/streamtest$(EXEEXT)
 
196
 
 
197
# automake adds $(EXEEXT) to check_PROGRAMS items but not to TESTS items:
 
198
# TESTS items can be scripts etc.
 
199
 
 
200
check_PROGRAMS =        \
 
201
        test-all        \
 
202
        attributes-test \
 
203
        dir-util-test   \
 
204
        extract-uri-test        \
 
205
        mod360-test     \
 
206
        round-test      \
 
207
        sp-gradient-test        \
 
208
        sp-style-elem-test      \
 
209
        style-test      \
 
210
        display/bezier-utils-test       \
 
211
        helper/units-test       \
 
212
        libnr/in-svg-plane-test \
 
213
        libnr/nr-matrix-test    \
 
214
        libnr/nr-point-fns-test \
 
215
        libnr/nr-rotate-test    \
 
216
        libnr/nr-rotate-fns-test        \
 
217
        libnr/nr-scale-test     \
 
218
        libnr/nr-translate-test \
 
219
        libnr/nr-types-test     \
 
220
        libnr/test-nr   \
 
221
        removeoverlap/remove_rectangle_overlap-test     \
 
222
        svg/test-svg    \
 
223
        util/list-container-test        \
 
224
        xml/test-xml    \
 
225
        xml/quote-test  \
 
226
        xml/repr-action-test
 
227
 
 
228
#       io/streamtest
 
229
 
 
230
 
 
231
test-all.cpp: \
 
232
                $(libnr_test_nr_a_SOURCES)      \
 
233
                $(svg_test_svg_a_SOURCES)       \
 
234
                $(xml_test_xml_a_SOURCES)       \
 
235
                $(libnr_test_nr_includes)       \
 
236
                $(svg_test_svg_includes)        \
 
237
                $(xml_test_xml_includes)
 
238
        $(top_srcdir)/cxxtest/cxxtestgen.pl --error-printer -root -o test-all.cpp       \
 
239
                $(libnr_test_nr_includes)       \
 
240
                $(svg_test_svg_includes)        \
 
241
                $(xml_test_xml_includes)
 
242
 
 
243
test_all_SOURCES = \
 
244
        test-all.cpp
 
245
 
 
246
test_all_LDADD =        \
 
247
        $(libnr_test_nr_LDADD)  \
 
248
        $(svg_test_svg_LDADD)   \
 
249
        $(xml_test_xml_LDADD)
 
250
 
 
251
 
 
252
# ################################################
 
253
#
 
254
#  D I S T
 
255
#
 
256
# ################################################
 
257
 
 
258
dist-hook:
 
259
        mkdir $(distdir)/pixmaps
 
260
        cp $(srcdir)/pixmaps/*xpm $(distdir)/pixmaps
 
261