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 id-clash.cpp id-clash.h \
92 ige-mac-menu.h ige-mac-menu.c \
93 inkscape-stock.cpp inkscape-stock.h\
94 inkscape.cpp inkscape.h inkscape-private.h \
95 interface.cpp interface.h \
96 isinf.h \
97 isnormal.h \
98 knot-enums.h \
99 knot-holder-entity.h knot-holder-entity.cpp \
100 knot.cpp knot.h \
101 knotholder.cpp knotholder.h \
102 layer-fns.cpp layer-fns.h \
103 layer-manager.cpp layer-manager.h \
104 line-geometry.cpp line-geometry.h \
105 macros.h \
106 main-cmdlineact.cpp main-cmdlineact.h \
107 media.cpp media.h \
108 message-context.cpp message-context.h \
109 message-stack.cpp message-stack.h \
110 message.h \
111 mod360.cpp mod360.h \
112 modifier-fns.h \
113 node-context.cpp node-context.h \
114 nodepath.cpp nodepath.h \
115 object-edit.cpp object-edit.h \
116 object-hierarchy.cpp object-hierarchy.h \
117 ui/context-menu.cpp \
118 ui/context-menu.h \
119 path-chemistry.cpp path-chemistry.h \
120 path-prefix.h \
121 pen-context.cpp \
122 pen-context.h \
123 pencil-context.cpp \
124 pencil-context.h \
125 persp3d.cpp persp3d.h \
126 persp3d-reference.cpp persp3d-reference.h \
127 perspective-line.cpp perspective-line.h \
128 preferences.cpp preferences.h \
129 preferences-skeleton.h \
130 menus-skeleton.h \
131 prefix.cpp \
132 prefix.h \
133 prefs-utils.cpp \
134 prefs-utils.h \
135 print.cpp print.h \
136 profile-manager.cpp \
137 profile-manager.h \
138 proj_pt.cpp proj_pt.h \
139 rect-context.cpp rect-context.h \
140 require-config.h \
141 rubberband.cpp rubberband.h \
142 satisfied-guide-cns.cpp satisfied-guide-cns.h \
143 selcue.cpp selcue.h \
144 select-context.cpp select-context.h \
145 selection-chemistry.cpp selection-chemistry.h \
146 selection-describer.cpp selection-describer.h \
147 selection.cpp selection.h \
148 seltrans-handles.cpp seltrans-handles.h \
149 seltrans.cpp seltrans.h \
150 shape-editor.cpp shape-editor.h \
151 shortcuts.cpp shortcuts.h \
152 snap.cpp snap.h \
153 snapped-line.cpp snapped-line.h \
154 snapped-point.cpp snapped-point.h \
155 snapper.cpp snapper.h \
156 syseq.h \
157 transf_mat_3x4.cpp transf_mat_3x4.h \
158 line-snapper.cpp line-snapper.h \
159 guide-snapper.cpp guide-snapper.h \
160 object-snapper.cpp object-snapper.h \
161 sp-anchor.cpp sp-anchor.h \
162 sp-clippath.cpp sp-clippath.h \
163 sp-conn-end-pair.cpp sp-conn-end-pair.h \
164 sp-conn-end.cpp sp-conn-end.h \
165 sp-cursor.cpp sp-cursor.h \
166 sp-defs.cpp sp-defs.h \
167 sp-ellipse.cpp sp-ellipse.h \
168 sp-feblend.cpp sp-feblend.h \
169 sp-feblend-fns.h \
170 sp-fecolormatrix.cpp sp-fecolormatrix.h \
171 sp-fecolormatrix-fns.h \
172 sp-fecomponenttransfer.cpp sp-fecomponenttransfer.h \
173 sp-fecomponenttransfer-funcnode.cpp sp-fecomponenttransfer-funcnode.h \
174 sp-fecomponenttransfer-fns.h \
175 sp-fecomposite.cpp sp-fecomposite.h \
176 sp-fecomposite-fns.h \
177 sp-feconvolvematrix.cpp sp-feconvolvematrix.h \
178 sp-feconvolvematrix-fns.h \
179 sp-fediffuselighting.cpp sp-fediffuselighting.h \
180 sp-fediffuselighting-fns.h \
181 sp-fedisplacementmap.cpp sp-fedisplacementmap.h \
182 sp-fedisplacementmap-fns.h \
183 sp-fedistantlight.cpp sp-fedistantlight.h \
184 sp-feflood.cpp sp-feflood.h \
185 sp-feflood-fns.h \
186 sp-feimage.cpp sp-feimage.h \
187 sp-feimage-fns.h \
188 sp-femerge.cpp sp-femerge.h \
189 sp-femerge-fns.h \
190 sp-femergenode.cpp sp-femergenode.h \
191 sp-femorphology.cpp sp-femorphology.h \
192 sp-femorphology-fns.h \
193 sp-feoffset.cpp sp-feoffset.h \
194 sp-feoffset-fns.h \
195 sp-fepointlight.cpp sp-fepointlight.h \
196 sp-fespecularlighting.cpp sp-fespecularlighting.h \
197 sp-fespecularlighting-fns.h \
198 sp-fespotlight.cpp sp-fespotlight.h \
199 sp-fetile.cpp sp-fetile.h \
200 sp-fetile-fns.h \
201 sp-feturbulence.cpp sp-feturbulence.h \
202 sp-feturbulence-fns.h \
203 sp-filter-fns.h \
204 sp-filter-primitive.cpp \
205 sp-filter-primitive.h \
206 sp-filter-reference.cpp \
207 sp-filter-reference.h \
208 sp-filter-units.h \
209 sp-filter.cpp sp-filter.h number-opt-number.h \
210 sp-flowdiv.h sp-flowdiv.cpp \
211 sp-flowregion.h sp-flowregion.cpp \
212 sp-flowtext.h sp-flowtext.cpp \
213 sp-font.cpp sp-font.h \
214 sp-font-face.cpp sp-font-face.h \
215 sp-glyph.cpp sp-glyph.h \
216 sp-missing-glyph.cpp sp-missing-glyph.h \
217 sp-glyph-kerning.cpp sp-glyph-kerning.h \
218 sp-gaussian-blur.cpp sp-gaussian-blur.h \
219 sp-gaussian-blur-fns.h \
220 sp-gradient-fns.h \
221 sp-gradient-reference.cpp \
222 sp-gradient-reference.h \
223 sp-gradient-spread.h \
224 sp-gradient-units.h \
225 sp-gradient-vector.h \
226 sp-gradient.cpp sp-gradient.h \
227 sp-guide-attachment.h \
228 sp-guide-constraint.h \
229 sp-guide.cpp sp-guide.h \
230 sp-image.cpp sp-image.h \
231 sp-item-group.cpp sp-item-group.h \
232 sp-item-notify-moveto.cpp sp-item-notify-moveto.h \
233 sp-item-rm-unsatisfied-cns.cpp sp-item-rm-unsatisfied-cns.h \
234 sp-item-transform.cpp sp-item-transform.h \
235 sp-item-update-cns.cpp sp-item-update-cns.h \
236 sp-item.cpp sp-item.h \
237 sp-line.cpp sp-line.h \
238 sp-linear-gradient-fns.h \
239 sp-linear-gradient.h \
240 sp-lpe-item.cpp sp-lpe-item.h \
241 sp-marker-loc.h \
242 marker.cpp marker.h \
243 sp-mask.cpp sp-mask.h \
244 sp-metadata.cpp sp-metadata.h \
245 sp-metric.h \
246 sp-metrics.cpp sp-metrics.h \
247 sp-namedview.cpp sp-namedview.h \
248 sp-object-group.cpp sp-object-group.h \
249 sp-object-repr.cpp sp-object-repr.h \
250 sp-object.cpp sp-object.h \
251 sp-offset.cpp sp-offset.h \
252 sp-paint-server.cpp sp-paint-server.h \
253 sp-path.cpp sp-path.h \
254 sp-pattern.cpp sp-pattern.h \
255 sp-polygon.cpp sp-polygon.h \
256 sp-polyline.cpp sp-polyline.h \
257 sp-radial-gradient-fns.h \
258 sp-radial-gradient.h \
259 sp-rect.cpp sp-rect.h \
260 sp-root.cpp sp-root.h \
261 sp-shape.cpp sp-shape.h \
262 sp-spiral.cpp sp-spiral.h \
263 sp-star.cpp sp-star.h \
264 sp-stop-fns.h \
265 sp-stop.h \
266 sp-string.cpp sp-string.h \
267 sp-symbol.cpp sp-symbol.h \
268 sp-switch.cpp sp-switch.h\
269 sp-text.cpp sp-text.h \
270 sp-textpath.h \
271 sp-tref-reference.cpp sp-tref-reference.h \
272 sp-tref.cpp sp-tref.h \
273 sp-tspan.cpp sp-tspan.h \
274 sp-use-reference.cpp sp-use-reference.h \
275 sp-use.cpp sp-use.h \
276 spiral-context.cpp spiral-context.h \
277 splivarot.cpp splivarot.h \
278 star-context.cpp star-context.h \
279 streams-gzip.h streams-gzip.cpp \
280 streams-handles.h streams-handles.cpp \
281 streams-jar.h streams-jar.cpp \
282 streams-zlib.h streams-zlib.cpp \
283 style.cpp style.h \
284 sp-style-elem.cpp sp-style-elem.h \
285 svg-profile.h \
286 svg-view.cpp svg-view.h \
287 svg-view-widget.cpp svg-view-widget.h \
288 text-chemistry.cpp text-chemistry.h \
289 text-context.cpp text-context.h \
290 text-editing.cpp text-editing.h \
291 text-tag-attributes.h \
292 tools-switch.cpp tools-switch.h\
293 tweak-context.h tweak-context.cpp \
294 unicoderange.cpp unicoderange.h \
295 uri-references.cpp uri-references.h \
296 vanishing-point.cpp vanishing-point.h \
297 verbs.cpp verbs.h \
298 version.cpp version.h \
299 zoom-context.cpp zoom-context.h
302 # Force libinkpost.a to be rebuilt if we add files to libinkpost_a_SOURCES.
303 libinkpost_a_DEPENDENCIES = Makefile_insert
305 # libinkpost.a: Any object file that needs to be near the end of the link line.
306 # gradient-chemistry.o is called by some things in display/.
307 libinkpost_a_SOURCES = \
308 color.cpp color.h \
309 decimal-round.h \
310 dir-util.cpp dir-util.h \
311 ege-adjustment-action.cpp \
312 ege-adjustment-action.h \
313 ege-color-prof-tracker.cpp \
314 ege-color-prof-tracker.h \
315 ege-output-action.cpp \
316 ege-output-action.h \
317 ege-select-one-action.cpp \
318 ege-select-one-action.h \
319 fill-or-stroke.h \
320 filter-chemistry.cpp filter-chemistry.h \
321 filter-enums.cpp filter-enums.h \
322 fixes.cpp \
323 gc-alloc.h \
324 gc-anchored.h gc-anchored.cpp \
325 gc-core.h \
326 gc-finalized.h gc-finalized.cpp \
327 gc-managed.h \
328 gc-soft-ptr.h \
329 gc.cpp \
330 gradient-chemistry.cpp gradient-chemistry.h \
331 ink-action.cpp \
332 ink-action.h \
333 memeq.h \
334 round.h \
335 streq.h \
336 strneq.h \
337 composite-undo-stack-observer.h \
338 composite-undo-stack-observer.cpp \
339 undo-stack-observer.h \
340 unit-constants.h \
341 uri.cpp uri.h \
342 helper/pixbuf-ops.cpp \
343 helper/pixbuf-ops.h
345 inkscape_private_libs = \
346 libinkpre.a \
347 application/libinkapp.a \
348 ui/dialog/libuidialog.a \
349 dialogs/libspdialogs.a \
350 ui/cache/libuicache.a \
351 jabber_whiteboard/libjabber_whiteboard.a \
352 pedro/libpedro.a \
353 trace/libtrace.a \
354 svg/libspsvg.a \
355 widgets/libspwidgets.a \
356 display/libspdisplay.a \
357 helper/libspchelp.a \
358 libcroco/libcroco.a \
359 libnrtype/libnrtype.a \
360 libnr/libnr.a \
361 libavoid/libavoid.a \
362 livarot/libvarot.a \
363 live_effects/liblive_effects.a \
364 live_effects/parameter/liblpeparam.a \
365 ui/view/libuiview.a \
366 ui/libui.a \
367 ui/widget/libuiwidget.a \
368 libgdl/libgdl.a \
369 graphlayout/libgraphlayout.a \
370 removeoverlap/libremoveoverlap.a \
371 libcola/libcola.a \
372 libvpsc/libvpsc.a \
373 extension/libextension.a \
374 extension/implementation/libimplementation.a \
375 extension/internal/libinternal.a \
376 extension/script/libscript.a \
377 bind/libbind.a \
378 dom/libdom.a \
379 xml/libspxml.a \
380 2geom/lib2geom.a \
381 util/libinkutil.a \
382 io/libio.a \
383 $(inkjar_libs) \
384 libinkpost.a \
385 debug/libinkdebug.a
387 all_libs = \
388 $(inkscape_private_libs) \
389 $(INKSCAPE_LIBS) \
390 $(GNOME_VFS_LIBS) \
391 $(XFT_LIBS) \
392 $(FREETYPE_LIBS) \
393 $(kdeldadd) \
394 $(win32ldflags) \
395 $(CARBON_LDFLAGS) \
396 $(PERL_LIBS) \
397 $(PYTHON_LIBS) \
398 $(INKBOARD_LIBS) \
399 $(LIBWPG_LIBS) \
400 $(IMAGEMAGICK_LIBS)
402 desktop.$(OBJEXT): helper/sp-marshal.h
403 document.$(OBJEXT): helper/sp-marshal.h inkscape_version.h
404 extension/internal/latex-pstricks.$(OBJEXT): inkscape_version.h
405 extension/internal/ps.$(OBJEXT): inkscape_version.h
406 inkscape.$(OBJEXT): helper/sp-marshal.h inkscape_version.h
407 knot.$(OBJEXT): helper/sp-marshal.h
408 main.$(OBJEXT): inkscape_version.h
409 selection.$(OBJEXT): helper/sp-marshal.h
410 sp-object.$(OBJEXT): helper/sp-marshal.h
411 sp-root.$(OBJEXT): inkscape_version.h
412 view.$(OBJEXT): helper/sp-marshal.h
413 help.$(OBJEXT): inkscape_version.h
416 # ################################################
417 #
418 # B I N A R I E S
419 #
420 # ################################################
423 inkscape_SOURCES = main.cpp $(win32_sources)
424 inkscape_LDADD = $(all_libs)
425 inkscape_LDFLAGS = --export-dynamic $(kdeldflags)
427 inkview_SOURCES = inkview.cpp $(win32_sources)
428 inkview_LDADD = $(all_libs)
430 style_test_SOURCES = style-test.cpp
431 style_test_LDADD = $(all_libs)
433 inkscape_version.h: ../configure.ac
434 echo '#define INKSCAPE_VERSION "$(VERSION)"' > inkscape_version.h
436 test_all_includes = \
437 $(srcdir)/attributes-test.h \
438 $(srcdir)/color-profile-test.h \
439 $(srcdir)/MultiPrinter.h \
440 $(srcdir)/TRPIFormatter.h \
441 $(srcdir)/PylogFormatter.h \
442 $(srcdir)/dir-util-test.h \
443 $(srcdir)/extract-uri-test.h \
444 $(srcdir)/mod360-test.h \
445 $(srcdir)/round-test.h \
446 $(srcdir)/sp-gradient-test.h \
447 $(srcdir)/sp-style-elem-test.h \
448 $(srcdir)/style-test.h \
449 $(srcdir)/test-helpers.h \
450 $(srcdir)/verbs-test.h