Code

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