1 include $(top_srcdir)/build/autotools/Makefile.am.silent
16 -I$(top_srcdir)/clutter \
17 -I$(top_srcdir)/clutter/deprecated \
18 -I$(top_srcdir)/clutter/cally \
20 -I$(top_builddir)/clutter \
24 -DCLUTTER_PREFIX=\""$(prefix)"\" \
25 -DCLUTTER_LIBDIR=\""$(libdir)"\" \
26 -DCLUTTER_DATADIR=\""$(datadir)"\" \
27 -DCLUTTER_LOCALEDIR=\""$(localedir)"\" \
28 -DCLUTTER_SYSCONFDIR=\""$(sysconfdir)"\" \
29 -DCLUTTER_COMPILATION=1 \
30 -DCOGL_ENABLE_EXPERIMENTAL_API \
31 -DG_LOG_DOMAIN=\"Clutter\" \
32 $(CLUTTER_DEPRECATED_CFLAGS) \
33 $(CLUTTER_DEBUG_CFLAGS) \
34 $(CLUTTER_PROFILE_CFLAGS) \
37 AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS) $(GCOV_CFLAGS)
39 # these are the gir files we generate using g-ir-scanner
42 # the base include path for headers
43 clutter_base_includedir = $(includedir)/clutter-$(CLUTTER_API_VERSION)
44 clutter_includedir = $(clutter_base_includedir)/clutter
45 clutter_deprecateddir = $(clutter_base_includedir)/clutter/deprecated
50 # common sources - please, keep these sorted alphabetically
52 $(srcdir)/clutter-action.h \
53 $(srcdir)/clutter-actor-meta.h \
54 $(srcdir)/clutter-actor.h \
55 $(srcdir)/clutter-align-constraint.h \
56 $(srcdir)/clutter-alpha.h \
57 $(srcdir)/clutter-animatable.h \
58 $(srcdir)/clutter-animation.h \
59 $(srcdir)/clutter-animator.h \
60 $(srcdir)/clutter-backend.h \
61 $(srcdir)/clutter-bind-constraint.h \
62 $(srcdir)/clutter-binding-pool.h \
63 $(srcdir)/clutter-bin-layout.h \
64 $(srcdir)/clutter-blur-effect.h \
65 $(srcdir)/clutter-box.h \
66 $(srcdir)/clutter-box-layout.h \
67 $(srcdir)/clutter-cairo-texture.h \
68 $(srcdir)/clutter-child-meta.h \
69 $(srcdir)/clutter-click-action.h \
70 $(srcdir)/clutter-clone.h \
71 $(srcdir)/clutter-color-static.h \
72 $(srcdir)/clutter-color.h \
73 $(srcdir)/clutter-colorize-effect.h \
74 $(srcdir)/clutter-constraint.h \
75 $(srcdir)/clutter-container.h \
76 $(srcdir)/clutter-deform-effect.h \
77 $(srcdir)/clutter-deprecated.h \
78 $(srcdir)/clutter-desaturate-effect.h \
79 $(srcdir)/clutter-device-manager.h \
80 $(srcdir)/clutter-drag-action.h \
81 $(srcdir)/clutter-drop-action.h \
82 $(srcdir)/clutter-effect.h \
83 $(srcdir)/clutter-enums.h \
84 $(srcdir)/clutter-event.h \
85 $(srcdir)/clutter-feature.h \
86 $(srcdir)/clutter-fixed-layout.h \
87 $(srcdir)/clutter-flow-layout.h \
88 $(srcdir)/clutter-gesture-action.h \
89 $(srcdir)/clutter-group.h \
90 $(srcdir)/clutter-input-device.h \
91 $(srcdir)/clutter-interval.h \
92 $(srcdir)/clutter-keysyms.h \
93 $(srcdir)/clutter-layout-manager.h \
94 $(srcdir)/clutter-layout-meta.h \
95 $(srcdir)/clutter-list-model.h \
96 $(srcdir)/clutter-main.h \
97 $(srcdir)/clutter-media.h \
98 $(srcdir)/clutter-model.h \
99 $(srcdir)/clutter-offscreen-effect.h \
100 $(srcdir)/clutter-page-turn-effect.h \
101 $(srcdir)/clutter-path-constraint.h \
102 $(srcdir)/clutter-path.h \
103 $(srcdir)/clutter-rectangle.h \
104 $(srcdir)/clutter-script.h \
105 $(srcdir)/clutter-scriptable.h \
106 $(srcdir)/clutter-settings.h \
107 $(srcdir)/clutter-shader-effect.h \
108 $(srcdir)/clutter-shader-types.h \
109 $(srcdir)/clutter-swipe-action.h \
110 $(srcdir)/clutter-snap-constraint.h \
111 $(srcdir)/clutter-stage.h \
112 $(srcdir)/clutter-stage-manager.h \
113 $(srcdir)/clutter-stage-window.h \
114 $(srcdir)/clutter-state.h \
115 $(srcdir)/clutter-table-layout.h \
116 $(srcdir)/clutter-texture.h \
117 $(srcdir)/clutter-text.h \
118 $(srcdir)/clutter-timeline.h \
119 $(srcdir)/clutter-types.h \
120 $(srcdir)/clutter-units.h \
121 $(srcdir)/clutter-util.h \
125 $(srcdir)/clutter-action.c \
126 $(srcdir)/clutter-actor-box.c \
127 $(srcdir)/clutter-actor-meta.c \
128 $(srcdir)/clutter-actor.c \
129 $(srcdir)/clutter-align-constraint.c \
130 $(srcdir)/clutter-alpha.c \
131 $(srcdir)/clutter-animatable.c \
132 $(srcdir)/clutter-animation.c \
133 $(srcdir)/clutter-animator.c \
134 $(srcdir)/clutter-backend.c \
135 $(srcdir)/clutter-bezier.c \
136 $(srcdir)/clutter-bind-constraint.c \
137 $(srcdir)/clutter-binding-pool.c \
138 $(srcdir)/clutter-bin-layout.c \
139 $(srcdir)/clutter-blur-effect.c \
140 $(srcdir)/clutter-box.c \
141 $(srcdir)/clutter-box-layout.c \
142 $(srcdir)/clutter-cairo-texture.c \
143 $(srcdir)/clutter-child-meta.c \
144 $(srcdir)/clutter-click-action.c \
145 $(srcdir)/clutter-clone.c \
146 $(srcdir)/clutter-color.c \
147 $(srcdir)/clutter-colorize-effect.c \
148 $(srcdir)/clutter-constraint.c \
149 $(srcdir)/clutter-container.c \
150 $(srcdir)/clutter-deform-effect.c \
151 $(srcdir)/clutter-desaturate-effect.c \
152 $(srcdir)/clutter-device-manager.c \
153 $(srcdir)/clutter-drag-action.c \
154 $(srcdir)/clutter-drop-action.c \
155 $(srcdir)/clutter-effect.c \
156 $(srcdir)/clutter-event.c \
157 $(srcdir)/clutter-feature.c \
158 $(srcdir)/clutter-fixed-layout.c \
159 $(srcdir)/clutter-flatten-effect.c \
160 $(srcdir)/clutter-flow-layout.c \
161 $(srcdir)/clutter-gesture-action.c \
162 $(srcdir)/clutter-group.c \
163 $(srcdir)/clutter-input-device.c \
164 $(srcdir)/clutter-interval.c \
165 $(srcdir)/clutter-keysyms-table.c \
166 $(srcdir)/clutter-layout-manager.c \
167 $(srcdir)/clutter-layout-meta.c \
168 $(srcdir)/clutter-list-model.c \
169 $(srcdir)/clutter-main.c \
170 $(srcdir)/clutter-master-clock.c \
171 $(srcdir)/clutter-media.c \
172 $(srcdir)/clutter-model.c \
173 $(srcdir)/clutter-offscreen-effect.c \
174 $(srcdir)/clutter-page-turn-effect.c \
175 $(srcdir)/clutter-path-constraint.c \
176 $(srcdir)/clutter-path.c \
177 $(srcdir)/clutter-rectangle.c \
178 $(srcdir)/clutter-script.c \
179 $(srcdir)/clutter-script-parser.c \
180 $(srcdir)/clutter-scriptable.c \
181 $(srcdir)/clutter-settings.c \
182 $(srcdir)/clutter-shader-effect.c \
183 $(srcdir)/clutter-shader-types.c \
184 $(srcdir)/clutter-swipe-action.c \
185 $(srcdir)/clutter-snap-constraint.c \
186 $(srcdir)/clutter-stage.c \
187 $(srcdir)/clutter-stage-manager.c \
188 $(srcdir)/clutter-stage-window.c \
189 $(srcdir)/clutter-state.c \
190 $(srcdir)/clutter-table-layout.c \
191 $(srcdir)/clutter-texture.c \
192 $(srcdir)/clutter-text.c \
193 $(srcdir)/clutter-timeline.c \
194 $(srcdir)/clutter-units.c \
195 $(srcdir)/clutter-util.c \
196 $(srcdir)/clutter-paint-volume.c \
199 # private headers; these should not be distributed or introspected
201 $(srcdir)/clutter-actor-meta-private.h \
202 $(srcdir)/clutter-actor-private.h \
203 $(srcdir)/clutter-backend-private.h \
204 $(srcdir)/clutter-bezier.h \
205 $(srcdir)/clutter-debug.h \
206 $(srcdir)/clutter-device-manager-private.h \
207 $(srcdir)/clutter-effect-private.h \
208 $(srcdir)/clutter-event-translator.h \
209 $(srcdir)/clutter-event-private.h \
210 $(srcdir)/clutter-flatten-effect.h \
211 $(srcdir)/clutter-id-pool.h \
212 $(srcdir)/clutter-master-clock.h \
213 $(srcdir)/clutter-model-private.h \
214 $(srcdir)/clutter-offscreen-effect-private.h \
215 $(srcdir)/clutter-paint-volume-private.h \
216 $(srcdir)/clutter-private.h \
217 $(srcdir)/clutter-profile.h \
218 $(srcdir)/clutter-script-private.h \
219 $(srcdir)/clutter-settings-private.h \
220 $(srcdir)/clutter-stage-manager-private.h \
221 $(srcdir)/clutter-stage-private.h \
224 # private source code; these should not be introspected
226 $(srcdir)/clutter-event-translator.c \
227 $(srcdir)/clutter-id-pool.c \
228 $(srcdir)/clutter-profile.c \
231 # deprecated installed headers
233 $(srcdir)/deprecated/clutter-actor.h \
234 $(srcdir)/deprecated/clutter-backend.h \
235 $(srcdir)/deprecated/clutter-behaviour.h \
236 $(srcdir)/deprecated/clutter-behaviour-depth.h \
237 $(srcdir)/deprecated/clutter-behaviour-ellipse.h \
238 $(srcdir)/deprecated/clutter-behaviour-opacity.h \
239 $(srcdir)/deprecated/clutter-behaviour-path.h \
240 $(srcdir)/deprecated/clutter-behaviour-rotate.h \
241 $(srcdir)/deprecated/clutter-behaviour-scale.h \
242 $(srcdir)/deprecated/clutter-fixed.h \
243 $(srcdir)/deprecated/clutter-frame-source.h \
244 $(srcdir)/deprecated/clutter-group.h \
245 $(srcdir)/deprecated/clutter-keysyms.h \
246 $(srcdir)/deprecated/clutter-main.h \
247 $(srcdir)/deprecated/clutter-timeout-pool.h \
248 $(srcdir)/deprecated/clutter-score.h \
249 $(srcdir)/deprecated/clutter-shader.h \
252 # deprecated source code
254 $(srcdir)/deprecated/clutter-behaviour.c \
255 $(srcdir)/deprecated/clutter-behaviour-depth.c \
256 $(srcdir)/deprecated/clutter-behaviour-ellipse.c \
257 $(srcdir)/deprecated/clutter-behaviour-opacity.c \
258 $(srcdir)/deprecated/clutter-behaviour-path.c \
259 $(srcdir)/deprecated/clutter-behaviour-rotate.c \
260 $(srcdir)/deprecated/clutter-behaviour-scale.c \
261 $(srcdir)/deprecated/clutter-fixed.c \
262 $(srcdir)/deprecated/clutter-frame-source.c \
263 $(srcdir)/deprecated/clutter-timeout-pool.c \
264 $(srcdir)/deprecated/clutter-score.c \
265 $(srcdir)/deprecated/clutter-shader.c \
268 # deprecated private headers; these should not be installed
269 deprecated_h_priv = \
270 $(srcdir)/deprecated/clutter-timeout-interval.h \
273 # deprecated private source code; these should not be introspected
274 deprecated_c_priv = \
275 $(srcdir)/deprecated/clutter-timeout-interval.c \
280 clutter-enum-types.c \
286 clutter-enum-types.h \
291 DISTCLEANFILES += clutter-config.h
292 EXTRA_DIST += clutter-config.h.in
295 DISTCLEANFILES += clutter-version.h
296 EXTRA_DIST += clutter-version.h.in
298 # key symbol update script
299 EXTRA_DIST += clutter-keysyms-update.pl
301 pc_files += clutter-$(CLUTTER_API_VERSION).pc
303 # in order to be compatible with Clutter < 1.10, when we shipped a single
304 # shared library whose name was determined by the single backend it
305 # supported, we need to install symbolic links so that existing applications
306 # using Clutter won't break in the Brave New World of multi-backend support
307 # in the same shared object.
310 # backends source listings
312 # backend_source_c := source code
313 # backend_source_h := installed public headers
314 # backend_source_c_priv := source that should not be scanned by g-i
315 # backend_source_h_priv := private headers
316 # backend_source_built := built sources
320 backend_source_c_priv =
321 backend_source_h_priv =
322 backend_source_built =
326 $(srcdir)/x11/clutter-backend-x11.c \
327 $(srcdir)/x11/clutter-device-manager-core-x11.c \
328 $(srcdir)/x11/clutter-event-x11.c \
329 $(srcdir)/x11/clutter-input-device-core-x11.c \
330 $(srcdir)/x11/clutter-keymap-x11.c \
331 $(srcdir)/x11/clutter-stage-x11.c \
332 $(srcdir)/x11/clutter-x11-texture-pixmap.c \
336 $(srcdir)/x11/clutter-x11.h \
337 $(srcdir)/x11/clutter-x11-texture-pixmap.h \
340 x11_source_h_priv = \
341 $(srcdir)/x11/clutter-backend-x11.h \
342 $(srcdir)/x11/clutter-device-manager-core-x11.h \
343 $(srcdir)/x11/clutter-input-device-core-x11.h \
344 $(srcdir)/x11/clutter-keymap-x11.h \
345 $(srcdir)/x11/clutter-settings-x11.h \
346 $(srcdir)/x11/clutter-stage-x11.h \
349 x11_source_c_priv = \
350 $(srcdir)/x11/xsettings/xsettings-client.c \
351 $(srcdir)/x11/xsettings/xsettings-client.h \
352 $(srcdir)/x11/xsettings/xsettings-common.c \
353 $(srcdir)/x11/xsettings/xsettings-common.h \
358 $(srcdir)/x11/clutter-device-manager-xi2.c \
359 $(srcdir)/x11/clutter-input-device-xi2.c \
362 x11_source_h_priv += \
363 $(srcdir)/x11/clutter-device-manager-xi2.h \
364 $(srcdir)/x11/clutter-input-device-xi2.h \
369 backend_source_h += $(x11_source_h)
370 backend_source_c += $(x11_source_c)
371 backend_source_h_priv += $(x11_source_h_priv)
372 backend_source_c_priv += $(x11_source_c_priv)
374 # the list of files we want to introspect on X11
375 x11_introspection = $(x11_source_c) $(x11_source_h)
377 clutterx11_includedir = $(clutter_includedir)/x11
378 clutterx11_include_HEADERS = $(x11_source_h)
380 clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
381 $(QUIET_GEN)cp -f $< $(@F)
383 pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
386 # Shared cogl backend files
390 $(srcdir)/cogl/clutter-backend-cogl.c \
391 $(srcdir)/cogl/clutter-stage-cogl.c \
394 cogl_source_h_priv = \
395 $(srcdir)/cogl/clutter-backend-cogl.h \
396 $(srcdir)/cogl/clutter-stage-cogl.h \
402 backend_source_h += $(cogl_source_h)
403 backend_source_c += $(cogl_source_c)
404 backend_source_h_priv += $(cogl_source_h_priv)
405 backend_source_c_priv += $(cogl_source_c_priv)
407 # pkg-config file for the cogl meta-backend
408 clutter-cogl-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
409 $(QUIET_GEN)cp -f $< $(@F)
411 pc_files += clutter-cogl-$(CLUTTER_API_VERSION).pc
414 # For compatibility with the old GLX backend
416 # Note: there wasn't actually anything GLX specific so we can add
417 # the compatibility if clutter supports x11
418 glx_source_c = $(srcdir)/x11/clutter-glx-texture-pixmap.c
419 glx_source_h = $(srcdir)/x11/clutter-glx-texture-pixmap.h \
420 $(srcdir)/x11/clutter-glx.h
423 backend_source_h += $(glx_source_h)
424 backend_source_c += $(glx_source_c)
426 clutterglx_includedir = $(clutter_includedir)/glx
427 clutterglx_include_HEADERS = $(glx_source_h)
429 clutter-glx-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
430 $(QUIET_GEN)cp -f $< $(@F)
432 pc_files += clutter-glx-$(CLUTTER_API_VERSION).pc
435 libclutter-glx-$(CLUTTER_API_VERSION).so \
441 $(srcdir)/gdk/clutter-backend-gdk.c \
442 $(srcdir)/gdk/clutter-device-manager-gdk.c \
443 $(srcdir)/gdk/clutter-input-device-gdk.c \
444 $(srcdir)/gdk/clutter-event-gdk.c \
445 $(srcdir)/gdk/clutter-stage-gdk.c \
449 $(srcdir)/gdk/clutter-gdk.h \
452 gdk_source_h_priv = \
453 $(srcdir)/gdk/clutter-settings-gdk.h \
454 $(srcdir)/gdk/clutter-backend-gdk.h \
455 $(srcdir)/gdk/clutter-device-manager-gdk.h \
456 $(srcdir)/gdk/clutter-input-device-gdk.h \
457 $(srcdir)/gdk/clutter-event-gdk.h \
458 $(srcdir)/gdk/clutter-stage-gdk.h \
462 backend_source_h += $(gdk_source_h)
463 backend_source_c += $(gdk_source_c)
464 backend_source_h_priv += $(gdk_source_h_priv)
466 cluttergdk_includedir = $(clutter_includedir)/gdk
467 cluttergdk_include_HEADERS = $(gdk_source_h)
469 clutter-gdk-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
470 $(QUIET_GEN)cp -f $< $(@F)
472 pc_files += clutter-gdk-$(CLUTTER_API_VERSION).pc
474 gdk_introspection = $(gdk_source_c) $(gdk_source_h)
477 # Windows backend rules
479 $(srcdir)/win32/clutter-backend-win32.c \
480 $(srcdir)/win32/clutter-device-manager-win32.c \
481 $(srcdir)/win32/clutter-event-win32.c \
482 $(srcdir)/win32/clutter-stage-win32.c \
486 $(srcdir)/win32/clutter-win32.h \
489 win32_source_h_priv = \
490 $(srcdir)/win32/clutter-backend-win32.h \
491 $(srcdir)/win32/clutter-device-manager-win32.h \
492 $(srcdir)/win32/clutter-stage-win32.h \
496 # Ideally this resources stuff would go in win32/ but libtool doesn't
497 # seem to pass on the -Wl argument when linking a convenience library
498 # so we need to do it here as part of linking the dll. libtool also
499 # won't let you link against the .o directly because it wants you to
500 # link against libtool objects for dynamic libraries.
503 $(WINDRES) -I$(srcdir)/win32 $< $@
505 win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
507 win32_resources = win32/resources.o
508 win32_resources_ldflag = -Wl,win32/resources.o
510 backend_source_h += $(win32_source_h)
511 backend_source_c += $(win32_source_c)
512 backend_source_h_priv += $(win32_source_h_priv)
514 clutterwin_includedir = $(clutter_includedir)/win32
515 clutterwin_include_HEADERS = $(win32_source_h)
517 clutter-win32-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
518 $(QUIET_GEN)cp -f $< $(@F)
520 pc_files += clutter-win32-$(CLUTTER_API_VERSION).pc
521 endif # SUPPORT_WIN32
524 $(srcdir)/win32/invisible-cursor.cur \
525 $(srcdir)/win32/resources.rc \
530 $(srcdir)/egl/clutter-egl-headers.h \
531 $(srcdir)/egl/clutter-egl.h \
534 egl_source_h_priv = $(srcdir)/egl/clutter-backend-eglnative.h
535 egl_source_c = $(srcdir)/egl/clutter-backend-eglnative.c
538 egl_tslib_h = $(srcdir)/tslib/clutter-event-tslib.h
539 egl_tslib_c = $(srcdir)/tslib/clutter-event-tslib.c
542 $(srcdir)/evdev/clutter-xkb-utils.c \
543 $(srcdir)/evdev/clutter-device-manager-evdev.c \
544 $(srcdir)/evdev/clutter-input-device-evdev.c \
547 $(srcdir)/evdev/clutter-xkb-utils.h \
548 $(srcdir)/evdev/clutter-device-manager-evdev.h \
549 $(srcdir)/evdev/clutter-input-device-evdev.h \
552 cex_h = egl/clutter-cex100.h
553 BUILT_SOURCES += $(cex_h)
554 EXTRA_DIST += $(srcdir)/$(cex_h).in
557 egl_source_c_priv += $(egl_tslib_c)
558 egl_source_h_priv += $(egl_tslib_h)
559 endif # SUPPORT_TSLIB
562 egl_source_c_priv += $(evdev_c_priv)
563 egl_source_h_priv += $(evdev_h_priv)
564 endif # SUPPORT_EVDEV
567 egl_source_h += $(cex_h)
569 clutter-cex100-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
570 $(QUIET_GEN)cp -f $< $(@F)
572 pc_files += clutter-cex100-$(CLUTTER_API_VERSION).pc
575 libclutter-cex100-$(CLUTTER_API_VERSION).so \
577 endif # SUPPORT_CEX100
580 backend_source_h += $(egl_source_h)
581 backend_source_c += $(egl_source_c)
582 backend_source_h_priv += $(egl_source_h_priv)
584 clutteregl_includedir = $(clutter_includedir)/egl
585 clutteregl_include_HEADERS = $(egl_source_h)
587 clutter-egl-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
588 $(QUIET_GEN)cp -f $< $(@F)
590 pc_files += clutter-egl-$(CLUTTER_API_VERSION).pc
595 $(srcdir)/osx/clutter-backend-osx.c \
596 $(srcdir)/osx/clutter-stage-osx.c \
599 osx_source_h = $(srcdir)/osx/clutter-osx.h
601 osx_source_h_priv = \
602 $(srcdir)/osx/clutter-backend-osx.h \
603 $(srcdir)/osx/clutter-event-loop-osx.h \
604 $(srcdir)/osx/clutter-stage-osx.h \
605 $(srcdir)/osx/clutter-device-manager-osx.h \
608 osx_source_c_priv = \
609 $(srcdir)/osx/clutter-event-loop-osx.c \
610 $(srcdir)/osx/clutter-event-osx.c \
611 $(srcdir)/osx/clutter-device-manager-osx.c \
615 # we need to tell the compiler that part of our code base is
617 AM_CFLAGS += -xobjective-c
619 backend_source_h += $(osx_source_h)
620 backend_source_c += $(osx_source_c)
621 backend_source_h_priv += $(osx_source_h_priv)
622 backend_source_c_priv += $(osx_source_c_priv)
624 clutterosx_includedir = $(clutter_includedir)/osx
625 clutterosx_include_HEADERS = $(osx_source_h)
627 clutter-osx-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
628 $(QUIET_GEN)cp -f $< $(@F)
630 pc_files += clutter-osx-$(CLUTTER_API_VERSION).pc
633 # Wayland backend rules
635 backend_source_h += \
636 $(srcdir)/wayland/clutter-wayland.h
638 backend_source_h_priv += \
639 $(srcdir)/evdev/clutter-xkb-utils.h \
640 $(srcdir)/wayland/clutter-backend-wayland.h \
641 $(srcdir)/wayland/clutter-stage-wayland.h
643 backend_source_c += \
644 $(srcdir)/evdev/clutter-xkb-utils.c \
645 $(srcdir)/wayland/clutter-backend-wayland.c \
646 $(srcdir)/wayland/clutter-stage-wayland.c \
647 $(srcdir)/wayland/clutter-event-wayland.c \
648 $(srcdir)/wayland/clutter-input-device-wayland.c
650 clutterwayland_includedir = $(clutter_includedir)/wayland
651 clutterwayland_include_HEADERS = $(wayland_source_h)
653 clutter-wayland-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
654 $(QUIET_GEN)cp -f $< $(@F)
656 pc_files += clutter-wayland-$(CLUTTER_API_VERSION).pc
659 libclutter-wayland-$(CLUTTER_API_VERSION).so \
661 endif # SUPPORT_WAYLAND
665 $(srcdir)/cally/cally-actor.h \
666 $(srcdir)/cally/cally-clone.h \
667 $(srcdir)/cally/cally-factory.h \
668 $(srcdir)/cally/cally-group.h \
669 $(srcdir)/cally/cally.h \
670 $(srcdir)/cally/cally-main.h \
671 $(srcdir)/cally/cally-rectangle.h \
672 $(srcdir)/cally/cally-root.h \
673 $(srcdir)/cally/cally-stage.h \
674 $(srcdir)/cally/cally-text.h \
675 $(srcdir)/cally/cally-texture.h \
676 $(srcdir)/cally/cally-util.h \
680 $(srcdir)/cally/cally-actor.c \
681 $(srcdir)/cally/cally.c \
682 $(srcdir)/cally/cally-clone.c \
683 $(srcdir)/cally/cally-group.c \
684 $(srcdir)/cally/cally-rectangle.c \
685 $(srcdir)/cally/cally-root.c \
686 $(srcdir)/cally/cally-stage.c \
687 $(srcdir)/cally/cally-text.c \
688 $(srcdir)/cally/cally-texture.c \
689 $(srcdir)/cally/cally-util.c \
692 cally_sources_private = \
693 $(srcdir)/cally/cally-actor-private.h \
696 cally_includedir = $(clutter_base_includedir)/cally
697 cally_include_HEADERS = $(cally_sources_h)
699 pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
700 EXTRA_DIST += cally/cally.pc.in
702 # general build rules:
703 # you should not need to modify anything below this point
705 # glib-genmarshal rules
706 glib_marshal_list = clutter-marshal.list
707 glib_marshal_prefix = _clutter_marshal
708 include $(top_srcdir)/build/autotools/Makefile.am.marshal
711 glib_enum_h = clutter-enum-types.h
712 glib_enum_c = clutter-enum-types.c
713 glib_enum_headers = $(source_h) $(backend_source_h)
714 include $(top_srcdir)/build/autotools/Makefile.am.enums
716 pkgconfigdir = $(libdir)/pkgconfig
717 pkgconfig_DATA = $(pc_files)
718 DISTCLEANFILES += $(pc_files)
720 clutter_include_HEADERS = $(source_h) $(top_srcdir)/clutter/clutter.h
721 nodist_clutter_include_HEADERS = \
722 $(top_builddir)/clutter/clutter-config.h \
723 $(top_builddir)/clutter/clutter-version.h \
726 clutter_deprecated_HEADERS = $(deprecated_h)
728 lib_LTLIBRARIES += libclutter-@CLUTTER_API_VERSION@.la
730 libclutter_@CLUTTER_API_VERSION@_la_LIBADD = \
733 $(CLUTTER_PROFILE_LIBS)
735 libclutter_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
738 libclutter_@CLUTTER_API_VERSION@_la_SOURCES = \
739 $(backend_source_c) \
740 $(backend_source_h) \
741 $(backend_source_c_priv) \
742 $(backend_source_h_priv) \
749 $(deprecated_c_priv) \
750 $(deprecated_h_priv) \
753 $(cally_sources_private) \
756 nodist_libclutter_@CLUTTER_API_VERSION@_la_SOURCES = \
757 $(backend_source_built) \
761 libclutter_@CLUTTER_API_VERSION@_la_LDFLAGS = \
762 $(CLUTTER_LINK_FLAGS) \
763 $(CLUTTER_LT_LDFLAGS) \
766 -export-symbols-regex "^(clutter|cally).*" \
768 $(win32_resources_ldflag) \
772 for lib in `echo $(compat_libs)`; do \
773 (cd $(DESTDIR)$(libdir) && \
774 rm -f $$lib.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION); \
776 (cd $(DESTDIR)$(libdir) && \
777 { ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0 || \
778 { rm -f $$lib.0 && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0; }; \
781 (cd $(DESTDIR)$(libdir) && \
782 { ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib || \
783 { rm -f $$lib && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib; }; \
788 # gobject-introspection rules
789 -include $(INTROSPECTION_MAKEFILE)
791 if HAVE_INTROSPECTION
792 Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_API_VERSION@.la Makefile
794 Clutter_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Clutter
795 Clutter_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
796 Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
797 Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = \
798 $(clutter_include_HEADERS) \
799 $(clutter_deprecated_HEADERS) \
800 $(nodist_clutter_include_HEADERS) \
804 Clutter_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
805 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
806 Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
808 --c-include='clutter/clutter.h' \
809 --pkg-export=clutter-@CLUTTER_API_VERSION@
811 INTROSPECTION_GIRS += Clutter-@CLUTTER_API_VERSION@.gir
813 Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
815 Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
816 Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
817 Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
818 Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
819 Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
820 Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
821 --identifier-prefix=Cally \
822 --symbol-prefix=cally \
823 --c-include='cally/cally.h' \
824 --pkg-export=cally-@CLUTTER_API_VERSION@ \
825 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
827 INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
830 ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
832 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
833 --identifier-prefix=ClutterX11 \
834 --symbol-prefix=clutter_x11 \
835 --c-include='clutter/x11/clutter-x11.h' \
836 --pkg-export=clutter-x11-@CLUTTER_API_VERSION@ \
837 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
838 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
839 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
840 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
841 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
843 INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
847 ClutterGdk-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
849 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
850 --identifier-prefix=ClutterGdk \
851 --symbol-prefix=clutter_gdk \
852 --c-include='clutter/gdk/clutter-gdk.h' \
853 --pkg-export=clutter-gdk-@CLUTTER_API_VERSION@ \
854 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
855 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = Gdk-3.0
856 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
857 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_FILES = $(gdk_introspection)
858 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
860 INTROSPECTION_GIRS += ClutterGdk-@CLUTTER_API_VERSION@.gir
863 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
864 # install anything - we need to install inside our prefix.
865 girdir = $(datadir)/gir-1.0
866 gir_DATA = $(INTROSPECTION_GIRS)
868 typelibdir = $(libdir)/girepository-1.0
869 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
871 CLEANFILES += $(gir_DATA) $(typelib_DATA)
872 endif # HAVE_INTROSPECTION
875 gcov_sources = $(source_c) $(backend_source_c)
876 include $(top_srcdir)/build/autotools/Makefile.am.gcov