Code

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