1 include $(top_srcdir)/build/autotools/Makefile.am.silent
6 # we recurse only into Cogl
19 -I$(top_srcdir)/clutter \
20 -I$(top_srcdir)/clutter/cogl \
21 -I$(top_srcdir)/clutter/cogl/pango \
22 -I$(top_srcdir)/clutter/$(CLUTTER_WINSYS) \
23 -I$(top_srcdir)/clutter/$(CLUTTER_WINSYS_BASE) \
24 -I$(top_srcdir)/clutter/cally \
26 -I$(top_builddir)/clutter \
27 -I$(top_builddir)/clutter/cogl \
31 -DCLUTTER_PREFIX=\""$(prefix)"\" \
32 -DCLUTTER_LIBDIR=\""$(libdir)"\" \
33 -DCLUTTER_DATADIR=\""$(datadir)"\" \
34 -DCLUTTER_LOCALEDIR=\""$(localedir)"\" \
35 -DCLUTTER_COMPILATION=1 \
36 -DCLUTTER_DISABLE_DEPRECATED \
37 -DCOGL_DISABLE_DEPRECATED \
38 -DCOGL_ENABLE_EXPERIMENTAL_API \
39 -DG_DISABLE_DEPRECATED \
40 -DG_DISABLE_SINGLE_INCLUDES \
41 -DG_LOG_DOMAIN=\"Clutter\" \
42 $(CLUTTER_DEBUG_CFLAGS) \
43 $(CLUTTER_PROFILE_CFLAGS) \
46 AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS) $(GCOV_CFLAGS)
48 # these are the gir files we generate by hand
51 # these are the gir files we generate using g-ir-scanner
54 # the base include path for headers
55 clutter_base_includedir = $(includedir)/clutter-$(CLUTTER_API_VERSION)
56 clutter_includedir = $(clutter_base_includedir)/clutter
61 # common sources - please, keep these sorted alphabetically
63 $(srcdir)/clutter-action.h \
64 $(srcdir)/clutter-actor-meta.h \
65 $(srcdir)/clutter-actor.h \
66 $(srcdir)/clutter-align-constraint.h \
67 $(srcdir)/clutter-alpha.h \
68 $(srcdir)/clutter-animatable.h \
69 $(srcdir)/clutter-animation.h \
70 $(srcdir)/clutter-animator.h \
71 $(srcdir)/clutter-backend.h \
72 $(srcdir)/clutter-behaviour.h \
73 $(srcdir)/clutter-behaviour-depth.h \
74 $(srcdir)/clutter-behaviour-ellipse.h \
75 $(srcdir)/clutter-behaviour-opacity.h \
76 $(srcdir)/clutter-behaviour-path.h \
77 $(srcdir)/clutter-behaviour-rotate.h \
78 $(srcdir)/clutter-behaviour-scale.h \
79 $(srcdir)/clutter-bind-constraint.h \
80 $(srcdir)/clutter-binding-pool.h \
81 $(srcdir)/clutter-bin-layout.h \
82 $(srcdir)/clutter-blur-effect.h \
83 $(srcdir)/clutter-box.h \
84 $(srcdir)/clutter-box-layout.h \
85 $(srcdir)/clutter-cairo-texture.h \
86 $(srcdir)/clutter-child-meta.h \
87 $(srcdir)/clutter-click-action.h \
88 $(srcdir)/clutter-clone.h \
89 $(srcdir)/clutter-color-static.h \
90 $(srcdir)/clutter-color.h \
91 $(srcdir)/clutter-colorize-effect.h \
92 $(srcdir)/clutter-constraint.h \
93 $(srcdir)/clutter-container.h \
94 $(srcdir)/clutter-deform-effect.h \
95 $(srcdir)/clutter-deprecated.h \
96 $(srcdir)/clutter-desaturate-effect.h \
97 $(srcdir)/clutter-device-manager.h \
98 $(srcdir)/clutter-drag-action.h \
99 $(srcdir)/clutter-effect.h \
100 $(srcdir)/clutter-event.h \
101 $(srcdir)/clutter-feature.h \
102 $(srcdir)/clutter-fixed.h \
103 $(srcdir)/clutter-fixed-layout.h \
104 $(srcdir)/clutter-flow-layout.h \
105 $(srcdir)/clutter-frame-source.h \
106 $(srcdir)/clutter-group.h \
107 $(srcdir)/clutter-input-device.h \
108 $(srcdir)/clutter-interval.h \
109 $(srcdir)/clutter-keysyms.h \
110 $(srcdir)/clutter-keysyms-compat.h \
111 $(srcdir)/clutter-layout-manager.h \
112 $(srcdir)/clutter-layout-meta.h \
113 $(srcdir)/clutter-list-model.h \
114 $(srcdir)/clutter-main.h \
115 $(srcdir)/clutter-media.h \
116 $(srcdir)/clutter-model.h \
117 $(srcdir)/clutter-offscreen-effect.h \
118 $(srcdir)/clutter-page-turn-effect.h \
119 $(srcdir)/clutter-path-constraint.h \
120 $(srcdir)/clutter-path.h \
121 $(srcdir)/clutter-rectangle.h \
122 $(srcdir)/clutter-score.h \
123 $(srcdir)/clutter-script.h \
124 $(srcdir)/clutter-scriptable.h \
125 $(srcdir)/clutter-settings.h \
126 $(srcdir)/clutter-shader.h \
127 $(srcdir)/clutter-shader-effect.h \
128 $(srcdir)/clutter-shader-types.h \
129 $(srcdir)/clutter-stage.h \
130 $(srcdir)/clutter-stage-manager.h \
131 $(srcdir)/clutter-stage-window.h \
132 $(srcdir)/clutter-state.h \
133 $(srcdir)/clutter-table-layout.h \
134 $(srcdir)/clutter-texture.h \
135 $(srcdir)/clutter-text.h \
136 $(srcdir)/clutter-timeline.h \
137 $(srcdir)/clutter-timeout-pool.h \
138 $(srcdir)/clutter-types.h \
139 $(srcdir)/clutter-units.h \
140 $(srcdir)/clutter-util.h \
144 $(srcdir)/clutter-action.c \
145 $(srcdir)/clutter-actor-box.c \
146 $(srcdir)/clutter-actor-meta.c \
147 $(srcdir)/clutter-actor.c \
148 $(srcdir)/clutter-align-constraint.c \
149 $(srcdir)/clutter-alpha.c \
150 $(srcdir)/clutter-animatable.c \
151 $(srcdir)/clutter-animation.c \
152 $(srcdir)/clutter-animator.c \
153 $(srcdir)/clutter-backend.c \
154 $(srcdir)/clutter-behaviour.c \
155 $(srcdir)/clutter-behaviour-depth.c \
156 $(srcdir)/clutter-behaviour-ellipse.c \
157 $(srcdir)/clutter-behaviour-opacity.c \
158 $(srcdir)/clutter-behaviour-path.c \
159 $(srcdir)/clutter-behaviour-rotate.c \
160 $(srcdir)/clutter-behaviour-scale.c \
161 $(srcdir)/clutter-bezier.c \
162 $(srcdir)/clutter-bind-constraint.c \
163 $(srcdir)/clutter-binding-pool.c \
164 $(srcdir)/clutter-bin-layout.c \
165 $(srcdir)/clutter-blur-effect.c \
166 $(srcdir)/clutter-box.c \
167 $(srcdir)/clutter-box-layout.c \
168 $(srcdir)/clutter-cairo-texture.c \
169 $(srcdir)/clutter-child-meta.c \
170 $(srcdir)/clutter-click-action.c \
171 $(srcdir)/clutter-clone.c \
172 $(srcdir)/clutter-color.c \
173 $(srcdir)/clutter-colorize-effect.c \
174 $(srcdir)/clutter-constraint.c \
175 $(srcdir)/clutter-container.c \
176 $(srcdir)/clutter-deform-effect.c \
177 $(srcdir)/clutter-desaturate-effect.c \
178 $(srcdir)/clutter-device-manager.c \
179 $(srcdir)/clutter-drag-action.c \
180 $(srcdir)/clutter-effect.c \
181 $(srcdir)/clutter-event.c \
182 $(srcdir)/clutter-feature.c \
183 $(srcdir)/clutter-fixed.c \
184 $(srcdir)/clutter-fixed-layout.c \
185 $(srcdir)/clutter-flow-layout.c \
186 $(srcdir)/clutter-frame-source.c \
187 $(srcdir)/clutter-group.c \
188 $(srcdir)/clutter-input-device.c \
189 $(srcdir)/clutter-interval.c \
190 $(srcdir)/clutter-layout-manager.c \
191 $(srcdir)/clutter-layout-meta.c \
192 $(srcdir)/clutter-list-model.c \
193 $(srcdir)/clutter-main.c \
194 $(srcdir)/clutter-master-clock.c \
195 $(srcdir)/clutter-media.c \
196 $(srcdir)/clutter-model.c \
197 $(srcdir)/clutter-offscreen-effect.c \
198 $(srcdir)/clutter-page-turn-effect.c \
199 $(srcdir)/clutter-path-constraint.c \
200 $(srcdir)/clutter-path.c \
201 $(srcdir)/clutter-rectangle.c \
202 $(srcdir)/clutter-score.c \
203 $(srcdir)/clutter-script.c \
204 $(srcdir)/clutter-script-parser.c \
205 $(srcdir)/clutter-scriptable.c \
206 $(srcdir)/clutter-settings.c \
207 $(srcdir)/clutter-shader.c \
208 $(srcdir)/clutter-shader-effect.c \
209 $(srcdir)/clutter-shader-types.c \
210 $(srcdir)/clutter-stage.c \
211 $(srcdir)/clutter-stage-manager.c \
212 $(srcdir)/clutter-stage-window.c \
213 $(srcdir)/clutter-state.c \
214 $(srcdir)/clutter-table-layout.c \
215 $(srcdir)/clutter-texture.c \
216 $(srcdir)/clutter-text.c \
217 $(srcdir)/clutter-timeline.c \
218 $(srcdir)/clutter-timeout-pool.c \
219 $(srcdir)/clutter-units.c \
220 $(srcdir)/clutter-util.c \
221 $(srcdir)/clutter-paint-volume.c \
224 # private headers; these should not be distributed or introspected
226 $(srcdir)/clutter-actor-meta-private.h \
227 $(srcdir)/clutter-actor-private.h \
228 $(srcdir)/clutter-backend-private.h \
229 $(srcdir)/clutter-bezier.h \
230 $(srcdir)/clutter-debug.h \
231 $(srcdir)/clutter-device-manager-private.h \
232 $(srcdir)/clutter-id-pool.h \
233 $(srcdir)/clutter-keysyms-table.h \
234 $(srcdir)/clutter-master-clock.h \
235 $(srcdir)/clutter-model-private.h \
236 $(srcdir)/clutter-paint-volume-private.h \
237 $(srcdir)/clutter-private.h \
238 $(srcdir)/clutter-profile.h \
239 $(srcdir)/clutter-script-private.h \
240 $(srcdir)/clutter-stage-manager-private.h \
241 $(srcdir)/clutter-stage-private.h \
242 $(srcdir)/clutter-timeout-interval.h \
245 # private source code; these should not be introspected
247 $(srcdir)/clutter-id-pool.c \
248 $(srcdir)/clutter-profile.c \
249 $(srcdir)/clutter-timeout-interval.c \
254 clutter-enum-types.c \
260 clutter-enum-types.h \
265 DISTCLEANFILES += clutter-version.h
266 EXTRA_DIST += clutter-version.h.in
268 # key symbol update script
269 EXTRA_DIST += clutter-keysyms-update.pl
271 pc_files += clutter-$(CLUTTER_API_VERSION).pc
273 # backends source listings
275 # backend_source_c := source code
276 # backend_source_h := installed public headers
277 # backend_source_c_priv := source that should not be scanned by g-i
278 # backend_source_h_priv := private headers
279 # backend_source_built := built sources
283 backend_source_c_priv =
284 backend_source_h_priv =
285 backend_source_built =
289 $(srcdir)/x11/clutter-backend-x11.c \
290 $(srcdir)/x11/clutter-device-manager-x11.c \
291 $(srcdir)/x11/clutter-event-x11.c \
292 $(srcdir)/x11/clutter-input-device-x11.c \
293 $(srcdir)/x11/clutter-keymap-x11.c \
294 $(srcdir)/x11/clutter-stage-x11.c \
295 $(srcdir)/x11/clutter-x11-texture-pixmap.c \
299 $(srcdir)/x11/clutter-x11.h \
300 $(srcdir)/x11/clutter-x11-texture-pixmap.h \
303 x11_source_h_priv = \
304 $(srcdir)/x11/clutter-backend-x11.h \
305 $(srcdir)/x11/clutter-device-manager-x11.h \
306 $(srcdir)/x11/clutter-input-device-x11.h \
307 $(srcdir)/x11/clutter-keymap-x11.h \
308 $(srcdir)/x11/clutter-settings-x11.h \
309 $(srcdir)/x11/clutter-stage-x11.h \
312 x11_source_c_priv = \
313 $(srcdir)/x11/xsettings/xsettings-client.c \
314 $(srcdir)/x11/xsettings/xsettings-client.h \
315 $(srcdir)/x11/xsettings/xsettings-common.c \
316 $(srcdir)/x11/xsettings/xsettings-common.h \
320 backend_source_h += $(x11_source_h)
321 backend_source_c += $(x11_source_c)
322 backend_source_h_priv += $(x11_source_h_priv)
323 backend_source_c_priv += $(x11_source_c_priv)
325 # the list of files we want to introspect on X11
326 x11_introspection = $(x11_source_c) $(x11_source_h)
328 # pkg-config file for the X11 meta-backend
329 clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
330 $(QUIET_GEN)cp -f $< $(@F)
332 pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
334 clutterx11_includedir = $(clutter_includedir)/x11
335 clutterx11_include_HEADERS = $(x11_source_h)
340 $(srcdir)/glx/clutter-backend-glx.c \
341 $(srcdir)/glx/clutter-event-glx.c \
342 $(srcdir)/glx/clutter-glx-texture-pixmap.c \
343 $(srcdir)/glx/clutter-stage-glx.c \
347 $(srcdir)/glx/clutter-glx-texture-pixmap.h \
348 $(srcdir)/glx/clutter-glx.h \
351 glx_source_h_priv = \
352 $(srcdir)/glx/clutter-backend-glx.h \
353 $(srcdir)/glx/clutter-event-glx.h \
354 $(srcdir)/glx/clutter-stage-glx.h \
358 backend_source_h += $(glx_source_h)
359 backend_source_c += $(glx_source_c)
360 backend_source_h_priv += $(glx_source_h_priv)
362 # XXX - this is another hack; we installed glx headers under includedir/glx
363 # instead of using the same directory.
364 clutterglx_includedir = $(clutter_includedir)/glx
365 clutterglx_include_HEADERS = $(glx_source_h)
368 # Windows backend rules
370 $(srcdir)/win32/clutter-backend-win32.c \
371 $(srcdir)/win32/clutter-device-manager-win32.c \
372 $(srcdir)/win32/clutter-event-win32.c \
373 $(srcdir)/win32/clutter-stage-win32.c \
377 $(srcdir)/win32/clutter-win32.h \
380 win32_source_h_priv = \
381 $(srcdir)/win32/clutter-backend-win32.h \
382 $(srcdir)/win32/clutter-device-manager-win32.h \
383 $(srcdir)/win32/clutter-stage-win32.h \
387 # Ideally this resources stuff would go in win32/ but libtool doesn't
388 # seem to pass on the -Wl argument when linking a convenience library
389 # so we need to do it here as part of linking the dll. libtool also
390 # won't let you link against the .o directly because it wants you to
391 # link against libtool objects for dynamic libraries.
393 $(WINDRES) -I$(srcdir)/win32 $< $@
395 win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
397 win32_resources = win32/resources.o
398 win32_resources_ldflag = -Wl,win32/resources.o
400 backend_source_h += $(win32_source_h)
401 backend_source_c += $(win32_source_c)
402 backend_source_h_priv += $(win32_source_h_priv)
404 clutterwin_includedir = $(clutter_includedir)/win32
405 clutterwin_include_HEADERS = $(win32_source_h)
406 endif # SUPPORT_WIN32
409 $(srcdir)/win32/invisible-cursor.cur \
410 $(srcdir)/win32/resources.rc \
415 $(srcdir)/egl/clutter-egl-headers.h \
416 $(srcdir)/egl/clutter-egl.h \
420 $(srcdir)/egl/clutter-backend-egl.c \
421 $(srcdir)/egl/clutter-stage-egl.c \
424 egl_source_h_priv = \
425 $(srcdir)/egl/clutter-backend-egl.h \
426 $(srcdir)/egl/clutter-stage-egl.h \
431 egl_tslib_c = $(srcdir)/egl/clutter-event-tslib.c
433 egl_cex_c_priv = $(srcdir)/egl/clutter-backend-cex100.c
434 egl_cex_h_priv = $(srcdir)/egl/clutter-backend-cex100.h
435 egl_cex_h = $(srcdir)/egl/clutter-cex100.h
439 egl_source_c_priv += $(egl_tslib_c)
440 endif # SUPPORT_TSLIB
442 egl_source_c_priv += $(egl_cex_c_priv)
443 egl_source_h_priv += $(egl_cex_h_priv)
444 egl_source_h += $(egl_cex_h)
445 endif # SUPPORT_CEX100
447 backend_source_h += $(egl_source_h)
448 backend_source_c += $(egl_source_c)
449 backend_source_h_priv += $(egl_source_h_priv)
450 backend_source_c_priv += $(egl_source_c_priv)
452 clutteregl_includedir = $(clutter_includedir)/egl
453 clutteregl_include_HEADERS = $(egl_source_h)
458 $(srcdir)/osx/clutter-backend-osx.c \
459 $(srcdir)/osx/clutter-stage-osx.c \
462 osx_source_h = $(srcdir)/osx/clutter-osx.h
464 osx_source_h_priv = \
465 $(srcdir)/osx/clutter-backend-osx.h \
466 $(srcdir)/osx/clutter-stage-osx.h \
469 osx_source_c_priv = $(srcdir)/osx/clutter-event-osx.c
472 # we need to tell the compiler that part of our code base is
474 AM_CFLAGS += -xobjective-c
476 backend_source_h += $(osx_source_h)
477 backend_source_c += $(osx_source_c)
478 backend_source_h_priv += $(osx_source_h_priv)
479 backend_source_c_priv += $(osx_source_c_priv)
481 clutterosx_includedir = $(clutter_includedir)/osx
482 clutterosx_include_HEADERS = $(osx_source_h)
485 # Fruity backend rules
487 $(srcdir)/fruity/clutter-backend-fruity.c \
488 $(srcdir)/fruity/clutter-stage-fruity.c \
489 $(srcdir)/fruity/clutter-fruity.c \
493 $(srcdir)/fruity/clutter-backend-fruity.h \
494 $(srcdir)/fruity/clutter-stage-fruity.h \
495 $(srcdir)/fruity/clutter-fruity.h \
499 AM_CFLAGS += -xobjective-c
501 backend_source_c_priv += $(fruity_source_c)
502 backend_source_h_priv += $(fruity_source_h)
504 clutterfruity_includedir = $(clutter_includedir)/fruity
505 clutterfruity_include_HEADERS = $(srcdir)/fruity/clutter-fruity.h
506 endif # SUPPORT_FRUITY
508 # Wayland backend rules
510 backend_source_h += \
511 $(srcdir)/wayland/clutter-wayland.h
513 backend_source_h_priv += \
514 $(srcdir)/wayland/clutter-backend-wayland.h \
515 $(srcdir)/wayland/clutter-stage-wayland.h
517 backend_source_c += \
518 $(srcdir)/wayland/clutter-backend-wayland.c \
519 $(srcdir)/wayland/clutter-stage-wayland.c \
520 $(srcdir)/wayland/clutter-event-wayland.c \
521 $(srcdir)/wayland/clutter-input-device-wayland.c
523 clutterwayland_includedir = $(clutter_includedir)/wayland
524 clutterwayland_include_HEADERS = $(wayland_source_h)
525 endif # SUPPORT_WAYLAND
529 $(srcdir)/cally/cally-actor.h \
530 $(srcdir)/cally/cally-clone.h \
531 $(srcdir)/cally/cally-factory.h \
532 $(srcdir)/cally/cally-group.h \
533 $(srcdir)/cally/cally.h \
534 $(srcdir)/cally/cally-main.h \
535 $(srcdir)/cally/cally-rectangle.h \
536 $(srcdir)/cally/cally-root.h \
537 $(srcdir)/cally/cally-stage.h \
538 $(srcdir)/cally/cally-text.h \
539 $(srcdir)/cally/cally-texture.h \
540 $(srcdir)/cally/cally-util.h \
544 $(srcdir)/cally/cally-actor.c \
545 $(srcdir)/cally/cally.c \
546 $(srcdir)/cally/cally-clone.c \
547 $(srcdir)/cally/cally-group.c \
548 $(srcdir)/cally/cally-rectangle.c \
549 $(srcdir)/cally/cally-root.c \
550 $(srcdir)/cally/cally-stage.c \
551 $(srcdir)/cally/cally-text.c \
552 $(srcdir)/cally/cally-texture.c \
553 $(srcdir)/cally/cally-util.c \
556 cally_sources_private = \
557 $(srcdir)/cally/cally-actor-private.h \
560 cally_includedir = $(clutter_base_includedir)/cally
561 cally_include_HEADERS = $(cally_sources_h)
563 pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
564 EXTRA_DIST += cally/cally.pc.in
566 # general build rules:
567 # you should not need to modify anything below this point
569 # glib-genmarshal rules
570 glib_marshal_list = clutter-marshal.list
571 glib_marshal_prefix = _clutter_marshal
572 include $(top_srcdir)/build/autotools/Makefile.am.marshal
575 glib_enum_h = clutter-enum-types.h
576 glib_enum_c = clutter-enum-types.c
577 glib_enum_headers = $(source_h) $(backend_source_h)
578 include $(top_srcdir)/build/autotools/Makefile.am.enums
580 # backend-specific pkg-config file
581 clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
582 $(QUIET_GEN)cp -f $< $(@F)
584 pc_files += clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc
586 pkgconfigdir = $(libdir)/pkgconfig
587 pkgconfig_DATA = $(pc_files)
588 DISTCLEANFILES += $(pc_files)
590 clutter_include_HEADERS = $(source_h) $(top_srcdir)/clutter/clutter.h
591 nodist_clutter_include_HEADERS = \
592 $(top_builddir)/clutter/clutter-version.h \
595 lib_LTLIBRARIES += libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
597 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \
599 $(CLUTTER_PROFILE_LIBS) \
600 $(top_builddir)/clutter/cogl/cogl/libclutter-cogl.la \
601 $(top_builddir)/clutter/cogl/pango/libcoglpango.la
603 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
604 $(top_builddir)/clutter/cogl/cogl/libclutter-cogl.la \
605 $(top_builddir)/clutter/cogl/pango/libcoglpango.la \
608 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
609 $(backend_source_c) \
610 $(backend_source_h) \
611 $(backend_source_c_priv) \
612 $(backend_source_h_priv) \
619 $(cally_sources_private) \
622 nodist_libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
623 $(backend_source_built) \
627 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LDFLAGS = \
628 $(CLUTTER_LINK_FLAGS) \
629 $(CLUTTER_LT_LDFLAGS) \
632 -export-symbols-regex "^(clutter|cogl|cally).*" \
634 $(win32_resources_ldflag) \
637 # gobject-introspection rules
638 -include $(INTROSPECTION_MAKEFILE)
640 if HAVE_INTROSPECTION
641 INTROSPECTION_GIRS += Clutter-@CLUTTER_API_VERSION@.gir
643 Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la Makefile
645 Clutter_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Clutter
646 Clutter_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
647 Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
648 Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = $(clutter_include_HEADERS) $(nodist_clutter_include_HEADERS) $(source_c) $(built_source_c)
649 Clutter_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
650 Clutter_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = GL-1.0 GObject-2.0 Atk-1.0 Pango-1.0 PangoCairo-1.0 Json-1.0
651 Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
653 --c-include='clutter/clutter.h' \
654 --pkg-export=clutter-@CLUTTER_API_VERSION@ \
655 --include-uninstalled=$(top_builddir)/clutter/cogl/cogl/Cogl-@CLUTTER_API_VERSION@.gir
657 # Cogl.gir is used included into Clutter.gir, so it needs to be built
658 # before the typelib is generated
659 Clutter-@CLUTTER_API_VERSION@.typelib: Cogl-@CLUTTER_API_VERSION@.gir
661 # We build Cogl.gir in the cogl/ subdir, but it needs to reference the shared
662 # library that it's built into, so we delay compiling the gir into typelib
663 # until after we've built the shared library. To create the final Cogl.gir
664 # that we compile and install, we transfer the shared-library="" line from
665 # Clutter.gir to Cogl.gir
666 Cogl-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir cogl/cogl/Cogl-@CLUTTER_API_VERSION@.gir
668 shlib=`sed -n 's/.*shared-library="\([^"]*\)".*/\1/p' < Clutter-@CLUTTER_API_VERSION@.gir` ; \
669 sed "s/shared-library=\"[^\"]*\"/shared-library=\"$$shlib\"/"< cogl/cogl/Cogl-@CLUTTER_API_VERSION@.gir > $@
671 BUILT_GIRSOURCES += Cogl-@CLUTTER_API_VERSION@.gir
673 Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir Cogl-@CLUTTER_API_VERSION@.gir
675 Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
676 Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
677 Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
678 Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
679 Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
680 Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
682 --identifier-prefix=Cally \
683 --symbol-prefix=cally \
684 --c-include='cally/cally.h' \
685 --pkg-export=cally-@CLUTTER_API_VERSION@ \
686 --include-uninstalled=$(top_builddir)/clutter/Cogl-@CLUTTER_API_VERSION@.gir \
687 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
689 INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
692 ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir Cogl-@CLUTTER_API_VERSION@.gir
694 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
696 --identifier-prefix=ClutterX11 \
697 --symbol-prefix=clutter_x11 \
698 --c-include='clutter/x11/clutter-x11.h' \
699 --pkg-export=clutter-x11-@CLUTTER_API_VERSION@ \
700 --include-uninstalled=$(top_builddir)/clutter/Cogl-@CLUTTER_API_VERSION@.gir \
701 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
702 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
703 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
704 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
705 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
707 INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
710 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
711 # install anything - we need to install inside our prefix.
712 girdir = $(datadir)/gir-1.0
713 gir_DATA = $(BUILT_GIRSOURCES) $(INTROSPECTION_GIRS)
715 typelibsdir = $(libdir)/girepository-1.0/
716 typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) $(INTROSPECTION_GIRS:.gir=.typelib)
718 CLEANFILES += $(gir_DATA) $(typelibs_DATA)
719 endif # HAVE_INTROSPECTION
722 gcov_sources = $(source_c) $(backend_source_c)
723 include $(top_srcdir)/build/autotools/Makefile.am.gcov