1 include $(top_srcdir)/build/autotools/Makefile.am.silent
16 -I$(top_srcdir)/clutter \
17 -I$(top_srcdir)/clutter/$(CLUTTER_WINSYS) \
18 -I$(top_srcdir)/clutter/$(CLUTTER_WINSYS_BASE) \
19 -I$(top_srcdir)/clutter/cally \
20 -I$(top_srcdir)/clutter/evdev \
22 -I$(top_builddir)/clutter \
26 -DCLUTTER_PREFIX=\""$(prefix)"\" \
27 -DCLUTTER_LIBDIR=\""$(libdir)"\" \
28 -DCLUTTER_DATADIR=\""$(datadir)"\" \
29 -DCLUTTER_LOCALEDIR=\""$(localedir)"\" \
30 -DCLUTTER_COMPILATION=1 \
31 -DCLUTTER_DISABLE_DEPRECATED \
32 -DCOGL_DISABLE_DEPRECATED \
33 -DCOGL_ENABLE_EXPERIMENTAL_API \
34 -DG_DISABLE_DEPRECATED \
35 -DG_DISABLE_SINGLE_INCLUDES \
36 -DG_LOG_DOMAIN=\"Clutter\" \
37 $(CLUTTER_DEBUG_CFLAGS) \
38 $(CLUTTER_PROFILE_CFLAGS) \
41 AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS) $(GCOV_CFLAGS)
43 # these are the gir files we generate using g-ir-scanner
46 # the base include path for headers
47 clutter_base_includedir = $(includedir)/clutter-$(CLUTTER_API_VERSION)
48 clutter_includedir = $(clutter_base_includedir)/clutter
53 # common sources - please, keep these sorted alphabetically
55 $(srcdir)/clutter-action.h \
56 $(srcdir)/clutter-actor-meta.h \
57 $(srcdir)/clutter-actor.h \
58 $(srcdir)/clutter-align-constraint.h \
59 $(srcdir)/clutter-alpha.h \
60 $(srcdir)/clutter-animatable.h \
61 $(srcdir)/clutter-animation.h \
62 $(srcdir)/clutter-animator.h \
63 $(srcdir)/clutter-backend.h \
64 $(srcdir)/clutter-behaviour.h \
65 $(srcdir)/clutter-behaviour-depth.h \
66 $(srcdir)/clutter-behaviour-ellipse.h \
67 $(srcdir)/clutter-behaviour-opacity.h \
68 $(srcdir)/clutter-behaviour-path.h \
69 $(srcdir)/clutter-behaviour-rotate.h \
70 $(srcdir)/clutter-behaviour-scale.h \
71 $(srcdir)/clutter-bind-constraint.h \
72 $(srcdir)/clutter-binding-pool.h \
73 $(srcdir)/clutter-bin-layout.h \
74 $(srcdir)/clutter-blur-effect.h \
75 $(srcdir)/clutter-box.h \
76 $(srcdir)/clutter-box-layout.h \
77 $(srcdir)/clutter-cairo-texture.h \
78 $(srcdir)/clutter-child-meta.h \
79 $(srcdir)/clutter-click-action.h \
80 $(srcdir)/clutter-clone.h \
81 $(srcdir)/clutter-color-static.h \
82 $(srcdir)/clutter-color.h \
83 $(srcdir)/clutter-colorize-effect.h \
84 $(srcdir)/clutter-constraint.h \
85 $(srcdir)/clutter-container.h \
86 $(srcdir)/clutter-deform-effect.h \
87 $(srcdir)/clutter-deprecated.h \
88 $(srcdir)/clutter-desaturate-effect.h \
89 $(srcdir)/clutter-device-manager.h \
90 $(srcdir)/clutter-drag-action.h \
91 $(srcdir)/clutter-effect.h \
92 $(srcdir)/clutter-event.h \
93 $(srcdir)/clutter-feature.h \
94 $(srcdir)/clutter-fixed.h \
95 $(srcdir)/clutter-fixed-layout.h \
96 $(srcdir)/clutter-flow-layout.h \
97 $(srcdir)/clutter-frame-source.h \
98 $(srcdir)/clutter-group.h \
99 $(srcdir)/clutter-input-device.h \
100 $(srcdir)/clutter-interval.h \
101 $(srcdir)/clutter-keysyms.h \
102 $(srcdir)/clutter-keysyms-compat.h \
103 $(srcdir)/clutter-layout-manager.h \
104 $(srcdir)/clutter-layout-meta.h \
105 $(srcdir)/clutter-list-model.h \
106 $(srcdir)/clutter-main.h \
107 $(srcdir)/clutter-media.h \
108 $(srcdir)/clutter-model.h \
109 $(srcdir)/clutter-offscreen-effect.h \
110 $(srcdir)/clutter-page-turn-effect.h \
111 $(srcdir)/clutter-path-constraint.h \
112 $(srcdir)/clutter-path.h \
113 $(srcdir)/clutter-rectangle.h \
114 $(srcdir)/clutter-score.h \
115 $(srcdir)/clutter-script.h \
116 $(srcdir)/clutter-scriptable.h \
117 $(srcdir)/clutter-settings.h \
118 $(srcdir)/clutter-shader.h \
119 $(srcdir)/clutter-shader-effect.h \
120 $(srcdir)/clutter-shader-types.h \
121 $(srcdir)/clutter-snap-constraint.h \
122 $(srcdir)/clutter-stage.h \
123 $(srcdir)/clutter-stage-manager.h \
124 $(srcdir)/clutter-stage-window.h \
125 $(srcdir)/clutter-state.h \
126 $(srcdir)/clutter-table-layout.h \
127 $(srcdir)/clutter-texture.h \
128 $(srcdir)/clutter-text.h \
129 $(srcdir)/clutter-timeline.h \
130 $(srcdir)/clutter-timeout-pool.h \
131 $(srcdir)/clutter-types.h \
132 $(srcdir)/clutter-units.h \
133 $(srcdir)/clutter-util.h \
137 $(srcdir)/clutter-action.c \
138 $(srcdir)/clutter-actor-box.c \
139 $(srcdir)/clutter-actor-meta.c \
140 $(srcdir)/clutter-actor.c \
141 $(srcdir)/clutter-align-constraint.c \
142 $(srcdir)/clutter-alpha.c \
143 $(srcdir)/clutter-animatable.c \
144 $(srcdir)/clutter-animation.c \
145 $(srcdir)/clutter-animator.c \
146 $(srcdir)/clutter-backend.c \
147 $(srcdir)/clutter-behaviour.c \
148 $(srcdir)/clutter-behaviour-depth.c \
149 $(srcdir)/clutter-behaviour-ellipse.c \
150 $(srcdir)/clutter-behaviour-opacity.c \
151 $(srcdir)/clutter-behaviour-path.c \
152 $(srcdir)/clutter-behaviour-rotate.c \
153 $(srcdir)/clutter-behaviour-scale.c \
154 $(srcdir)/clutter-bezier.c \
155 $(srcdir)/clutter-bind-constraint.c \
156 $(srcdir)/clutter-binding-pool.c \
157 $(srcdir)/clutter-bin-layout.c \
158 $(srcdir)/clutter-blur-effect.c \
159 $(srcdir)/clutter-box.c \
160 $(srcdir)/clutter-box-layout.c \
161 $(srcdir)/clutter-cairo-texture.c \
162 $(srcdir)/clutter-child-meta.c \
163 $(srcdir)/clutter-click-action.c \
164 $(srcdir)/clutter-clone.c \
165 $(srcdir)/clutter-color.c \
166 $(srcdir)/clutter-colorize-effect.c \
167 $(srcdir)/clutter-constraint.c \
168 $(srcdir)/clutter-container.c \
169 $(srcdir)/clutter-deform-effect.c \
170 $(srcdir)/clutter-desaturate-effect.c \
171 $(srcdir)/clutter-device-manager.c \
172 $(srcdir)/clutter-drag-action.c \
173 $(srcdir)/clutter-effect.c \
174 $(srcdir)/clutter-event.c \
175 $(srcdir)/clutter-feature.c \
176 $(srcdir)/clutter-fixed.c \
177 $(srcdir)/clutter-fixed-layout.c \
178 $(srcdir)/clutter-flow-layout.c \
179 $(srcdir)/clutter-frame-source.c \
180 $(srcdir)/clutter-group.c \
181 $(srcdir)/clutter-input-device.c \
182 $(srcdir)/clutter-interval.c \
183 $(srcdir)/clutter-keysyms-table.c \
184 $(srcdir)/clutter-layout-manager.c \
185 $(srcdir)/clutter-layout-meta.c \
186 $(srcdir)/clutter-list-model.c \
187 $(srcdir)/clutter-main.c \
188 $(srcdir)/clutter-master-clock.c \
189 $(srcdir)/clutter-media.c \
190 $(srcdir)/clutter-model.c \
191 $(srcdir)/clutter-offscreen-effect.c \
192 $(srcdir)/clutter-page-turn-effect.c \
193 $(srcdir)/clutter-path-constraint.c \
194 $(srcdir)/clutter-path.c \
195 $(srcdir)/clutter-rectangle.c \
196 $(srcdir)/clutter-score.c \
197 $(srcdir)/clutter-script.c \
198 $(srcdir)/clutter-script-parser.c \
199 $(srcdir)/clutter-scriptable.c \
200 $(srcdir)/clutter-settings.c \
201 $(srcdir)/clutter-shader.c \
202 $(srcdir)/clutter-shader-effect.c \
203 $(srcdir)/clutter-shader-types.c \
204 $(srcdir)/clutter-snap-constraint.c \
205 $(srcdir)/clutter-stage.c \
206 $(srcdir)/clutter-stage-manager.c \
207 $(srcdir)/clutter-stage-window.c \
208 $(srcdir)/clutter-state.c \
209 $(srcdir)/clutter-table-layout.c \
210 $(srcdir)/clutter-texture.c \
211 $(srcdir)/clutter-text.c \
212 $(srcdir)/clutter-timeline.c \
213 $(srcdir)/clutter-timeout-pool.c \
214 $(srcdir)/clutter-units.c \
215 $(srcdir)/clutter-util.c \
216 $(srcdir)/clutter-paint-volume.c \
219 # private headers; these should not be distributed or introspected
221 $(srcdir)/clutter-actor-meta-private.h \
222 $(srcdir)/clutter-actor-private.h \
223 $(srcdir)/clutter-backend-private.h \
224 $(srcdir)/clutter-bezier.h \
225 $(srcdir)/clutter-debug.h \
226 $(srcdir)/clutter-device-manager-private.h \
227 $(srcdir)/clutter-effect-private.h \
228 $(srcdir)/clutter-event-translator.h \
229 $(srcdir)/clutter-event-private.h \
230 $(srcdir)/clutter-id-pool.h \
231 $(srcdir)/clutter-master-clock.h \
232 $(srcdir)/clutter-model-private.h \
233 $(srcdir)/clutter-offscreen-effect-private.h \
234 $(srcdir)/clutter-paint-volume-private.h \
235 $(srcdir)/clutter-private.h \
236 $(srcdir)/clutter-profile.h \
237 $(srcdir)/clutter-script-private.h \
238 $(srcdir)/clutter-stage-manager-private.h \
239 $(srcdir)/clutter-stage-private.h \
240 $(srcdir)/clutter-timeout-interval.h \
243 # private source code; these should not be introspected
245 $(srcdir)/clutter-event-translator.c \
246 $(srcdir)/clutter-id-pool.c \
247 $(srcdir)/clutter-profile.c \
248 $(srcdir)/clutter-timeout-interval.c \
253 clutter-enum-types.c \
259 clutter-enum-types.h \
264 DISTCLEANFILES += clutter-config.h
265 EXTRA_DIST += clutter-config.h.in
268 DISTCLEANFILES += clutter-version.h
269 EXTRA_DIST += clutter-version.h.in
271 # key symbol update script
272 EXTRA_DIST += clutter-keysyms-update.pl
274 pc_files += clutter-$(CLUTTER_API_VERSION).pc
276 # backends source listings
278 # backend_source_c := source code
279 # backend_source_h := installed public headers
280 # backend_source_c_priv := source that should not be scanned by g-i
281 # backend_source_h_priv := private headers
282 # backend_source_built := built sources
286 backend_source_c_priv =
287 backend_source_h_priv =
288 backend_source_built =
292 $(srcdir)/x11/clutter-backend-x11.c \
293 $(srcdir)/x11/clutter-device-manager-core-x11.c \
294 $(srcdir)/x11/clutter-event-x11.c \
295 $(srcdir)/x11/clutter-input-device-core-x11.c \
296 $(srcdir)/x11/clutter-keymap-x11.c \
297 $(srcdir)/x11/clutter-stage-x11.c \
298 $(srcdir)/x11/clutter-x11-texture-pixmap.c \
302 $(srcdir)/x11/clutter-x11.h \
303 $(srcdir)/x11/clutter-x11-texture-pixmap.h \
306 x11_source_h_priv = \
307 $(srcdir)/x11/clutter-backend-x11.h \
308 $(srcdir)/x11/clutter-device-manager-core-x11.h \
309 $(srcdir)/x11/clutter-input-device-core-x11.h \
310 $(srcdir)/x11/clutter-keymap-x11.h \
311 $(srcdir)/x11/clutter-settings-x11.h \
312 $(srcdir)/x11/clutter-stage-x11.h \
315 x11_source_c_priv = \
316 $(srcdir)/x11/xsettings/xsettings-client.c \
317 $(srcdir)/x11/xsettings/xsettings-client.h \
318 $(srcdir)/x11/xsettings/xsettings-common.c \
319 $(srcdir)/x11/xsettings/xsettings-common.h \
324 $(srcdir)/x11/clutter-device-manager-xi2.c \
325 $(srcdir)/x11/clutter-input-device-xi2.c \
328 x11_source_h_priv += \
329 $(srcdir)/x11/clutter-device-manager-xi2.h \
330 $(srcdir)/x11/clutter-input-device-xi2.h \
335 backend_source_h += $(x11_source_h)
336 backend_source_c += $(x11_source_c)
337 backend_source_h_priv += $(x11_source_h_priv)
338 backend_source_c_priv += $(x11_source_c_priv)
340 # the list of files we want to introspect on X11
341 x11_introspection = $(x11_source_c) $(x11_source_h)
343 # pkg-config file for the X11 meta-backend
344 clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
345 $(QUIET_GEN)cp -f $< $(@F)
347 pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
349 clutterx11_includedir = $(clutter_includedir)/x11
350 clutterx11_include_HEADERS = $(x11_source_h)
355 $(srcdir)/glx/clutter-backend-glx.c \
356 $(srcdir)/glx/clutter-glx-texture-pixmap.c \
357 $(srcdir)/glx/clutter-stage-glx.c \
361 $(srcdir)/glx/clutter-glx-texture-pixmap.h \
362 $(srcdir)/glx/clutter-glx.h \
365 glx_source_h_priv = \
366 $(srcdir)/glx/clutter-backend-glx.h \
367 $(srcdir)/glx/clutter-stage-glx.h \
371 backend_source_h += $(glx_source_h)
372 backend_source_c += $(glx_source_c)
373 backend_source_h_priv += $(glx_source_h_priv)
375 # XXX - this is another hack; we installed glx headers under includedir/glx
376 # instead of using the same directory.
377 clutterglx_includedir = $(clutter_includedir)/glx
378 clutterglx_include_HEADERS = $(glx_source_h)
381 # Windows backend rules
383 $(srcdir)/win32/clutter-backend-win32.c \
384 $(srcdir)/win32/clutter-device-manager-win32.c \
385 $(srcdir)/win32/clutter-event-win32.c \
386 $(srcdir)/win32/clutter-stage-win32.c \
390 $(srcdir)/win32/clutter-win32.h \
393 win32_source_h_priv = \
394 $(srcdir)/win32/clutter-backend-win32.h \
395 $(srcdir)/win32/clutter-device-manager-win32.h \
396 $(srcdir)/win32/clutter-stage-win32.h \
400 # Ideally this resources stuff would go in win32/ but libtool doesn't
401 # seem to pass on the -Wl argument when linking a convenience library
402 # so we need to do it here as part of linking the dll. libtool also
403 # won't let you link against the .o directly because it wants you to
404 # link against libtool objects for dynamic libraries.
407 $(WINDRES) -I$(srcdir)/win32 $< $@
409 win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
411 win32_resources = win32/resources.o
412 win32_resources_ldflag = -Wl,win32/resources.o
414 backend_source_h += $(win32_source_h)
415 backend_source_c += $(win32_source_c)
416 backend_source_h_priv += $(win32_source_h_priv)
418 clutterwin_includedir = $(clutter_includedir)/win32
419 clutterwin_include_HEADERS = $(win32_source_h)
420 endif # SUPPORT_WIN32
423 $(srcdir)/win32/invisible-cursor.cur \
424 $(srcdir)/win32/resources.rc \
429 $(srcdir)/egl/clutter-egl-headers.h \
430 $(srcdir)/egl/clutter-egl.h \
434 $(srcdir)/egl/clutter-backend-egl.c \
435 $(srcdir)/egl/clutter-stage-egl.c \
438 egl_source_h_priv = \
439 $(srcdir)/egl/clutter-backend-egl.h \
440 $(srcdir)/egl/clutter-stage-egl.h \
445 egl_tslib_c = $(srcdir)/egl/clutter-event-tslib.c
448 $(srcdir)/evdev/clutter-xkb-utils.c \
449 $(srcdir)/evdev/clutter-device-manager-evdev.c \
450 $(srcdir)/evdev/clutter-input-device-evdev.c \
453 $(srcdir)/evdev/clutter-xkb-utils.h \
454 $(srcdir)/evdev/clutter-device-manager-evdev.h \
455 $(srcdir)/evdev/clutter-input-device-evdev.h \
458 egl_cex_h = egl/clutter-cex100.h
459 BUILT_SOURCES += egl/clutter-cex100.h
460 EXTRA_DIST += $(srcdir)/egl/clutter-cex100.h.in
465 egl_source_c_priv += $(egl_tslib_c)
466 endif # SUPPORT_TSLIB
469 egl_source_c_priv += $(evdev_c_priv)
470 egl_source_h_priv += $(evdev_h_priv)
471 endif # SUPPORT_EVDEV
474 egl_source_h += $(egl_cex_h)
475 endif # SUPPORT_CEX100
477 backend_source_h += $(egl_source_h)
478 backend_source_c += $(egl_source_c)
479 backend_source_h_priv += $(egl_source_h_priv)
480 backend_source_c_priv += $(egl_source_c_priv)
482 clutteregl_includedir = $(clutter_includedir)/egl
483 clutteregl_include_HEADERS = $(egl_source_h)
488 $(srcdir)/osx/clutter-backend-osx.c \
489 $(srcdir)/osx/clutter-stage-osx.c \
492 osx_source_h = $(srcdir)/osx/clutter-osx.h
494 osx_source_h_priv = \
495 $(srcdir)/osx/clutter-backend-osx.h \
496 $(srcdir)/osx/clutter-event-loop-osx.h \
497 $(srcdir)/osx/clutter-stage-osx.h \
498 $(srcdir)/osx/clutter-device-manager-osx.h \
501 osx_source_c_priv = \
502 $(srcdir)/osx/clutter-event-loop-osx.c \
503 $(srcdir)/osx/clutter-event-osx.c \
504 $(srcdir)/osx/clutter-device-manager-osx.c \
508 # we need to tell the compiler that part of our code base is
510 AM_CFLAGS += -xobjective-c
512 backend_source_h += $(osx_source_h)
513 backend_source_c += $(osx_source_c)
514 backend_source_h_priv += $(osx_source_h_priv)
515 backend_source_c_priv += $(osx_source_c_priv)
517 clutterosx_includedir = $(clutter_includedir)/osx
518 clutterosx_include_HEADERS = $(osx_source_h)
521 # Wayland backend rules
523 backend_source_h += \
524 $(srcdir)/wayland/clutter-wayland.h
526 backend_source_h_priv += \
527 $(srcdir)/evdev/clutter-xkb-utils.h \
528 $(srcdir)/wayland/clutter-backend-wayland.h \
529 $(srcdir)/wayland/clutter-stage-wayland.h
531 backend_source_c += \
532 $(srcdir)/evdev/clutter-xkb-utils.c \
533 $(srcdir)/wayland/clutter-backend-wayland.c \
534 $(srcdir)/wayland/clutter-stage-wayland.c \
535 $(srcdir)/wayland/clutter-event-wayland.c \
536 $(srcdir)/wayland/clutter-input-device-wayland.c
538 clutterwayland_includedir = $(clutter_includedir)/wayland
539 clutterwayland_include_HEADERS = $(wayland_source_h)
540 endif # SUPPORT_WAYLAND
544 $(srcdir)/cally/cally-actor.h \
545 $(srcdir)/cally/cally-clone.h \
546 $(srcdir)/cally/cally-factory.h \
547 $(srcdir)/cally/cally-group.h \
548 $(srcdir)/cally/cally.h \
549 $(srcdir)/cally/cally-main.h \
550 $(srcdir)/cally/cally-rectangle.h \
551 $(srcdir)/cally/cally-root.h \
552 $(srcdir)/cally/cally-stage.h \
553 $(srcdir)/cally/cally-text.h \
554 $(srcdir)/cally/cally-texture.h \
555 $(srcdir)/cally/cally-util.h \
559 $(srcdir)/cally/cally-actor.c \
560 $(srcdir)/cally/cally.c \
561 $(srcdir)/cally/cally-clone.c \
562 $(srcdir)/cally/cally-group.c \
563 $(srcdir)/cally/cally-rectangle.c \
564 $(srcdir)/cally/cally-root.c \
565 $(srcdir)/cally/cally-stage.c \
566 $(srcdir)/cally/cally-text.c \
567 $(srcdir)/cally/cally-texture.c \
568 $(srcdir)/cally/cally-util.c \
571 cally_sources_private = \
572 $(srcdir)/cally/cally-actor-private.h \
575 cally_includedir = $(clutter_base_includedir)/cally
576 cally_include_HEADERS = $(cally_sources_h)
578 pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
579 EXTRA_DIST += cally/cally.pc.in
581 # general build rules:
582 # you should not need to modify anything below this point
584 # glib-genmarshal rules
585 glib_marshal_list = clutter-marshal.list
586 glib_marshal_prefix = _clutter_marshal
587 include $(top_srcdir)/build/autotools/Makefile.am.marshal
590 glib_enum_h = clutter-enum-types.h
591 glib_enum_c = clutter-enum-types.c
592 glib_enum_headers = $(source_h) $(backend_source_h)
593 include $(top_srcdir)/build/autotools/Makefile.am.enums
595 # backend-specific pkg-config file
596 clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
597 $(QUIET_GEN)cp -f $< $(@F)
599 pc_files += clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc
601 pkgconfigdir = $(libdir)/pkgconfig
602 pkgconfig_DATA = $(pc_files)
603 DISTCLEANFILES += $(pc_files)
605 clutter_include_HEADERS = $(source_h) $(top_srcdir)/clutter/clutter.h
606 nodist_clutter_include_HEADERS = \
607 $(top_builddir)/clutter/clutter-config.h \
608 $(top_builddir)/clutter/clutter-version.h \
611 lib_LTLIBRARIES += libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
613 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \
615 $(CLUTTER_PROFILE_LIBS)
617 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
620 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
621 $(backend_source_c) \
622 $(backend_source_h) \
623 $(backend_source_c_priv) \
624 $(backend_source_h_priv) \
631 $(cally_sources_private) \
634 nodist_libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
635 $(backend_source_built) \
639 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LDFLAGS = \
640 $(CLUTTER_LINK_FLAGS) \
641 $(CLUTTER_LT_LDFLAGS) \
644 -export-symbols-regex "^(clutter|cally).*" \
646 $(win32_resources_ldflag) \
649 # gobject-introspection rules
650 -include $(INTROSPECTION_MAKEFILE)
652 if HAVE_INTROSPECTION
653 Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la Makefile
655 Clutter_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Clutter
656 Clutter_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
657 Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
658 Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = $(clutter_include_HEADERS) $(nodist_clutter_include_HEADERS) $(source_c) $(built_source_c)
659 Clutter_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
660 Clutter_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = GL-1.0 GObject-2.0 cairo-1.0 Cogl-1.0 CoglPango-1.0 Atk-1.0 Json-1.0
661 Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
663 --c-include='clutter/clutter.h' \
664 --pkg-export=clutter-@CLUTTER_API_VERSION@
666 INTROSPECTION_GIRS += Clutter-@CLUTTER_API_VERSION@.gir
668 Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
670 Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
671 Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
672 Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
673 Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
674 Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
675 Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
676 --identifier-prefix=Cally \
677 --symbol-prefix=cally \
678 --c-include='cally/cally.h' \
679 --pkg-export=cally-@CLUTTER_API_VERSION@ \
680 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
682 INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
685 ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
687 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
688 --identifier-prefix=ClutterX11 \
689 --symbol-prefix=clutter_x11 \
690 --c-include='clutter/x11/clutter-x11.h' \
691 --pkg-export=clutter-x11-@CLUTTER_API_VERSION@ \
692 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
693 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
694 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
695 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
696 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
698 INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
701 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
702 # install anything - we need to install inside our prefix.
703 girdir = $(datadir)/gir-1.0
704 gir_DATA = $(INTROSPECTION_GIRS)
706 typelibdir = $(libdir)/girepository-1.0
707 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
709 CLEANFILES += $(gir_DATA) $(typelib_DATA)
710 endif # HAVE_INTROSPECTION
713 gcov_sources = $(source_c) $(backend_source_c)
714 include $(top_srcdir)/build/autotools/Makefile.am.gcov