update to 1.10.4
[profile/ivi/clutter.git] / clutter / Makefile.am
1 include $(top_srcdir)/build/autotools/Makefile.am.silent
2
3 # preamble
4 NULL =
5
6 # common definitions
7 CLEANFILES =
8 DISTCLEANFILES =
9 EXTRA_DIST =
10 BUILT_SOURCES =
11
12 lib_LTLIBRARIES =
13
14 INCLUDES = \
15         -I$(top_srcdir)                                 \
16         -I$(top_srcdir)/clutter                         \
17         -I$(top_srcdir)/clutter/deprecated              \
18         -I$(top_srcdir)/clutter/cally                   \
19         -I$(top_builddir)                               \
20         -I$(top_builddir)/clutter                       \
21         $(NULL)
22
23 AM_CPPFLAGS = \
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)               \
35         $(NULL)
36
37 AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS) $(GCOV_CFLAGS)
38
39 # these are the gir files we generate using g-ir-scanner
40 INTROSPECTION_GIRS =
41
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
46
47 # pkg-config files
48 pc_files =
49
50 # common sources - please, keep these sorted alphabetically
51 source_h =                                      \
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-layout.h          \
66         $(srcdir)/clutter-brightness-contrast-effect.h  \
67         $(srcdir)/clutter-cairo-texture.h       \
68         $(srcdir)/clutter-canvas.h              \
69         $(srcdir)/clutter-child-meta.h          \
70         $(srcdir)/clutter-click-action.h        \
71         $(srcdir)/clutter-cogl-compat.h         \
72         $(srcdir)/clutter-clone.h               \
73         $(srcdir)/clutter-color-static.h        \
74         $(srcdir)/clutter-color.h               \
75         $(srcdir)/clutter-colorize-effect.h     \
76         $(srcdir)/clutter-constraint.h          \
77         $(srcdir)/clutter-container.h           \
78         $(srcdir)/clutter-content.h             \
79         $(srcdir)/clutter-deform-effect.h       \
80         $(srcdir)/clutter-deprecated.h          \
81         $(srcdir)/clutter-desaturate-effect.h   \
82         $(srcdir)/clutter-device-manager.h      \
83         $(srcdir)/clutter-drag-action.h         \
84         $(srcdir)/clutter-drop-action.h         \
85         $(srcdir)/clutter-effect.h              \
86         $(srcdir)/clutter-enums.h               \
87         $(srcdir)/clutter-event.h               \
88         $(srcdir)/clutter-feature.h             \
89         $(srcdir)/clutter-fixed-layout.h        \
90         $(srcdir)/clutter-flow-layout.h         \
91         $(srcdir)/clutter-gesture-action.h      \
92         $(srcdir)/clutter-group.h               \
93         $(srcdir)/clutter-image.h               \
94         $(srcdir)/clutter-input-device.h        \
95         $(srcdir)/clutter-interval.h            \
96         $(srcdir)/clutter-keysyms.h             \
97         $(srcdir)/clutter-layout-manager.h      \
98         $(srcdir)/clutter-layout-meta.h         \
99         $(srcdir)/clutter-list-model.h          \
100         $(srcdir)/clutter-macros.h              \
101         $(srcdir)/clutter-main.h                \
102         $(srcdir)/clutter-media.h               \
103         $(srcdir)/clutter-model.h               \
104         $(srcdir)/clutter-offscreen-effect.h    \
105         $(srcdir)/clutter-page-turn-effect.h    \
106         $(srcdir)/clutter-paint-nodes.h         \
107         $(srcdir)/clutter-paint-node.h          \
108         $(srcdir)/clutter-path-constraint.h     \
109         $(srcdir)/clutter-path.h                \
110         $(srcdir)/clutter-property-transition.h \
111         $(srcdir)/clutter-script.h              \
112         $(srcdir)/clutter-scriptable.h          \
113         $(srcdir)/clutter-settings.h            \
114         $(srcdir)/clutter-shader-effect.h       \
115         $(srcdir)/clutter-shader-types.h        \
116         $(srcdir)/clutter-swipe-action.h        \
117         $(srcdir)/clutter-snap-constraint.h     \
118         $(srcdir)/clutter-stage.h               \
119         $(srcdir)/clutter-stage-manager.h       \
120         $(srcdir)/clutter-state.h               \
121         $(srcdir)/clutter-table-layout.h        \
122         $(srcdir)/clutter-texture.h             \
123         $(srcdir)/clutter-text.h                \
124         $(srcdir)/clutter-text-buffer.h         \
125         $(srcdir)/clutter-timeline.h            \
126         $(srcdir)/clutter-transition.h          \
127         $(srcdir)/clutter-types.h               \
128         $(srcdir)/clutter-units.h               \
129         $(NULL)
130
131 source_c = \
132         $(srcdir)/clutter-action.c              \
133         $(srcdir)/clutter-actor-box.c           \
134         $(srcdir)/clutter-actor-meta.c          \
135         $(srcdir)/clutter-actor.c               \
136         $(srcdir)/clutter-align-constraint.c    \
137         $(srcdir)/clutter-alpha.c               \
138         $(srcdir)/clutter-animatable.c          \
139         $(srcdir)/clutter-animation.c           \
140         $(srcdir)/clutter-animator.c            \
141         $(srcdir)/clutter-backend.c             \
142         $(srcdir)/clutter-bezier.c              \
143         $(srcdir)/clutter-bind-constraint.c     \
144         $(srcdir)/clutter-binding-pool.c        \
145         $(srcdir)/clutter-bin-layout.c          \
146         $(srcdir)/clutter-blur-effect.c         \
147         $(srcdir)/clutter-box-layout.c          \
148         $(srcdir)/clutter-brightness-contrast-effect.c  \
149         $(srcdir)/clutter-cairo-texture.c       \
150         $(srcdir)/clutter-canvas.c              \
151         $(srcdir)/clutter-child-meta.c          \
152         $(srcdir)/clutter-click-action.c        \
153         $(srcdir)/clutter-clone.c               \
154         $(srcdir)/clutter-color.c               \
155         $(srcdir)/clutter-colorize-effect.c     \
156         $(srcdir)/clutter-constraint.c          \
157         $(srcdir)/clutter-container.c           \
158         $(srcdir)/clutter-content.c             \
159         $(srcdir)/clutter-deform-effect.c       \
160         $(srcdir)/clutter-desaturate-effect.c   \
161         $(srcdir)/clutter-device-manager.c      \
162         $(srcdir)/clutter-drag-action.c         \
163         $(srcdir)/clutter-drop-action.c         \
164         $(srcdir)/clutter-effect.c              \
165         $(srcdir)/clutter-event.c               \
166         $(srcdir)/clutter-feature.c             \
167         $(srcdir)/clutter-fixed-layout.c        \
168         $(srcdir)/clutter-flatten-effect.c      \
169         $(srcdir)/clutter-flow-layout.c         \
170         $(srcdir)/clutter-gesture-action.c      \
171         $(srcdir)/clutter-image.c               \
172         $(srcdir)/clutter-input-device.c        \
173         $(srcdir)/clutter-interval.c            \
174         $(srcdir)/clutter-keysyms-table.c       \
175         $(srcdir)/clutter-layout-manager.c      \
176         $(srcdir)/clutter-layout-meta.c         \
177         $(srcdir)/clutter-list-model.c          \
178         $(srcdir)/clutter-main.c                \
179         $(srcdir)/clutter-master-clock.c        \
180         $(srcdir)/clutter-media.c               \
181         $(srcdir)/clutter-model.c               \
182         $(srcdir)/clutter-offscreen-effect.c    \
183         $(srcdir)/clutter-page-turn-effect.c    \
184         $(srcdir)/clutter-paint-nodes.c         \
185         $(srcdir)/clutter-paint-node.c          \
186         $(srcdir)/clutter-path-constraint.c     \
187         $(srcdir)/clutter-path.c                \
188         $(srcdir)/clutter-property-transition.c \
189         $(srcdir)/clutter-script.c              \
190         $(srcdir)/clutter-script-parser.c       \
191         $(srcdir)/clutter-scriptable.c          \
192         $(srcdir)/clutter-settings.c            \
193         $(srcdir)/clutter-shader-effect.c       \
194         $(srcdir)/clutter-shader-types.c        \
195         $(srcdir)/clutter-swipe-action.c        \
196         $(srcdir)/clutter-snap-constraint.c     \
197         $(srcdir)/clutter-stage.c               \
198         $(srcdir)/clutter-stage-manager.c       \
199         $(srcdir)/clutter-stage-window.c        \
200         $(srcdir)/clutter-state.c               \
201         $(srcdir)/clutter-table-layout.c        \
202         $(srcdir)/clutter-texture.c             \
203         $(srcdir)/clutter-text.c                \
204         $(srcdir)/clutter-text-buffer.c         \
205         $(srcdir)/clutter-transition.c          \
206         $(srcdir)/clutter-timeline.c            \
207         $(srcdir)/clutter-units.c               \
208         $(srcdir)/clutter-util.c                \
209         $(srcdir)/clutter-paint-volume.c        \
210         $(NULL)
211
212 # private headers; these should not be distributed or introspected
213 source_h_priv = \
214         $(srcdir)/clutter-actor-meta-private.h          \
215         $(srcdir)/clutter-actor-private.h               \
216         $(srcdir)/clutter-backend-private.h             \
217         $(srcdir)/clutter-bezier.h                      \
218         $(srcdir)/clutter-content-private.h             \
219         $(srcdir)/clutter-debug.h                       \
220         $(srcdir)/clutter-device-manager-private.h      \
221         $(srcdir)/clutter-easing.h                      \
222         $(srcdir)/clutter-effect-private.h              \
223         $(srcdir)/clutter-event-translator.h            \
224         $(srcdir)/clutter-event-private.h               \
225         $(srcdir)/clutter-flatten-effect.h              \
226         $(srcdir)/clutter-id-pool.h                     \
227         $(srcdir)/clutter-master-clock.h                \
228         $(srcdir)/clutter-model-private.h               \
229         $(srcdir)/clutter-offscreen-effect-private.h    \
230         $(srcdir)/clutter-paint-node-private.h          \
231         $(srcdir)/clutter-paint-volume-private.h        \
232         $(srcdir)/clutter-private.h                     \
233         $(srcdir)/clutter-profile.h                     \
234         $(srcdir)/clutter-script-private.h              \
235         $(srcdir)/clutter-settings-private.h            \
236         $(srcdir)/clutter-stage-manager-private.h       \
237         $(srcdir)/clutter-stage-private.h               \
238         $(srcdir)/clutter-stage-window.h                \
239         $(NULL)
240
241 # private source code; these should not be introspected
242 source_c_priv = \
243         $(srcdir)/clutter-easing.c              \
244         $(srcdir)/clutter-event-translator.c    \
245         $(srcdir)/clutter-id-pool.c             \
246         $(srcdir)/clutter-profile.c             \
247         $(NULL)
248
249 # deprecated installed headers
250 deprecated_h = \
251         $(srcdir)/deprecated/clutter-actor.h                    \
252         $(srcdir)/deprecated/clutter-animatable.h               \
253         $(srcdir)/deprecated/clutter-animation.h                \
254         $(srcdir)/deprecated/clutter-backend.h                  \
255         $(srcdir)/deprecated/clutter-behaviour.h                \
256         $(srcdir)/deprecated/clutter-behaviour-depth.h          \
257         $(srcdir)/deprecated/clutter-behaviour-ellipse.h        \
258         $(srcdir)/deprecated/clutter-behaviour-opacity.h        \
259         $(srcdir)/deprecated/clutter-behaviour-path.h           \
260         $(srcdir)/deprecated/clutter-behaviour-rotate.h         \
261         $(srcdir)/deprecated/clutter-behaviour-scale.h          \
262         $(srcdir)/deprecated/clutter-box.h                      \
263         $(srcdir)/deprecated/clutter-cairo-texture.h            \
264         $(srcdir)/deprecated/clutter-container.h                \
265         $(srcdir)/deprecated/clutter-fixed.h                    \
266         $(srcdir)/deprecated/clutter-frame-source.h             \
267         $(srcdir)/deprecated/clutter-group.h                    \
268         $(srcdir)/deprecated/clutter-keysyms.h                  \
269         $(srcdir)/deprecated/clutter-main.h                     \
270         $(srcdir)/deprecated/clutter-rectangle.h                \
271         $(srcdir)/deprecated/clutter-score.h                    \
272         $(srcdir)/deprecated/clutter-shader.h                   \
273         $(srcdir)/deprecated/clutter-stage-manager.h            \
274         $(srcdir)/deprecated/clutter-stage.h                    \
275         $(srcdir)/deprecated/clutter-texture.h                  \
276         $(srcdir)/deprecated/clutter-timeline.h                 \
277         $(srcdir)/deprecated/clutter-timeout-pool.h             \
278         $(srcdir)/deprecated/clutter-util.h                     \
279         $(NULL)
280
281 # deprecated source code
282 deprecated_c = \
283         $(srcdir)/deprecated/clutter-actor-deprecated.c         \
284         $(srcdir)/deprecated/clutter-behaviour.c                \
285         $(srcdir)/deprecated/clutter-behaviour-depth.c          \
286         $(srcdir)/deprecated/clutter-behaviour-ellipse.c        \
287         $(srcdir)/deprecated/clutter-behaviour-opacity.c        \
288         $(srcdir)/deprecated/clutter-behaviour-path.c           \
289         $(srcdir)/deprecated/clutter-behaviour-rotate.c         \
290         $(srcdir)/deprecated/clutter-behaviour-scale.c          \
291         $(srcdir)/deprecated/clutter-box.c                      \
292         $(srcdir)/deprecated/clutter-fixed.c                    \
293         $(srcdir)/deprecated/clutter-frame-source.c             \
294         $(srcdir)/deprecated/clutter-group.c                    \
295         $(srcdir)/deprecated/clutter-rectangle.c                \
296         $(srcdir)/deprecated/clutter-score.c                    \
297         $(srcdir)/deprecated/clutter-shader.c                   \
298         $(srcdir)/deprecated/clutter-timeout-pool.c             \
299         $(NULL)
300
301 # deprecated private headers; these should not be installed
302 deprecated_h_priv = \
303         $(srcdir)/deprecated/clutter-timeout-interval.h \
304         $(NULL)
305
306 # deprecated private source code; these should not be introspected
307 deprecated_c_priv = \
308         $(srcdir)/deprecated/clutter-timeout-interval.c \
309         $(NULL)
310
311 # built sources
312 built_source_c = \
313         clutter-enum-types.c                    \
314         clutter-marshal.c                       \
315         $(NULL)
316
317 # built headers
318 built_source_h = \
319         clutter-enum-types.h                    \
320         clutter-marshal.h                       \
321         $(NULL)
322
323 # config header
324 DISTCLEANFILES += clutter-config.h
325 EXTRA_DIST += clutter-config.h.in
326
327 # version header
328 DISTCLEANFILES += clutter-version.h
329 EXTRA_DIST += clutter-version.h.in clutter-version.h
330
331 # key symbol update script
332 EXTRA_DIST += clutter-keysyms-update.pl
333
334 pc_files += clutter-$(CLUTTER_API_VERSION).pc
335
336 # in order to be compatible with Clutter < 1.10, when we shipped a single
337 # shared library whose name was determined by the single backend it
338 # supported, we need to install symbolic links so that existing applications
339 # using Clutter won't break in the Brave New World of multi-backend support
340 # in the same shared object.
341 compat_libs =
342
343 # backends source listings
344 #
345 #   backend_source_c := source code
346 #   backend_source_h := installed public headers
347 #   backend_source_c_priv := source that should not be scanned by g-i
348 #   backend_source_h_priv := private headers
349 #   backend_source_built := built sources
350 #
351 backend_source_c =
352 backend_source_h =
353 backend_source_c_priv =
354 backend_source_h_priv =
355 backend_source_built =
356
357 # X11 backend rules
358 x11_source_c = \
359         $(srcdir)/x11/clutter-backend-x11.c             \
360         $(srcdir)/x11/clutter-device-manager-core-x11.c \
361         $(srcdir)/x11/clutter-event-x11.c               \
362         $(srcdir)/x11/clutter-input-device-core-x11.c   \
363         $(srcdir)/x11/clutter-keymap-x11.c              \
364         $(srcdir)/x11/clutter-stage-x11.c               \
365         $(srcdir)/x11/clutter-x11-texture-pixmap.c      \
366         $(NULL)
367
368 x11_source_h = \
369         $(srcdir)/x11/clutter-x11.h                     \
370         $(srcdir)/x11/clutter-x11-texture-pixmap.h      \
371         $(NULL)
372
373 x11_source_h_priv = \
374         $(srcdir)/x11/clutter-backend-x11.h             \
375         $(srcdir)/x11/clutter-device-manager-core-x11.h \
376         $(srcdir)/x11/clutter-input-device-core-x11.h   \
377         $(srcdir)/x11/clutter-keymap-x11.h              \
378         $(srcdir)/x11/clutter-settings-x11.h            \
379         $(srcdir)/x11/clutter-stage-x11.h               \
380         $(NULL)
381
382 x11_source_c_priv = \
383         $(srcdir)/x11/xsettings/xsettings-client.c      \
384         $(srcdir)/x11/xsettings/xsettings-client.h      \
385         $(srcdir)/x11/xsettings/xsettings-common.c      \
386         $(srcdir)/x11/xsettings/xsettings-common.h      \
387         $(NULL)
388
389 if BUILD_XI2
390 x11_source_c += \
391         $(srcdir)/x11/clutter-device-manager-xi2.c      \
392         $(srcdir)/x11/clutter-input-device-xi2.c        \
393         $(NULL)
394
395 x11_source_h_priv += \
396         $(srcdir)/x11/clutter-device-manager-xi2.h      \
397         $(srcdir)/x11/clutter-input-device-xi2.h        \
398         $(NULL)
399 endif # BUILD_XI2
400
401 if SUPPORT_X11
402 backend_source_h += $(x11_source_h)
403 backend_source_c += $(x11_source_c)
404 backend_source_h_priv += $(x11_source_h_priv)
405 backend_source_c_priv += $(x11_source_c_priv)
406
407 # the list of files we want to introspect on X11
408 x11_introspection = $(x11_source_c) $(x11_source_h)
409
410 clutterx11_includedir = $(clutter_includedir)/x11
411 clutterx11_include_HEADERS = $(x11_source_h)
412
413 clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
414         $(QUIET_GEN)cp -f $< $(@F)
415
416 pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
417 endif # SUPPORT_X11
418
419 # Shared cogl backend files
420 cogl_source_h =
421
422 cogl_source_c = \
423         $(srcdir)/cogl/clutter-stage-cogl.c     \
424         $(NULL)
425
426 cogl_source_h_priv = \
427         $(srcdir)/cogl/clutter-stage-cogl.h     \
428         $(NULL)
429
430 cogl_source_c_priv =
431
432 if USE_COGL
433 backend_source_h += $(cogl_source_h)
434 backend_source_c += $(cogl_source_c)
435 backend_source_h_priv += $(cogl_source_h_priv)
436 backend_source_c_priv += $(cogl_source_c_priv)
437
438 # pkg-config file for the cogl meta-backend
439 clutter-cogl-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
440         $(QUIET_GEN)cp -f $< $(@F)
441
442 pc_files += clutter-cogl-$(CLUTTER_API_VERSION).pc
443 endif
444
445 # For compatibility with the old GLX backend
446 #
447 # Note: there wasn't actually anything GLX specific so we can add
448 # the compatibility if clutter supports x11
449 glx_source_c = $(srcdir)/x11/clutter-glx-texture-pixmap.c
450 glx_source_h = $(srcdir)/x11/clutter-glx-texture-pixmap.h \
451                $(srcdir)/x11/clutter-glx.h
452
453 if SUPPORT_X11
454 backend_source_h += $(glx_source_h)
455 backend_source_c += $(glx_source_c)
456
457 clutterglx_includedir = $(clutter_includedir)/glx
458 clutterglx_include_HEADERS = $(glx_source_h)
459
460 clutter-glx-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
461         $(QUIET_GEN)cp -f $< $(@F)
462
463 pc_files += clutter-glx-$(CLUTTER_API_VERSION).pc
464
465 compat_libs += \
466         libclutter-glx-$(CLUTTER_API_VERSION).so \
467         $(NULL)
468 endif
469
470 # GDK backend rules
471 gdk_source_c = \
472         $(srcdir)/gdk/clutter-backend-gdk.c             \
473         $(srcdir)/gdk/clutter-device-manager-gdk.c      \
474         $(srcdir)/gdk/clutter-input-device-gdk.c        \
475         $(srcdir)/gdk/clutter-event-gdk.c               \
476         $(srcdir)/gdk/clutter-stage-gdk.c               \
477         $(NULL)
478
479 gdk_source_h = \
480         $(srcdir)/gdk/clutter-gdk.h                     \
481         $(NULL)
482
483 gdk_source_h_priv = \
484         $(srcdir)/gdk/clutter-settings-gdk.h            \
485         $(srcdir)/gdk/clutter-backend-gdk.h             \
486         $(srcdir)/gdk/clutter-device-manager-gdk.h      \
487         $(srcdir)/gdk/clutter-input-device-gdk.h        \
488         $(srcdir)/gdk/clutter-stage-gdk.h               \
489         $(NULL)
490
491 if SUPPORT_GDK
492 backend_source_h += $(gdk_source_h)
493 backend_source_c += $(gdk_source_c)
494 backend_source_h_priv += $(gdk_source_h_priv)
495
496 cluttergdk_includedir = $(clutter_includedir)/gdk
497 cluttergdk_include_HEADERS = $(gdk_source_h)
498
499 clutter-gdk-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
500         $(QUIET_GEN)cp -f $< $(@F)
501
502 pc_files += clutter-gdk-$(CLUTTER_API_VERSION).pc
503
504 gdk_introspection = $(gdk_source_c) $(gdk_source_h)
505 endif # SUPPORT_GDK
506
507 # Windows backend rules
508 win32_source_c = \
509         $(srcdir)/win32/clutter-backend-win32.c         \
510         $(srcdir)/win32/clutter-device-manager-win32.c  \
511         $(srcdir)/win32/clutter-event-win32.c           \
512         $(srcdir)/win32/clutter-stage-win32.c           \
513         $(NULL)
514
515 win32_source_h = \
516         $(srcdir)/win32/clutter-win32.h                 \
517         $(NULL)
518
519 win32_source_h_priv = \
520         $(srcdir)/win32/clutter-backend-win32.h         \
521         $(srcdir)/win32/clutter-device-manager-win32.h  \
522         $(srcdir)/win32/clutter-stage-win32.h           \
523         $(NULL)
524
525 if SUPPORT_WIN32
526 # Ideally this resources stuff would go in win32/ but libtool doesn't
527 # seem to pass on the -Wl argument when linking a convenience library
528 # so we need to do it here as part of linking the dll. libtool also
529 # won't let you link against the .o directly because it wants you to
530 # link against libtool objects for dynamic libraries.
531 .rc.o :
532         mkdir -p win32
533         $(WINDRES) -I$(srcdir)/win32 $< $@
534
535 win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
536
537 win32_resources = win32/resources.o
538 win32_resources_ldflag = -Wl,win32/resources.o
539
540 backend_source_h += $(win32_source_h)
541 backend_source_c += $(win32_source_c)
542 backend_source_h_priv += $(win32_source_h_priv)
543
544 clutterwin_includedir = $(clutter_includedir)/win32
545 clutterwin_include_HEADERS = $(win32_source_h)
546
547 clutter-win32-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
548         $(QUIET_GEN)cp -f $< $(@F)
549
550 pc_files += clutter-win32-$(CLUTTER_API_VERSION).pc
551 endif # SUPPORT_WIN32
552
553 EXTRA_DIST += \
554         $(srcdir)/win32/invisible-cursor.cur    \
555         $(srcdir)/win32/resources.rc            \
556         $(NULL)
557
558 egl_tslib_h = $(srcdir)/tslib/clutter-event-tslib.h
559 egl_tslib_c = $(srcdir)/tslib/clutter-event-tslib.c
560
561 if USE_TSLIB
562 backend_source_c_priv += $(egl_tslib_c)
563 backend_source_h_priv += $(egl_tslib_h)
564 endif # SUPPORT_TSLIB
565
566 evdev_c_priv = \
567         $(srcdir)/evdev/clutter-device-manager-evdev.c  \
568         $(srcdir)/evdev/clutter-input-device-evdev.c    \
569         $(NULL)
570 evdev_h_priv = \
571         $(srcdir)/evdev/clutter-device-manager-evdev.h  \
572         $(srcdir)/evdev/clutter-input-device-evdev.h    \
573         $(NULL)
574 evdev_h = $(srcdir)/evdev/clutter-evdev.h
575
576 if USE_EVDEV
577 backend_source_c_priv += $(evdev_c_priv)
578 backend_source_h_priv += $(evdev_h_priv)
579 backend_source_h += $(evdev_h)
580
581 clutterevdev_includedir = $(clutter_includedir)/evdev
582 clutterevdev_include_HEADERS = $(evdev_h)
583 endif # SUPPORT_EVDEV
584
585 if NEED_XKB_UTILS
586 backend_source_c += $(srcdir)/evdev/clutter-xkb-utils.c
587 backend_source_h_priv += $(srcdir)/evdev/clutter-xkb-utils.h
588 endif
589
590 cex_source_h_priv = $(srcdir)/cex100/clutter-backend-cex100.h
591 cex_source_c = $(srcdir)/cex100/clutter-backend-cex100.c
592 cex_h = cex100/clutter-cex100.h
593 BUILT_SOURCES += $(cex_h)
594 EXTRA_DIST += $(srcdir)/$(cex_h).in
595
596 if SUPPORT_CEX100
597 backend_source_h += $(cex_h)
598 backend_source_c += $(cex_source_c)
599 backend_source_h_priv += $(cex_source_h_priv)
600
601 cluttercex100_includedir = $(clutter_includedir)/cex100
602 cluttercex100_include_HEADERS = $(cex_h)
603
604 clutter-cex100-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
605         $(QUIET_GEN)cp -f $< $(@F)
606
607 pc_files += clutter-cex100-$(CLUTTER_API_VERSION).pc
608
609 compat_libs += \
610         libclutter-cex100-$(CLUTTER_API_VERSION).so \
611         $(NULL)
612 endif # SUPPORT_CEX100
613
614 # EGL backend rules
615 egl_source_h = \
616         $(srcdir)/egl/clutter-egl-headers.h     \
617         $(srcdir)/egl/clutter-egl.h             \
618         $(NULL)
619
620 egl_source_h_priv = $(srcdir)/egl/clutter-backend-eglnative.h
621 egl_source_c = $(srcdir)/egl/clutter-backend-eglnative.c
622
623 # Wayland backend rules
624 if SUPPORT_WAYLAND
625 backend_source_h_priv += \
626        $(srcdir)/wayland/clutter-backend-wayland.h             \
627        $(srcdir)/wayland/clutter-stage-wayland.h               \
628        $(srcdir)/wayland/clutter-event-wayland.h               \
629        $(srcdir)/wayland/clutter-input-device-wayland.h        \
630        $(srcdir)/wayland/clutter-device-manager-wayland.h
631
632 backend_source_c += \
633        $(srcdir)/wayland/clutter-backend-wayland.c             \
634        $(srcdir)/wayland/clutter-stage-wayland.c               \
635        $(srcdir)/wayland/clutter-event-wayland.c               \
636        $(srcdir)/wayland/clutter-input-device-wayland.c        \
637        $(srcdir)/wayland/clutter-device-manager-wayland.c
638
639
640 clutterwayland_includedir = $(clutter_includedir)/wayland
641 clutterwayland_include_HEADERS = $(srcdir)/wayland/clutter-wayland.h
642
643 clutter-wayland-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
644         $(QUIET_GEN)cp -f $< $(@F)
645
646 pc_files += clutter-wayland-$(CLUTTER_API_VERSION).pc
647 endif # SUPPORT_WAYLAND
648
649 if SUPPORT_WAYLAND_COMPOSITOR
650 wayland_compositor_source_h = \
651         $(srcdir)/wayland/clutter-wayland-compositor.h          \
652         $(srcdir)/wayland/clutter-wayland-surface.h
653 backend_source_h += $(wayland_compositor_source_h)
654 backend_source_c += \
655         $(srcdir)/wayland/clutter-wayland-surface.c
656
657 wayland_compositor_includedir = $(clutter_includedir)/wayland
658 wayland_compositor_include_HEADERS = $(wayland_compositor_source_h)
659
660 clutter-wayland-compositor-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
661         $(QUIET_GEN)cp -f $< $(@F)
662
663 pc_files += clutter-wayland-compositor-$(CLUTTER_API_VERSION).pc
664 endif
665
666 if SUPPORT_EGL
667 backend_source_h += $(egl_source_h)
668 backend_source_c += $(egl_source_c)
669 backend_source_h_priv += $(egl_source_h_priv)
670
671 clutteregl_includedir = $(clutter_includedir)/egl
672 clutteregl_include_HEADERS = $(egl_source_h)
673
674 clutter-egl-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
675         $(QUIET_GEN)cp -f $< $(@F)
676
677 pc_files += clutter-egl-$(CLUTTER_API_VERSION).pc
678 endif # SUPPORT_EGL
679
680 # OSX backend rules
681 osx_source_c = \
682         $(srcdir)/osx/clutter-backend-osx.c     \
683         $(srcdir)/osx/clutter-stage-osx.c       \
684         $(NULL)
685
686 osx_source_h = $(srcdir)/osx/clutter-osx.h
687
688 osx_source_h_priv = \
689         $(srcdir)/osx/clutter-backend-osx.h     \
690         $(srcdir)/osx/clutter-event-loop-osx.h  \
691         $(srcdir)/osx/clutter-stage-osx.h       \
692         $(srcdir)/osx/clutter-device-manager-osx.h \
693         $(NULL)
694
695 osx_source_c_priv = \
696         $(srcdir)/osx/clutter-event-loop-osx.c  \
697         $(srcdir)/osx/clutter-event-osx.c       \
698         $(srcdir)/osx/clutter-device-manager-osx.c \
699         $(NULL)
700
701 if SUPPORT_OSX
702 # we need to tell the compiler that part of our code base is
703 # in Objective C
704 AM_CFLAGS += -xobjective-c
705
706 backend_source_h += $(osx_source_h)
707 backend_source_c += $(osx_source_c)
708 backend_source_h_priv += $(osx_source_h_priv)
709 backend_source_c_priv += $(osx_source_c_priv)
710
711 clutterosx_includedir = $(clutter_includedir)/osx
712 clutterosx_include_HEADERS = $(osx_source_h)
713
714 clutter-osx-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
715         $(QUIET_GEN)cp -f $< $(@F)
716
717 pc_files += clutter-osx-$(CLUTTER_API_VERSION).pc
718 endif # SUPPORT_OSX
719
720 # cally
721 cally_sources_h = \
722         $(srcdir)/cally/cally-actor.h           \
723         $(srcdir)/cally/cally-clone.h           \
724         $(srcdir)/cally/cally-factory.h         \
725         $(srcdir)/cally/cally-group.h           \
726         $(srcdir)/cally/cally.h                 \
727         $(srcdir)/cally/cally-main.h            \
728         $(srcdir)/cally/cally-rectangle.h       \
729         $(srcdir)/cally/cally-root.h            \
730         $(srcdir)/cally/cally-stage.h           \
731         $(srcdir)/cally/cally-text.h            \
732         $(srcdir)/cally/cally-texture.h         \
733         $(srcdir)/cally/cally-util.h            \
734         $(NULL)
735
736 cally_sources_c = \
737         $(srcdir)/cally/cally-actor.c           \
738         $(srcdir)/cally/cally.c                 \
739         $(srcdir)/cally/cally-clone.c           \
740         $(srcdir)/cally/cally-group.c           \
741         $(srcdir)/cally/cally-rectangle.c       \
742         $(srcdir)/cally/cally-root.c            \
743         $(srcdir)/cally/cally-stage.c           \
744         $(srcdir)/cally/cally-text.c            \
745         $(srcdir)/cally/cally-texture.c         \
746         $(srcdir)/cally/cally-util.c            \
747         $(NULL)
748
749 cally_sources_private = \
750         $(srcdir)/cally/cally-actor-private.h   \
751         $(NULL)
752
753 cally_includedir = $(clutter_base_includedir)/cally
754 cally_include_HEADERS = $(cally_sources_h)
755
756 pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
757 EXTRA_DIST += cally/cally.pc.in
758
759 # general build rules:
760 # you should not need to modify anything below this point
761
762 # glib-genmarshal rules
763 glib_marshal_list = clutter-marshal.list
764 glib_marshal_prefix = _clutter_marshal
765 include $(top_srcdir)/build/autotools/Makefile.am.marshal
766
767 # glib-mkenums rules
768 glib_enum_h = clutter-enum-types.h
769 glib_enum_c = clutter-enum-types.c
770 glib_enum_headers = $(source_h) $(backend_source_h)
771 include $(top_srcdir)/build/autotools/Makefile.am.enums
772
773 pkgconfigdir = $(libdir)/pkgconfig
774 pkgconfig_DATA = $(pc_files)
775 DISTCLEANFILES += $(pc_files)
776
777 clutter_include_HEADERS = \
778         $(source_h) \
779         $(top_srcdir)/clutter/clutter.h \
780         $(top_builddir)/clutter/clutter-version.h
781
782 nodist_clutter_include_HEADERS = \
783         $(top_builddir)/clutter/clutter-config.h \
784         $(built_source_h)
785
786 clutter_deprecated_HEADERS = $(deprecated_h)
787
788 lib_LTLIBRARIES += libclutter-@CLUTTER_API_VERSION@.la
789
790 libclutter_@CLUTTER_API_VERSION@_la_LIBADD = \
791         -lm \
792         $(CLUTTER_LIBS) \
793         $(CLUTTER_PROFILE_LIBS)
794
795 libclutter_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
796         $(win32_resources)
797
798 libclutter_@CLUTTER_API_VERSION@_la_SOURCES = \
799         $(backend_source_c) \
800         $(backend_source_h) \
801         $(backend_source_c_priv) \
802         $(backend_source_h_priv) \
803         $(source_c) \
804         $(source_h) \
805         $(source_c_priv) \
806         $(source_h_priv) \
807         $(deprecated_c) \
808         $(deprecated_h) \
809         $(deprecated_c_priv) \
810         $(deprecated_h_priv) \
811         $(cally_sources_c) \
812         $(cally_sources_h) \
813         $(cally_sources_private) \
814         $(NULL)
815
816 nodist_libclutter_@CLUTTER_API_VERSION@_la_SOURCES = \
817         $(backend_source_built) \
818         $(built_source_c) \
819         $(built_source_h)
820
821 libclutter_@CLUTTER_API_VERSION@_la_LDFLAGS = \
822         $(CLUTTER_LINK_FLAGS) \
823         $(CLUTTER_LT_LDFLAGS) \
824         $(GCOV_LDFLAGS) \
825         -export-dynamic \
826         -export-symbols-regex "^(clutter|cally).*" \
827         -rpath $(libdir) \
828         $(win32_resources_ldflag) \
829         $(NULL)
830
831 dist-hook: ../build/win32/vs9/clutter.vcproj ../build/win32/vs10/clutter.vcxproj ../build/win32/vs10/clutter.vcxproj.filters ../build/win32/gen-enums.bat
832
833 ../build/win32/vs9/clutter.vcproj: $(top_srcdir)/build/win32/vs9/clutter.vcprojin
834         for F in `echo $(win32_source_c) $(cally_sources_c) $(source_c) $(source_c_priv) $(deprecated_c) $(deprecated_c_priv) $(built_source_c) | tr '/' '\\'`; do \
835                 case $$F in \
836                 *.c)    echo '   <File RelativePath="..\..\..\clutter\'$$F'" />' \
837                         ;; \
838                 esac; \
839         done >clutter.sourcefiles
840         $(CPP) -P - <$(top_srcdir)/build/win32/vs9/clutter.vcprojin >$@
841         rm clutter.sourcefiles
842         
843 ../build/win32/vs10/clutter.vcxproj: $(top_srcdir)/build/win32/vs10/clutter.vcxprojin
844         for F in `echo $(win32_source_c) $(cally_sources_c) $(source_c) $(source_c_priv) $(deprecated_c) $(deprecated_c_priv) $(built_source_c) | tr '/' '\\'`; do \
845                 case $$F in \
846                 *.c)    echo '    <ClCompile Include="..\..\..\clutter\'$$F'" />' \
847                         ;; \
848                 esac; \
849         done >clutter.vs10.sourcefiles
850         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/clutter.vcxprojin >$@
851         rm clutter.vs10.sourcefiles
852         
853 ../build/win32/vs10/clutter.vcxproj.filters: $(top_srcdir)/build/win32/vs10/clutter.vcxproj.filtersin
854         for F in `echo $(win32_source_c) $(cally_sources_c) $(source_c) $(source_c_priv) $(deprecated_c) $(deprecated_c_priv) $(built_source_c) | tr '/' '\\'`; do \
855                 case $$F in \
856                 *.c)    echo '    <ClCompile Include="..\..\..\clutter\'$$F'"><Filter>Sources</Filter></ClCompile>' \
857                         ;; \
858                 esac; \
859         done >clutter.vs10.sourcefiles.filters
860         $(CPP) -P - <$(top_srcdir)/build/win32/vs10/clutter.vcxproj.filtersin >$@
861         rm clutter.vs10.sourcefiles.filters
862
863 clutter.vsenums_h:
864         echo 'perl %1\bin\glib-mkenums --template ../../clutter/clutter-enum-types.h.in ' >vsenums_h.temp1
865         for F in `echo $(source_h) $(backend_source_h) $(srcdir)/win32/clutter-win32.h`; do \
866                 case $$F in \
867                 *-x11*.h|*-wayland*.h|*-gdk*.h|*-glx*.h|*-cex*.h|*-egl*.h|*-osx*.h) ;; \
868                 *.h) echo '../../clutter'$$F' ' \
869                         ;;      \
870                 esac;   \
871         done >>vsenums_h.temp1
872         cat vsenums_h.temp1 | sed 's_/clutter./_/clutter/_' >vsenums_h.temp
873         cat vsenums_h.temp | tr -d '\n' >>$@
874         echo '> ..\..\clutter\clutter-enum-types.h' >>$@
875         rm vsenums_h.temp1
876         rm vsenums_h.temp
877
878 clutter.vsenums_c:
879         echo 'perl %1\bin\glib-mkenums --template ../../clutter/clutter-enum-types.c.in ' >vsenums_c.temp1
880         for F in `echo $(source_h) $(backend_source_h) $(srcdir)/win32/clutter-win32.h`; do \
881                 case $$F in \
882                 *-x11*.h|*-wayland*.h|*-gdk*.h|*-glx*.h|*-cex*.h|*-egl*.h|*-osx*.h) ;; \
883                 *.h) echo '../../clutter'$$F' ' \
884                         ;;      \
885                 esac;   \
886         done >>vsenums_c.temp1
887         cat vsenums_c.temp1 | sed 's_/clutter./_/clutter/_' >vsenums_c.temp
888         cat vsenums_c.temp | tr -d '\n' >>$@
889         echo '> ..\..\clutter\clutter-enum-types.c' >>$@
890         rm vsenums_c.temp1
891         rm vsenums_c.temp
892
893 ../build/win32/gen-enums.bat: clutter.vsenums_h clutter.vsenums_c
894         echo 'if exist ..\..\clutter\clutter-enum-types.h goto DONE_COGL_ENUMS_H' >$@
895         cat clutter.vsenums_h >>$@
896         echo ':DONE_COGL_ENUMS_H' >>$@
897         echo 'if exist ..\..\clutter\clutter-enum-types.c goto DONE_COGL_ENUMS_C' >>$@
898         cat clutter.vsenums_c >>$@
899         echo ':DONE_COGL_ENUMS_C' >>$@
900         rm clutter.vsenums_h
901         rm clutter.vsenums_c
902
903 EXTRA_DIST += \
904         clutter-config.h.win32  \
905         clutter.symbols \
906         $(NULL)
907
908 # Let the VS9/VS10 Project files be cleared out before they are re-expanded...
909 DISTCLEANFILES += ../build/win32/vs9/clutter.vcproj ../build/win32/vs10/clutter.vcxproj ../build/win32/vs10/clutter.vcxproj.filters ../build/win32/gen-enums.bat
910
911 install-exec-local:
912         test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
913         for lib in `echo $(compat_libs)`; do \
914           (cd $(DESTDIR)$(libdir) && \
915             rm -f $$lib.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION); \
916           ) ; \
917           (cd $(DESTDIR)$(libdir) && \
918             { ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0 || \
919               { rm -f $$lib.0 && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0; }; \
920             } \
921           ) ; \
922           (cd $(DESTDIR)$(libdir) && \
923             { ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib || \
924               { rm -f $$lib && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib; }; \
925             } \
926           ) ; \
927         done
928
929 # gobject-introspection rules
930 -include $(INTROSPECTION_MAKEFILE)
931
932 if HAVE_INTROSPECTION
933 Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_API_VERSION@.la Makefile
934
935 Clutter_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Clutter
936 Clutter_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
937 Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
938 Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = \
939         $(clutter_include_HEADERS) \
940         $(clutter_deprecated_HEADERS) \
941         $(nodist_clutter_include_HEADERS) \
942         $(source_c) \
943         $(deprecated_c) \
944         $(built_source_c)
945 Clutter_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS)
946 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
947 Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
948         --warn-all \
949         --c-include='clutter/clutter.h' \
950         --pkg-export=clutter-@CLUTTER_API_VERSION@
951
952 INTROSPECTION_GIRS += Clutter-@CLUTTER_API_VERSION@.gir
953
954 Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
955
956 Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
957 Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
958 Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
959 Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
960 Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS)
961 Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
962         --warn-all \
963         --identifier-prefix=Cally \
964         --symbol-prefix=cally \
965         --c-include='cally/cally.h' \
966         --pkg-export=cally-@CLUTTER_API_VERSION@ \
967         --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
968
969 INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
970
971 if SUPPORT_X11
972 ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
973
974 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
975         --warn-all \
976         --identifier-prefix=ClutterX11 \
977         --symbol-prefix=clutter_x11 \
978         --c-include='clutter/x11/clutter-x11.h' \
979         --pkg-export=clutter-x11-@CLUTTER_API_VERSION@ \
980         --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
981 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
982 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
983 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
984 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS)
985
986 INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
987 endif # SUPPORT_X11
988
989 if SUPPORT_GDK
990 ClutterGdk-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
991
992 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
993         --identifier-prefix=ClutterGdk \
994         --symbol-prefix=clutter_gdk \
995         --c-include='clutter/gdk/clutter-gdk.h' \
996         --pkg-export=clutter-gdk-@CLUTTER_API_VERSION@ \
997         --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
998 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = Gdk-3.0
999 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
1000 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_FILES = $(gdk_introspection)
1001 ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS)
1002
1003 INTROSPECTION_GIRS += ClutterGdk-@CLUTTER_API_VERSION@.gir
1004 endif # SUPPORT_GDK
1005
1006 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
1007 # install anything - we need to install inside our prefix.
1008 girdir = $(datadir)/gir-1.0
1009 gir_DATA = $(INTROSPECTION_GIRS)
1010
1011 typelibdir = $(libdir)/girepository-1.0
1012 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
1013
1014 CLEANFILES += $(gir_DATA) $(typelib_DATA)
1015 endif # HAVE_INTROSPECTION
1016
1017 # Test
1018 clutter_all_c_sources = \
1019         $(backend_source_c) \
1020         $(backend_source_c_priv) \
1021         $(source_c) \
1022         $(source_c_priv) \
1023         $(deprecated_c) \
1024         $(deprecated_c_priv) \
1025         $(cally_sources_c) \
1026         $(built_source_c)
1027
1028 TESTS_ENVIRONMENT = srcdir="$(srcdir)" CLUTTER_BACKENDS="$(CLUTTER_BACKENDS)"
1029 if OS_LINUX
1030 TESTS = abicheck.sh
1031 endif
1032
1033 EXTRA_DIST += abicheck.sh
1034
1035 # GCov rules
1036 gcov_sources = $(source_c) $(backend_source_c)
1037 include $(top_srcdir)/build/autotools/Makefile.am.gcov