1 ## Makefile.am fragment, included by src/Makefile.am.
4 # ################################################
5 #
6 # I N K S C A P E
7 #
8 # ################################################
10 # libinkpre.a: any object that's sharable between inkscape & inkview,
11 # and isn't needed by object files in subdirectories (i.e. libinkpre.a
12 # comes before subdirectory libraries on the link line).
13 #
14 # Excludes winmain.cpp (a gui wrapper around main): I'm guessing that
15 # it needs to be explicitly listed as a source of each graphical
16 # binary: it isn't (to my knowledge) called by main (whether directly
17 # or indirectly), so I don't think that putting it in a library will
18 # suffice to get it linked in. Windows devel please confirm. -- pjrm.
20 libinkpre_a_SOURCES = \
21 algorithms/find-last-if.h \
22 algorithms/longest-common-suffix.h \
23 approx-equal.h remove-last.h \
24 arc-context.cpp arc-context.h \
25 attributes.cpp attributes.h \
26 axis-manip.cpp axis-manip.h \
27 bad-uri-exception.h \
28 box3d.cpp box3d.h \
29 box3d-context.cpp box3d-context.h \
30 box3d-side.cpp box3d-side.h \
31 brokenimage.xpm \
32 color-rgba.h \
33 color-profile.cpp color-profile.h \
34 color-profile-fns.h \
35 common-context.cpp common-context.h\
36 conditions.cpp conditions.h\
37 conn-avoid-ref.cpp conn-avoid-ref.h \
38 connector-context.cpp connector-context.h \
39 connection-pool.h \
40 console-output-undo-observer.h console-output-undo-observer.cpp \
41 context-fns.cpp context-fns.h \
42 desktop-affine.cpp desktop-affine.h \
43 desktop-events.cpp desktop-events.h \
44 desktop-handles.cpp desktop-handles.h \
45 desktop-style.cpp desktop-style.h \
46 desktop.cpp desktop.h \
47 device-manager.cpp \
48 device-manager.h \
49 document-undo.cpp \
50 document.cpp document.h document-private.h \
51 document-subset.cpp document-subset.h \
52 doxygen-main.cpp \
53 draw-anchor.cpp \
54 draw-anchor.h \
55 draw-context.cpp draw-context.h \
56 dropper-context.cpp dropper-context.h \
57 dyna-draw-context.cpp dyna-draw-context.h \
58 enums.h \
59 eraser-context.cpp eraser-context.h \
60 event-context.cpp event-context.h \
61 event-log.cpp event-log.h event.h \
62 extract-uri.cpp extract-uri.h \
63 file.cpp file.h \
64 filter-chemistry.cpp filter-chemistry.h \
65 filter-enums.cpp filter-enums.h \
66 flood-context.cpp flood-context.h \
67 forward.h \
68 gradient-context.cpp gradient-context.h \
69 gradient-drag.cpp gradient-drag.h \
70 help.cpp help.h \
71 helper-fns.h \
72 icon-size.h \
73 id-clash.cpp id-clash.h \
74 ige-mac-menu.h ige-mac-menu.c \
75 inkscape-stock.cpp inkscape-stock.h\
76 inkscape.cpp inkscape.h inkscape-private.h \
77 interface.cpp interface.h \
78 isinf.h \
79 isnormal.h \
80 knot-enums.h \
81 knot-holder-entity.h knot-holder-entity.cpp \
82 knot.cpp knot.h \
83 knotholder.cpp knotholder.h \
84 layer-fns.cpp layer-fns.h \
85 layer-manager.cpp layer-manager.h \
86 line-geometry.cpp line-geometry.h \
87 lpe-tool-context.cpp lpe-tool-context.h \
88 macros.h \
89 main-cmdlineact.cpp main-cmdlineact.h \
90 media.cpp media.h \
91 message-context.cpp message-context.h \
92 message-stack.cpp message-stack.h \
93 message.h \
94 mod360.cpp mod360.h \
95 modifier-fns.h \
96 node-context.cpp node-context.h \
97 nodepath.cpp nodepath.h \
98 object-edit.cpp object-edit.h \
99 object-hierarchy.cpp object-hierarchy.h \
100 ui/context-menu.cpp \
101 ui/context-menu.h \
102 path-chemistry.cpp path-chemistry.h \
103 path-prefix.h \
104 pen-context.cpp \
105 pen-context.h \
106 pencil-context.cpp \
107 pencil-context.h \
108 persp3d.cpp persp3d.h \
109 persp3d-reference.cpp persp3d-reference.h \
110 perspective-line.cpp perspective-line.h \
111 preferences.cpp preferences.h \
112 preferences-skeleton.h \
113 menus-skeleton.h \
114 prefix.cpp \
115 prefix.h \
116 print.cpp print.h \
117 profile-manager.cpp \
118 profile-manager.h \
119 proj_pt.cpp proj_pt.h \
120 rect-context.cpp rect-context.h \
121 require-config.h \
122 rubberband.cpp rubberband.h \
123 satisfied-guide-cns.cpp satisfied-guide-cns.h \
124 selcue.cpp selcue.h \
125 select-context.cpp select-context.h \
126 selection-chemistry.cpp selection-chemistry.h \
127 selection-describer.cpp selection-describer.h \
128 selection.cpp selection.h \
129 seltrans-handles.cpp seltrans-handles.h \
130 seltrans.cpp seltrans.h \
131 shape-editor.cpp shape-editor.h \
132 shortcuts.cpp shortcuts.h \
133 snap.cpp snap.h \
134 snap-preferences.cpp snap-preferences.h \
135 snapped-curve.cpp snapped-curve.h \
136 snapped-line.cpp snapped-line.h \
137 snapped-point.cpp snapped-point.h \
138 snapper.cpp snapper.h \
139 syseq.h \
140 transf_mat_3x4.cpp transf_mat_3x4.h \
141 line-snapper.cpp line-snapper.h \
142 guide-snapper.cpp guide-snapper.h \
143 object-snapper.cpp object-snapper.h \
144 sp-anchor.cpp sp-anchor.h \
145 sp-clippath.cpp sp-clippath.h \
146 sp-conn-end-pair.cpp sp-conn-end-pair.h \
147 sp-conn-end.cpp sp-conn-end.h \
148 sp-cursor.cpp sp-cursor.h \
149 sp-defs.cpp sp-defs.h \
150 sp-desc.cpp sp-desc.h \
151 sp-ellipse.cpp sp-ellipse.h \
152 sp-filter-fns.h \
153 sp-filter-primitive.cpp \
154 sp-filter-primitive.h \
155 sp-filter-reference.cpp \
156 sp-filter-reference.h \
157 sp-filter-units.h \
158 sp-filter.cpp sp-filter.h number-opt-number.h \
159 sp-flowdiv.h sp-flowdiv.cpp \
160 sp-flowregion.h sp-flowregion.cpp \
161 sp-flowtext.h sp-flowtext.cpp \
162 sp-font.cpp sp-font.h \
163 sp-font-face.cpp sp-font-face.h \
164 sp-glyph.cpp sp-glyph.h \
165 sp-missing-glyph.cpp sp-missing-glyph.h \
166 sp-glyph-kerning.cpp sp-glyph-kerning.h \
167 sp-gaussian-blur.cpp sp-gaussian-blur.h \
168 sp-gaussian-blur-fns.h \
169 sp-gradient-fns.h \
170 sp-gradient-reference.cpp \
171 sp-gradient-reference.h \
172 sp-gradient-spread.h \
173 sp-gradient-units.h \
174 sp-gradient-vector.h \
175 sp-gradient.cpp sp-gradient.h \
176 sp-guide-attachment.h \
177 sp-guide-constraint.h \
178 sp-guide.cpp sp-guide.h \
179 sp-image.cpp sp-image.h \
180 sp-item-group.cpp sp-item-group.h \
181 sp-item-notify-moveto.cpp sp-item-notify-moveto.h \
182 sp-item-rm-unsatisfied-cns.cpp sp-item-rm-unsatisfied-cns.h \
183 sp-item-transform.cpp sp-item-transform.h \
184 sp-item-update-cns.cpp sp-item-update-cns.h \
185 sp-item.cpp sp-item.h \
186 sp-line.cpp sp-line.h \
187 sp-linear-gradient-fns.h \
188 sp-linear-gradient.h \
189 sp-lpe-item.cpp sp-lpe-item.h \
190 sp-marker-loc.h \
191 marker.cpp marker.h \
192 sp-mask.cpp sp-mask.h \
193 sp-metadata.cpp sp-metadata.h \
194 sp-metric.h \
195 sp-metrics.cpp sp-metrics.h \
196 sp-namedview.cpp sp-namedview.h \
197 sp-object-group.cpp sp-object-group.h \
198 sp-object-repr.cpp sp-object-repr.h \
199 sp-object.cpp sp-object.h \
200 sp-offset.cpp sp-offset.h \
201 sp-paint-server.cpp sp-paint-server.h \
202 sp-path.cpp sp-path.h \
203 sp-pattern.cpp sp-pattern.h \
204 sp-polygon.cpp sp-polygon.h \
205 sp-polyline.cpp sp-polyline.h \
206 sp-radial-gradient-fns.h \
207 sp-radial-gradient.h \
208 sp-rect.cpp sp-rect.h \
209 sp-root.cpp sp-root.h \
210 sp-script.cpp sp-script.h \
211 sp-shape.cpp sp-shape.h \
212 sp-spiral.cpp sp-spiral.h \
213 sp-star.cpp sp-star.h \
214 sp-stop-fns.h \
215 sp-stop.h \
216 sp-string.cpp sp-string.h \
217 sp-symbol.cpp sp-symbol.h \
218 sp-switch.cpp sp-switch.h\
219 sp-text.cpp sp-text.h \
220 sp-textpath.h \
221 sp-title.cpp sp-title.h \
222 sp-tref-reference.cpp sp-tref-reference.h \
223 sp-tref.cpp sp-tref.h \
224 sp-tspan.cpp sp-tspan.h \
225 sp-use-reference.cpp sp-use-reference.h \
226 sp-use.cpp sp-use.h \
227 spiral-context.cpp spiral-context.h \
228 splivarot.cpp splivarot.h \
229 star-context.cpp star-context.h \
230 style.cpp style.h \
231 sp-style-elem.cpp sp-style-elem.h \
232 svg-profile.h \
233 svg-view.cpp svg-view.h \
234 svg-view-widget.cpp svg-view-widget.h \
235 text-chemistry.cpp text-chemistry.h \
236 text-context.cpp text-context.h \
237 text-editing.cpp text-editing.h \
238 text-tag-attributes.h \
239 tools-switch.cpp tools-switch.h\
240 tweak-context.h tweak-context.cpp \
241 unicoderange.cpp unicoderange.h \
242 uri-references.cpp uri-references.h \
243 vanishing-point.cpp vanishing-point.h \
244 verbs.cpp verbs.h \
245 version.cpp version.h \
246 zoom-context.cpp zoom-context.h
248 # libinkpost.a: Any object file that needs to be near the end of the link line.
249 # gradient-chemistry.o is called by some things in display/.
250 libinkpost_a_SOURCES = \
251 color.cpp color.h \
252 decimal-round.h \
253 dir-util.cpp dir-util.h \
254 ege-adjustment-action.cpp \
255 ege-adjustment-action.h \
256 ege-color-prof-tracker.cpp \
257 ege-color-prof-tracker.h \
258 ege-output-action.cpp \
259 ege-output-action.h \
260 ege-select-one-action.cpp \
261 ege-select-one-action.h \
262 fill-or-stroke.h \
263 filter-chemistry.cpp filter-chemistry.h \
264 filter-enums.cpp filter-enums.h \
265 fixes.cpp \
266 gc-alloc.h \
267 gc-anchored.h gc-anchored.cpp \
268 gc-core.h \
269 gc-finalized.h gc-finalized.cpp \
270 gc-managed.h \
271 gc-soft-ptr.h \
272 gc-allocator.h \
273 gc.cpp \
274 gradient-chemistry.cpp gradient-chemistry.h \
275 ink-action.cpp \
276 ink-action.h \
277 memeq.h \
278 round.h \
279 streq.h \
280 strneq.h \
281 composite-undo-stack-observer.h \
282 composite-undo-stack-observer.cpp \
283 undo-stack-observer.h \
284 unit-constants.h \
285 uri.cpp uri.h \
286 helper/pixbuf-ops.cpp \
287 helper/pixbuf-ops.h
289 # Additional dependencies
291 desktop.$(OBJEXT): helper/sp-marshal.h
292 document.$(OBJEXT): helper/sp-marshal.h inkscape_version.h
293 extension/internal/latex-pstricks.$(OBJEXT): inkscape_version.h
294 extension/internal/ps.$(OBJEXT): inkscape_version.h
295 inkscape.$(OBJEXT): helper/sp-marshal.h inkscape_version.h
296 knot.$(OBJEXT): helper/sp-marshal.h
297 main.$(OBJEXT): inkscape_version.h
298 selection.$(OBJEXT): helper/sp-marshal.h
299 sp-object.$(OBJEXT): helper/sp-marshal.h
300 sp-root.$(OBJEXT): inkscape_version.h
301 view.$(OBJEXT): helper/sp-marshal.h
302 help.$(OBJEXT): inkscape_version.h
305 # ################################################
306 #
307 # B I N A R I E S
308 #
309 # ################################################
312 inkscape_SOURCES = main.cpp $(win32_sources)
313 inkscape_LDADD = $(all_libs)
314 inkscape_LDFLAGS = --export-dynamic $(kdeldflags)
316 inkview_SOURCES = inkview.cpp $(win32_sources)
317 inkview_LDADD = $(all_libs)
319 inkscape_version.h: ../configure.ac
320 echo '#define INKSCAPE_VERSION "$(VERSION)"' > inkscape_version.h
322 # ######################
323 # ### CxxTest stuff ####
324 # ######################
325 CXXTEST_TESTSUITES += \
326 $(srcdir)/MultiPrinter.h \
327 $(srcdir)/TRPIFormatter.h \
328 $(srcdir)/PylogFormatter.h \
329 $(srcdir)/attributes-test.h \
330 $(srcdir)/color-profile-test.h \
331 $(srcdir)/dir-util-test.h \
332 $(srcdir)/extract-uri-test.h \
333 $(srcdir)/mod360-test.h \
334 $(srcdir)/round-test.h \
335 $(srcdir)/preferences-test.h \
336 $(srcdir)/sp-gradient-test.h \
337 $(srcdir)/sp-style-elem-test.h \
338 $(srcdir)/style-test.h \
339 $(srcdir)/test-helpers.h \
340 $(srcdir)/verbs-test.h