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-gesture-action.h \
99 $(srcdir)/clutter-group.h \
100 $(srcdir)/clutter-input-device.h \
101 $(srcdir)/clutter-interval.h \
102 $(srcdir)/clutter-keysyms.h \
103 $(srcdir)/clutter-keysyms-compat.h \
104 $(srcdir)/clutter-layout-manager.h \
105 $(srcdir)/clutter-layout-meta.h \
106 $(srcdir)/clutter-list-model.h \
107 $(srcdir)/clutter-main.h \
108 $(srcdir)/clutter-media.h \
109 $(srcdir)/clutter-model.h \
110 $(srcdir)/clutter-offscreen-effect.h \
111 $(srcdir)/clutter-page-turn-effect.h \
112 $(srcdir)/clutter-path-constraint.h \
113 $(srcdir)/clutter-path.h \
114 $(srcdir)/clutter-rectangle.h \
115 $(srcdir)/clutter-score.h \
116 $(srcdir)/clutter-script.h \
117 $(srcdir)/clutter-scriptable.h \
118 $(srcdir)/clutter-settings.h \
119 $(srcdir)/clutter-shader.h \
120 $(srcdir)/clutter-shader-effect.h \
121 $(srcdir)/clutter-shader-types.h \
122 $(srcdir)/clutter-swipe-action.h \
123 $(srcdir)/clutter-snap-constraint.h \
124 $(srcdir)/clutter-stage.h \
125 $(srcdir)/clutter-stage-manager.h \
126 $(srcdir)/clutter-stage-window.h \
127 $(srcdir)/clutter-state.h \
128 $(srcdir)/clutter-table-layout.h \
129 $(srcdir)/clutter-texture.h \
130 $(srcdir)/clutter-text.h \
131 $(srcdir)/clutter-timeline.h \
132 $(srcdir)/clutter-timeout-pool.h \
133 $(srcdir)/clutter-types.h \
134 $(srcdir)/clutter-units.h \
135 $(srcdir)/clutter-util.h \
139 $(srcdir)/clutter-action.c \
140 $(srcdir)/clutter-actor-box.c \
141 $(srcdir)/clutter-actor-meta.c \
142 $(srcdir)/clutter-actor.c \
143 $(srcdir)/clutter-align-constraint.c \
144 $(srcdir)/clutter-alpha.c \
145 $(srcdir)/clutter-animatable.c \
146 $(srcdir)/clutter-animation.c \
147 $(srcdir)/clutter-animator.c \
148 $(srcdir)/clutter-backend.c \
149 $(srcdir)/clutter-behaviour.c \
150 $(srcdir)/clutter-behaviour-depth.c \
151 $(srcdir)/clutter-behaviour-ellipse.c \
152 $(srcdir)/clutter-behaviour-opacity.c \
153 $(srcdir)/clutter-behaviour-path.c \
154 $(srcdir)/clutter-behaviour-rotate.c \
155 $(srcdir)/clutter-behaviour-scale.c \
156 $(srcdir)/clutter-bezier.c \
157 $(srcdir)/clutter-bind-constraint.c \
158 $(srcdir)/clutter-binding-pool.c \
159 $(srcdir)/clutter-bin-layout.c \
160 $(srcdir)/clutter-blur-effect.c \
161 $(srcdir)/clutter-box.c \
162 $(srcdir)/clutter-box-layout.c \
163 $(srcdir)/clutter-cairo-texture.c \
164 $(srcdir)/clutter-child-meta.c \
165 $(srcdir)/clutter-click-action.c \
166 $(srcdir)/clutter-clone.c \
167 $(srcdir)/clutter-color.c \
168 $(srcdir)/clutter-colorize-effect.c \
169 $(srcdir)/clutter-constraint.c \
170 $(srcdir)/clutter-container.c \
171 $(srcdir)/clutter-deform-effect.c \
172 $(srcdir)/clutter-desaturate-effect.c \
173 $(srcdir)/clutter-device-manager.c \
174 $(srcdir)/clutter-drag-action.c \
175 $(srcdir)/clutter-effect.c \
176 $(srcdir)/clutter-event.c \
177 $(srcdir)/clutter-feature.c \
178 $(srcdir)/clutter-fixed.c \
179 $(srcdir)/clutter-fixed-layout.c \
180 $(srcdir)/clutter-flatten-effect.c \
181 $(srcdir)/clutter-flow-layout.c \
182 $(srcdir)/clutter-frame-source.c \
183 $(srcdir)/clutter-gesture-action.c \
184 $(srcdir)/clutter-group.c \
185 $(srcdir)/clutter-input-device.c \
186 $(srcdir)/clutter-interval.c \
187 $(srcdir)/clutter-keysyms-table.c \
188 $(srcdir)/clutter-layout-manager.c \
189 $(srcdir)/clutter-layout-meta.c \
190 $(srcdir)/clutter-list-model.c \
191 $(srcdir)/clutter-main.c \
192 $(srcdir)/clutter-master-clock.c \
193 $(srcdir)/clutter-media.c \
194 $(srcdir)/clutter-model.c \
195 $(srcdir)/clutter-offscreen-effect.c \
196 $(srcdir)/clutter-page-turn-effect.c \
197 $(srcdir)/clutter-path-constraint.c \
198 $(srcdir)/clutter-path.c \
199 $(srcdir)/clutter-rectangle.c \
200 $(srcdir)/clutter-score.c \
201 $(srcdir)/clutter-script.c \
202 $(srcdir)/clutter-script-parser.c \
203 $(srcdir)/clutter-scriptable.c \
204 $(srcdir)/clutter-settings.c \
205 $(srcdir)/clutter-shader.c \
206 $(srcdir)/clutter-shader-effect.c \
207 $(srcdir)/clutter-shader-types.c \
208 $(srcdir)/clutter-swipe-action.c \
209 $(srcdir)/clutter-snap-constraint.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-effect-private.h \
233 $(srcdir)/clutter-event-translator.h \
234 $(srcdir)/clutter-event-private.h \
235 $(srcdir)/clutter-flatten-effect.h \
236 $(srcdir)/clutter-id-pool.h \
237 $(srcdir)/clutter-master-clock.h \
238 $(srcdir)/clutter-model-private.h \
239 $(srcdir)/clutter-offscreen-effect-private.h \
240 $(srcdir)/clutter-paint-volume-private.h \
241 $(srcdir)/clutter-private.h \
242 $(srcdir)/clutter-profile.h \
243 $(srcdir)/clutter-script-private.h \
244 $(srcdir)/clutter-stage-manager-private.h \
245 $(srcdir)/clutter-stage-private.h \
246 $(srcdir)/clutter-timeout-interval.h \
249 # private source code; these should not be introspected
251 $(srcdir)/clutter-event-translator.c \
252 $(srcdir)/clutter-id-pool.c \
253 $(srcdir)/clutter-profile.c \
254 $(srcdir)/clutter-timeout-interval.c \
259 clutter-enum-types.c \
265 clutter-enum-types.h \
270 DISTCLEANFILES += clutter-config.h
271 EXTRA_DIST += clutter-config.h.in
274 DISTCLEANFILES += clutter-version.h
275 EXTRA_DIST += clutter-version.h.in
277 # key symbol update script
278 EXTRA_DIST += clutter-keysyms-update.pl
280 pc_files += clutter-$(CLUTTER_API_VERSION).pc
282 # backends source listings
284 # backend_source_c := source code
285 # backend_source_h := installed public headers
286 # backend_source_c_priv := source that should not be scanned by g-i
287 # backend_source_h_priv := private headers
288 # backend_source_built := built sources
292 backend_source_c_priv =
293 backend_source_h_priv =
294 backend_source_built =
298 $(srcdir)/x11/clutter-backend-x11.c \
299 $(srcdir)/x11/clutter-device-manager-core-x11.c \
300 $(srcdir)/x11/clutter-event-x11.c \
301 $(srcdir)/x11/clutter-input-device-core-x11.c \
302 $(srcdir)/x11/clutter-keymap-x11.c \
303 $(srcdir)/x11/clutter-stage-x11.c \
304 $(srcdir)/x11/clutter-x11-texture-pixmap.c \
308 $(srcdir)/x11/clutter-x11.h \
309 $(srcdir)/x11/clutter-x11-texture-pixmap.h \
312 x11_source_h_priv = \
313 $(srcdir)/x11/clutter-backend-x11.h \
314 $(srcdir)/x11/clutter-device-manager-core-x11.h \
315 $(srcdir)/x11/clutter-input-device-core-x11.h \
316 $(srcdir)/x11/clutter-keymap-x11.h \
317 $(srcdir)/x11/clutter-settings-x11.h \
318 $(srcdir)/x11/clutter-stage-x11.h \
321 x11_source_c_priv = \
322 $(srcdir)/x11/xsettings/xsettings-client.c \
323 $(srcdir)/x11/xsettings/xsettings-client.h \
324 $(srcdir)/x11/xsettings/xsettings-common.c \
325 $(srcdir)/x11/xsettings/xsettings-common.h \
330 $(srcdir)/x11/clutter-device-manager-xi2.c \
331 $(srcdir)/x11/clutter-input-device-xi2.c \
334 x11_source_h_priv += \
335 $(srcdir)/x11/clutter-device-manager-xi2.h \
336 $(srcdir)/x11/clutter-input-device-xi2.h \
341 backend_source_h += $(x11_source_h)
342 backend_source_c += $(x11_source_c)
343 backend_source_h_priv += $(x11_source_h_priv)
344 backend_source_c_priv += $(x11_source_c_priv)
346 # the list of files we want to introspect on X11
347 x11_introspection = $(x11_source_c) $(x11_source_h)
349 # pkg-config file for the X11 meta-backend
350 clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
351 $(QUIET_GEN)cp -f $< $(@F)
353 pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
355 clutterx11_includedir = $(clutter_includedir)/x11
356 clutterx11_include_HEADERS = $(x11_source_h)
361 $(srcdir)/glx/clutter-backend-glx.c \
362 $(srcdir)/glx/clutter-glx-texture-pixmap.c \
363 $(srcdir)/glx/clutter-stage-glx.c \
367 $(srcdir)/glx/clutter-glx-texture-pixmap.h \
368 $(srcdir)/glx/clutter-glx.h \
371 glx_source_h_priv = \
372 $(srcdir)/glx/clutter-backend-glx.h \
373 $(srcdir)/glx/clutter-stage-glx.h \
377 backend_source_h += $(glx_source_h)
378 backend_source_c += $(glx_source_c)
379 backend_source_h_priv += $(glx_source_h_priv)
381 # XXX - this is another hack; we installed glx headers under includedir/glx
382 # instead of using the same directory.
383 clutterglx_includedir = $(clutter_includedir)/glx
384 clutterglx_include_HEADERS = $(glx_source_h)
387 # Windows backend rules
389 $(srcdir)/win32/clutter-backend-win32.c \
390 $(srcdir)/win32/clutter-device-manager-win32.c \
391 $(srcdir)/win32/clutter-event-win32.c \
392 $(srcdir)/win32/clutter-stage-win32.c \
396 $(srcdir)/win32/clutter-win32.h \
399 win32_source_h_priv = \
400 $(srcdir)/win32/clutter-backend-win32.h \
401 $(srcdir)/win32/clutter-device-manager-win32.h \
402 $(srcdir)/win32/clutter-stage-win32.h \
406 # Ideally this resources stuff would go in win32/ but libtool doesn't
407 # seem to pass on the -Wl argument when linking a convenience library
408 # so we need to do it here as part of linking the dll. libtool also
409 # won't let you link against the .o directly because it wants you to
410 # link against libtool objects for dynamic libraries.
413 $(WINDRES) -I$(srcdir)/win32 $< $@
415 win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
417 win32_resources = win32/resources.o
418 win32_resources_ldflag = -Wl,win32/resources.o
420 backend_source_h += $(win32_source_h)
421 backend_source_c += $(win32_source_c)
422 backend_source_h_priv += $(win32_source_h_priv)
424 clutterwin_includedir = $(clutter_includedir)/win32
425 clutterwin_include_HEADERS = $(win32_source_h)
426 endif # SUPPORT_WIN32
429 $(srcdir)/win32/invisible-cursor.cur \
430 $(srcdir)/win32/resources.rc \
435 $(srcdir)/egl/clutter-egl-headers.h \
436 $(srcdir)/egl/clutter-egl.h \
440 $(srcdir)/egl/clutter-backend-egl.c \
441 $(srcdir)/egl/clutter-stage-egl.c \
444 egl_source_h_priv = \
445 $(srcdir)/egl/clutter-backend-egl.h \
446 $(srcdir)/egl/clutter-stage-egl.h \
451 egl_tslib_c = $(srcdir)/egl/clutter-event-tslib.c
454 $(srcdir)/evdev/clutter-xkb-utils.c \
455 $(srcdir)/evdev/clutter-device-manager-evdev.c \
456 $(srcdir)/evdev/clutter-input-device-evdev.c \
459 $(srcdir)/evdev/clutter-xkb-utils.h \
460 $(srcdir)/evdev/clutter-device-manager-evdev.h \
461 $(srcdir)/evdev/clutter-input-device-evdev.h \
464 egl_cex_h = egl/clutter-cex100.h
465 BUILT_SOURCES += egl/clutter-cex100.h
466 EXTRA_DIST += $(srcdir)/egl/clutter-cex100.h.in
471 egl_source_c_priv += $(egl_tslib_c)
472 endif # SUPPORT_TSLIB
475 egl_source_c_priv += $(evdev_c_priv)
476 egl_source_h_priv += $(evdev_h_priv)
477 endif # SUPPORT_EVDEV
480 egl_source_h += $(egl_cex_h)
481 endif # SUPPORT_CEX100
483 backend_source_h += $(egl_source_h)
484 backend_source_c += $(egl_source_c)
485 backend_source_h_priv += $(egl_source_h_priv)
486 backend_source_c_priv += $(egl_source_c_priv)
488 clutteregl_includedir = $(clutter_includedir)/egl
489 clutteregl_include_HEADERS = $(egl_source_h)
494 $(srcdir)/osx/clutter-backend-osx.c \
495 $(srcdir)/osx/clutter-stage-osx.c \
498 osx_source_h = $(srcdir)/osx/clutter-osx.h
500 osx_source_h_priv = \
501 $(srcdir)/osx/clutter-backend-osx.h \
502 $(srcdir)/osx/clutter-event-loop-osx.h \
503 $(srcdir)/osx/clutter-stage-osx.h \
504 $(srcdir)/osx/clutter-device-manager-osx.h \
507 osx_source_c_priv = \
508 $(srcdir)/osx/clutter-event-loop-osx.c \
509 $(srcdir)/osx/clutter-event-osx.c \
510 $(srcdir)/osx/clutter-device-manager-osx.c \
514 # we need to tell the compiler that part of our code base is
516 AM_CFLAGS += -xobjective-c
518 backend_source_h += $(osx_source_h)
519 backend_source_c += $(osx_source_c)
520 backend_source_h_priv += $(osx_source_h_priv)
521 backend_source_c_priv += $(osx_source_c_priv)
523 clutterosx_includedir = $(clutter_includedir)/osx
524 clutterosx_include_HEADERS = $(osx_source_h)
527 # Wayland backend rules
529 backend_source_h += \
530 $(srcdir)/wayland/clutter-wayland.h
532 backend_source_h_priv += \
533 $(srcdir)/evdev/clutter-xkb-utils.h \
534 $(srcdir)/wayland/clutter-backend-wayland.h \
535 $(srcdir)/wayland/clutter-stage-wayland.h
537 backend_source_c += \
538 $(srcdir)/evdev/clutter-xkb-utils.c \
539 $(srcdir)/wayland/clutter-backend-wayland.c \
540 $(srcdir)/wayland/clutter-stage-wayland.c \
541 $(srcdir)/wayland/clutter-event-wayland.c \
542 $(srcdir)/wayland/clutter-input-device-wayland.c
544 clutterwayland_includedir = $(clutter_includedir)/wayland
545 clutterwayland_include_HEADERS = $(wayland_source_h)
546 endif # SUPPORT_WAYLAND
550 $(srcdir)/cally/cally-actor.h \
551 $(srcdir)/cally/cally-clone.h \
552 $(srcdir)/cally/cally-factory.h \
553 $(srcdir)/cally/cally-group.h \
554 $(srcdir)/cally/cally.h \
555 $(srcdir)/cally/cally-main.h \
556 $(srcdir)/cally/cally-rectangle.h \
557 $(srcdir)/cally/cally-root.h \
558 $(srcdir)/cally/cally-stage.h \
559 $(srcdir)/cally/cally-text.h \
560 $(srcdir)/cally/cally-texture.h \
561 $(srcdir)/cally/cally-util.h \
565 $(srcdir)/cally/cally-actor.c \
566 $(srcdir)/cally/cally.c \
567 $(srcdir)/cally/cally-clone.c \
568 $(srcdir)/cally/cally-group.c \
569 $(srcdir)/cally/cally-rectangle.c \
570 $(srcdir)/cally/cally-root.c \
571 $(srcdir)/cally/cally-stage.c \
572 $(srcdir)/cally/cally-text.c \
573 $(srcdir)/cally/cally-texture.c \
574 $(srcdir)/cally/cally-util.c \
577 cally_sources_private = \
578 $(srcdir)/cally/cally-actor-private.h \
581 cally_includedir = $(clutter_base_includedir)/cally
582 cally_include_HEADERS = $(cally_sources_h)
584 pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
585 EXTRA_DIST += cally/cally.pc.in
587 # general build rules:
588 # you should not need to modify anything below this point
590 # glib-genmarshal rules
591 glib_marshal_list = clutter-marshal.list
592 glib_marshal_prefix = _clutter_marshal
593 include $(top_srcdir)/build/autotools/Makefile.am.marshal
596 glib_enum_h = clutter-enum-types.h
597 glib_enum_c = clutter-enum-types.c
598 glib_enum_headers = $(source_h) $(backend_source_h)
599 include $(top_srcdir)/build/autotools/Makefile.am.enums
601 # backend-specific pkg-config file
602 clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
603 $(QUIET_GEN)cp -f $< $(@F)
605 pc_files += clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc
607 pkgconfigdir = $(libdir)/pkgconfig
608 pkgconfig_DATA = $(pc_files)
609 DISTCLEANFILES += $(pc_files)
611 clutter_include_HEADERS = $(source_h) $(top_srcdir)/clutter/clutter.h
612 nodist_clutter_include_HEADERS = \
613 $(top_builddir)/clutter/clutter-config.h \
614 $(top_builddir)/clutter/clutter-version.h \
617 lib_LTLIBRARIES += libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
619 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \
621 $(CLUTTER_PROFILE_LIBS)
623 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
626 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
627 $(backend_source_c) \
628 $(backend_source_h) \
629 $(backend_source_c_priv) \
630 $(backend_source_h_priv) \
637 $(cally_sources_private) \
640 nodist_libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
641 $(backend_source_built) \
645 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LDFLAGS = \
646 $(CLUTTER_LINK_FLAGS) \
647 $(CLUTTER_LT_LDFLAGS) \
650 -export-symbols-regex "^(clutter|cally).*" \
652 $(win32_resources_ldflag) \
655 # gobject-introspection rules
656 -include $(INTROSPECTION_MAKEFILE)
658 if HAVE_INTROSPECTION
659 Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la Makefile
661 Clutter_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Clutter
662 Clutter_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
663 Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
664 Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = $(clutter_include_HEADERS) $(nodist_clutter_include_HEADERS) $(source_c) $(built_source_c)
665 Clutter_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
666 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
667 Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
669 --c-include='clutter/clutter.h' \
670 --pkg-export=clutter-@CLUTTER_API_VERSION@
672 INTROSPECTION_GIRS += Clutter-@CLUTTER_API_VERSION@.gir
674 Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
676 Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
677 Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
678 Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
679 Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
680 Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
681 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/Clutter-@CLUTTER_API_VERSION@.gir
688 INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
691 ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
693 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
694 --identifier-prefix=ClutterX11 \
695 --symbol-prefix=clutter_x11 \
696 --c-include='clutter/x11/clutter-x11.h' \
697 --pkg-export=clutter-x11-@CLUTTER_API_VERSION@ \
698 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
699 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
700 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
701 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
702 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
704 INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
707 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
708 # install anything - we need to install inside our prefix.
709 girdir = $(datadir)/gir-1.0
710 gir_DATA = $(INTROSPECTION_GIRS)
712 typelibdir = $(libdir)/girepository-1.0
713 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
715 CLEANFILES += $(gir_DATA) $(typelib_DATA)
716 endif # HAVE_INTROSPECTION
719 gcov_sources = $(source_c) $(backend_source_c)
720 include $(top_srcdir)/build/autotools/Makefile.am.gcov