Code

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