033d2781079f064e230d32c77df68da67c2aacc4
1 ## Makefile.am fragment, included by src/Makefile.am.
4 # ################################################
5 #
6 # E X T R A
7 #
8 # ################################################
10 if PLATFORM_WIN32
11 win32_sources = winmain.cpp registrytool.cpp registrytool.h
12 win32ldflags = -lcomdlg32
13 endif
15 if INKJAR
16 inkjar_dir = inkjar
17 inkjar_libs = inkjar/libinkjar.a
18 endif
21 # ################################################
22 #
23 # I N K S C A P E
24 #
25 # ################################################
27 # libinkpre.a: any object that's sharable between inkscape & inkview,
28 # and isn't needed by object files in subdirectories (i.e. libinkpre.a
29 # comes before subdirectory libraries on the link line).
30 #
31 # Excludes winmain.cpp (a gui wrapper around main): I'm guessing that
32 # it needs to be explicitly listed as a source of each graphical
33 # binary: it isn't (to my knowledge) called by main (whether directly
34 # or indirectly), so I don't think that putting it in a library will
35 # suffice to get it linked in. Windows devel please confirm. -- pjrm.
37 libinkpre_a_SOURCES = \
38 algorithms/find-last-if.h \
39 algorithms/longest-common-suffix.h \
40 approx-equal.h remove-last.h \
41 arc-context.cpp arc-context.h \
42 attributes.cpp attributes.h \
43 axis-manip.cpp axis-manip.h \
44 bad-uri-exception.h \
45 box3d.cpp box3d.h \
46 box3d-context.cpp box3d-context.h \
47 box3d-side.cpp box3d-side.h \
48 brokenimage.xpm \
49 color-rgba.h \
50 color-profile.cpp color-profile.h \
51 color-profile-fns.h \
52 common-context.cpp common-context.h\
53 conditions.cpp conditions.h\
54 conn-avoid-ref.cpp conn-avoid-ref.h \
55 connector-context.cpp connector-context.h \
56 connection-pool.h \
57 console-output-undo-observer.h console-output-undo-observer.cpp \
58 context-fns.cpp context-fns.h \
59 desktop-affine.cpp desktop-affine.h \
60 desktop-events.cpp desktop-events.h \
61 desktop-handles.cpp desktop-handles.h \
62 desktop-style.cpp desktop-style.h \
63 desktop.cpp desktop.h \
64 device-manager.cpp \
65 device-manager.h \
66 document-undo.cpp \
67 document.cpp document.h document-private.h \
68 document-subset.cpp document-subset.h \
69 doxygen-main.cpp \
70 draw-anchor.cpp \
71 draw-anchor.h \
72 draw-context.cpp draw-context.h \
73 dropper-context.cpp dropper-context.h \
74 dyna-draw-context.cpp dyna-draw-context.h \
75 enums.h \
76 eraser-context.cpp eraser-context.h \
77 event-context.cpp event-context.h \
78 event-log.cpp event-log.h event.h \
79 extract-uri.cpp extract-uri.h \
80 file.cpp file.h \
81 filter-chemistry.cpp filter-chemistry.h \
82 filter-enums.cpp filter-enums.h \
83 flood-context.cpp flood-context.h \
84 fontsize-expansion.cpp fontsize-expansion.h \
85 forward.h \
86 gradient-context.cpp gradient-context.h \
87 gradient-drag.cpp gradient-drag.h \
88 help.cpp help.h \
89 helper-fns.h \
90 icon-size.h \
91 ige-mac-menu.h ige-mac-menu.c \
92 inkscape-stock.cpp inkscape-stock.h\
93 inkscape.cpp inkscape.h inkscape-private.h \
94 interface.cpp interface.h \
95 isinf.h \
96 isnormal.h \
97 knot-enums.h \
98 knot-holder-entity.h knot-holder-entity.cpp \
99 knot.cpp knot.h \
100 knotholder.cpp knotholder.h \
101 layer-fns.cpp layer-fns.h \
102 layer-manager.cpp layer-manager.h \
103 line-geometry.cpp line-geometry.h \
104 macros.h \
105 main-cmdlineact.cpp main-cmdlineact.h \
106 media.cpp media.h \
107 message-context.cpp message-context.h \
108 message-stack.cpp message-stack.h \
109 message.h \
110 mod360.cpp mod360.h \
111 modifier-fns.h \
112 node-context.cpp node-context.h \
113 nodepath.cpp nodepath.h \
114 object-edit.cpp object-edit.h \
115 object-hierarchy.cpp object-hierarchy.h \
116 ui/context-menu.cpp \
117 ui/context-menu.h \
118 path-chemistry.cpp path-chemistry.h \
119 path-prefix.h \
120 pen-context.cpp \
121 pen-context.h \
122 pencil-context.cpp \
123 pencil-context.h \
124 persp3d.cpp persp3d.h \
125 persp3d-reference.cpp persp3d-reference.h \
126 perspective-line.cpp perspective-line.h \
127 preferences.cpp preferences.h \
128 preferences-skeleton.h \
129 menus-skeleton.h \
130 prefix.cpp \
131 prefix.h \
132 prefs-utils.cpp \
133 prefs-utils.h \
134 print.cpp print.h \
135 profile-manager.cpp \
136 profile-manager.h \
137 proj_pt.cpp proj_pt.h \
138 rect-context.cpp rect-context.h \
139 require-config.h \
140 rubberband.cpp rubberband.h \
141 satisfied-guide-cns.cpp satisfied-guide-cns.h \
142 selcue.cpp selcue.h \
143 select-context.cpp select-context.h \
144 selection-chemistry.cpp selection-chemistry.h \
145 selection-describer.cpp selection-describer.h \
146 selection.cpp selection.h \
147 seltrans-handles.cpp seltrans-handles.h \
148 seltrans.cpp seltrans.h \
149 shape-editor.cpp shape-editor.h \
150 shortcuts.cpp shortcuts.h \
151 snap.cpp snap.h \
152 snapped-line.cpp snapped-line.h \
153 snapped-point.cpp snapped-point.h \
154 snapper.cpp snapper.h \
155 syseq.h \
156 transf_mat_3x4.cpp transf_mat_3x4.h \
157 line-snapper.cpp line-snapper.h \
158 guide-snapper.cpp guide-snapper.h \
159 object-snapper.cpp object-snapper.h \
160 sp-anchor.cpp sp-anchor.h \
161 sp-clippath.cpp sp-clippath.h \
162 sp-conn-end-pair.cpp sp-conn-end-pair.h \
163 sp-conn-end.cpp sp-conn-end.h \
164 sp-cursor.cpp sp-cursor.h \
165 sp-defs.cpp sp-defs.h \
166 sp-ellipse.cpp sp-ellipse.h \
167 sp-feblend.cpp sp-feblend.h \
168 sp-feblend-fns.h \
169 sp-fecolormatrix.cpp sp-fecolormatrix.h \
170 sp-fecolormatrix-fns.h \
171 sp-fecomponenttransfer.cpp sp-fecomponenttransfer.h \
172 sp-fecomponenttransfer-funcnode.cpp sp-fecomponenttransfer-funcnode.h \
173 sp-fecomponenttransfer-fns.h \
174 sp-fecomposite.cpp sp-fecomposite.h \
175 sp-fecomposite-fns.h \
176 sp-feconvolvematrix.cpp sp-feconvolvematrix.h \
177 sp-feconvolvematrix-fns.h \
178 sp-fediffuselighting.cpp sp-fediffuselighting.h \
179 sp-fediffuselighting-fns.h \
180 sp-fedisplacementmap.cpp sp-fedisplacementmap.h \
181 sp-fedisplacementmap-fns.h \
182 sp-fedistantlight.cpp sp-fedistantlight.h \
183 sp-feflood.cpp sp-feflood.h \
184 sp-feflood-fns.h \
185 sp-feimage.cpp sp-feimage.h \
186 sp-feimage-fns.h \
187 sp-femerge.cpp sp-femerge.h \
188 sp-femerge-fns.h \
189 sp-femergenode.cpp sp-femergenode.h \
190 sp-femorphology.cpp sp-femorphology.h \
191 sp-femorphology-fns.h \
192 sp-feoffset.cpp sp-feoffset.h \
193 sp-feoffset-fns.h \
194 sp-fepointlight.cpp sp-fepointlight.h \
195 sp-fespecularlighting.cpp sp-fespecularlighting.h \
196 sp-fespecularlighting-fns.h \
197 sp-fespotlight.cpp sp-fespotlight.h \
198 sp-fetile.cpp sp-fetile.h \
199 sp-fetile-fns.h \
200 sp-feturbulence.cpp sp-feturbulence.h \
201 sp-feturbulence-fns.h \
202 sp-filter-fns.h \
203 sp-filter-primitive.cpp \
204 sp-filter-primitive.h \
205 sp-filter-reference.cpp \
206 sp-filter-reference.h \
207 sp-filter-units.h \
208 sp-filter.cpp sp-filter.h number-opt-number.h \
209 sp-flowdiv.h sp-flowdiv.cpp \
210 sp-flowregion.h sp-flowregion.cpp \
211 sp-flowtext.h sp-flowtext.cpp \
212 sp-font.cpp sp-font.h \
213 sp-font-face.cpp sp-font-face.h \
214 sp-glyph.cpp sp-glyph.h \
215 sp-missing-glyph.cpp sp-missing-glyph.h \
216 sp-glyph-kerning.cpp sp-glyph-kerning.h \
217 sp-gaussian-blur.cpp sp-gaussian-blur.h \
218 sp-gaussian-blur-fns.h \
219 sp-gradient-fns.h \
220 sp-gradient-reference.cpp \
221 sp-gradient-reference.h \
222 sp-gradient-spread.h \
223 sp-gradient-units.h \
224 sp-gradient-vector.h \
225 sp-gradient.cpp sp-gradient.h \
226 sp-guide-attachment.h \
227 sp-guide-constraint.h \
228 sp-guide.cpp sp-guide.h \
229 sp-image.cpp sp-image.h \
230 sp-item-group.cpp sp-item-group.h \
231 sp-item-notify-moveto.cpp sp-item-notify-moveto.h \
232 sp-item-rm-unsatisfied-cns.cpp sp-item-rm-unsatisfied-cns.h \
233 sp-item-transform.cpp sp-item-transform.h \
234 sp-item-update-cns.cpp sp-item-update-cns.h \
235 sp-item.cpp sp-item.h \
236 sp-line.cpp sp-line.h \
237 sp-linear-gradient-fns.h \
238 sp-linear-gradient.h \
239 sp-lpe-item.cpp sp-lpe-item.h \
240 sp-marker-loc.h \
241 marker.cpp marker.h \
242 sp-mask.cpp sp-mask.h \
243 sp-metadata.cpp sp-metadata.h \
244 sp-metric.h \
245 sp-metrics.cpp sp-metrics.h \
246 sp-namedview.cpp sp-namedview.h \
247 sp-object-group.cpp sp-object-group.h \
248 sp-object-repr.cpp sp-object-repr.h \
249 sp-object.cpp sp-object.h \
250 sp-offset.cpp sp-offset.h \
251 sp-paint-server.cpp sp-paint-server.h \
252 sp-path.cpp sp-path.h \
253 sp-pattern.cpp sp-pattern.h \
254 sp-polygon.cpp sp-polygon.h \
255 sp-polyline.cpp sp-polyline.h \
256 sp-radial-gradient-fns.h \
257 sp-radial-gradient.h \
258 sp-rect.cpp sp-rect.h \
259 sp-root.cpp sp-root.h \
260 sp-shape.cpp sp-shape.h \
261 sp-spiral.cpp sp-spiral.h \
262 sp-star.cpp sp-star.h \
263 sp-stop-fns.h \
264 sp-stop.h \
265 sp-string.cpp sp-string.h \
266 sp-symbol.cpp sp-symbol.h \
267 sp-switch.cpp sp-switch.h\
268 sp-text.cpp sp-text.h \
269 sp-textpath.h \
270 sp-tref-reference.cpp sp-tref-reference.h \
271 sp-tref.cpp sp-tref.h \
272 sp-tspan.cpp sp-tspan.h \
273 sp-use-reference.cpp sp-use-reference.h \
274 sp-use.cpp sp-use.h \
275 spiral-context.cpp spiral-context.h \
276 splivarot.cpp splivarot.h \
277 star-context.cpp star-context.h \
278 streams-gzip.h streams-gzip.cpp \
279 streams-handles.h streams-handles.cpp \
280 streams-jar.h streams-jar.cpp \
281 streams-zlib.h streams-zlib.cpp \
282 style.cpp style.h \
283 sp-style-elem.cpp sp-style-elem.h \
284 svg-profile.h \
285 svg-view.cpp svg-view.h \
286 svg-view-widget.cpp svg-view-widget.h \
287 text-chemistry.cpp text-chemistry.h \
288 text-context.cpp text-context.h \
289 text-editing.cpp text-editing.h \
290 text-tag-attributes.h \
291 tools-switch.cpp tools-switch.h\
292 tweak-context.h tweak-context.cpp \
293 unicoderange.cpp unicoderange.h \
294 uri-references.cpp uri-references.h \
295 vanishing-point.cpp vanishing-point.h \
296 verbs.cpp verbs.h \
297 version.cpp version.h \
298 zoom-context.cpp zoom-context.h
301 # Force libinkpost.a to be rebuilt if we add files to libinkpost_a_SOURCES.
302 libinkpost_a_DEPENDENCIES = Makefile_insert
304 # libinkpost.a: Any object file that needs to be near the end of the link line.
305 # gradient-chemistry.o is called by some things in display/.
306 libinkpost_a_SOURCES = \
307 color.cpp color.h \
308 decimal-round.h \
309 dir-util.cpp dir-util.h \
310 ege-adjustment-action.cpp \
311 ege-adjustment-action.h \
312 ege-color-prof-tracker.cpp \
313 ege-color-prof-tracker.h \
314 ege-output-action.cpp \
315 ege-output-action.h \
316 ege-select-one-action.cpp \
317 ege-select-one-action.h \
318 fill-or-stroke.h \
319 filter-chemistry.cpp filter-chemistry.h \
320 filter-enums.cpp filter-enums.h \
321 fixes.cpp \
322 gc-alloc.h \
323 gc-anchored.h gc-anchored.cpp \
324 gc-core.h \
325 gc-finalized.h gc-finalized.cpp \
326 gc-managed.h \
327 gc-soft-ptr.h \
328 gc.cpp \
329 gradient-chemistry.cpp gradient-chemistry.h \
330 ink-action.cpp \
331 ink-action.h \
332 memeq.h \
333 round.h \
334 streq.h \
335 strneq.h \
336 composite-undo-stack-observer.h \
337 composite-undo-stack-observer.cpp \
338 undo-stack-observer.h \
339 unit-constants.h \
340 uri.cpp uri.h \
341 helper/pixbuf-ops.cpp \
342 helper/pixbuf-ops.h
344 inkscape_private_libs = \
345 libinkpre.a \
346 application/libinkapp.a \
347 ui/dialog/libuidialog.a \
348 dialogs/libspdialogs.a \
349 ui/cache/libuicache.a \
350 jabber_whiteboard/libjabber_whiteboard.a \
351 pedro/libpedro.a \
352 trace/libtrace.a \
353 svg/libspsvg.a \
354 widgets/libspwidgets.a \
355 display/libspdisplay.a \
356 helper/libspchelp.a \
357 libcroco/libcroco.a \
358 libnrtype/libnrtype.a \
359 libnr/libnr.a \
360 libavoid/libavoid.a \
361 livarot/libvarot.a \
362 live_effects/liblive_effects.a \
363 live_effects/parameter/liblpeparam.a \
364 ui/view/libuiview.a \
365 ui/libui.a \
366 ui/widget/libuiwidget.a \
367 libgdl/libgdl.a \
368 graphlayout/libgraphlayout.a \
369 removeoverlap/libremoveoverlap.a \
370 libcola/libcola.a \
371 libvpsc/libvpsc.a \
372 extension/libextension.a \
373 extension/implementation/libimplementation.a \
374 extension/internal/libinternal.a \
375 extension/script/libscript.a \
376 bind/libbind.a \
377 dom/libdom.a \
378 xml/libspxml.a \
379 2geom/lib2geom.a \
380 util/libinkutil.a \
381 io/libio.a \
382 $(inkjar_libs) \
383 libinkpost.a \
384 debug/libinkdebug.a
386 all_libs = \
387 $(inkscape_private_libs) \
388 $(INKSCAPE_LIBS) \
389 $(GNOME_VFS_LIBS) \
390 $(XFT_LIBS) \
391 $(FREETYPE_LIBS) \
392 $(kdeldadd) \
393 $(win32ldflags) \
394 $(CARBON_LDFLAGS) \
395 $(PERL_LIBS) \
396 $(PYTHON_LIBS) \
397 $(INKBOARD_LIBS) \
398 $(LIBWPG_LIBS) \
399 $(IMAGEMAGICK_LIBS)
401 desktop.$(OBJEXT): helper/sp-marshal.h
402 document.$(OBJEXT): helper/sp-marshal.h inkscape_version.h
403 extension/internal/latex-pstricks.$(OBJEXT): inkscape_version.h
404 extension/internal/ps.$(OBJEXT): inkscape_version.h
405 inkscape.$(OBJEXT): helper/sp-marshal.h inkscape_version.h
406 knot.$(OBJEXT): helper/sp-marshal.h
407 main.$(OBJEXT): inkscape_version.h
408 selection.$(OBJEXT): helper/sp-marshal.h
409 sp-object.$(OBJEXT): helper/sp-marshal.h
410 sp-root.$(OBJEXT): inkscape_version.h
411 view.$(OBJEXT): helper/sp-marshal.h
412 help.$(OBJEXT): inkscape_version.h
415 # ################################################
416 #
417 # B I N A R I E S
418 #
419 # ################################################
422 inkscape_SOURCES = main.cpp $(win32_sources)
423 inkscape_LDADD = $(all_libs)
424 inkscape_LDFLAGS = --export-dynamic $(kdeldflags)
426 inkview_SOURCES = inkview.cpp $(win32_sources)
427 inkview_LDADD = $(all_libs)
429 style_test_SOURCES = style-test.cpp
430 style_test_LDADD = $(all_libs)
432 inkscape_version.h: ../configure.ac
433 echo '#define INKSCAPE_VERSION "$(VERSION)"' > inkscape_version.h
435 test_all_includes = \
436 $(srcdir)/attributes-test.h \
437 $(srcdir)/color-profile-test.h \
438 $(srcdir)/MultiPrinter.h \
439 $(srcdir)/TRPIFormatter.h \
440 $(srcdir)/PylogFormatter.h \
441 $(srcdir)/dir-util-test.h \
442 $(srcdir)/extract-uri-test.h \
443 $(srcdir)/mod360-test.h \
444 $(srcdir)/round-test.h \
445 $(srcdir)/sp-gradient-test.h \
446 $(srcdir)/sp-style-elem-test.h \
447 $(srcdir)/style-test.h \
448 $(srcdir)/test-helpers.h \
449 $(srcdir)/verbs-test.h