Code

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