Code

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