Code

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