Code

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