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/deprecated \
20 -I$(top_srcdir)/clutter/cally \
22 -I$(top_builddir)/clutter \
26 -DCLUTTER_PREFIX=\""$(prefix)"\" \
27 -DCLUTTER_LIBDIR=\""$(libdir)"\" \
28 -DCLUTTER_DATADIR=\""$(datadir)"\" \
29 -DCLUTTER_LOCALEDIR=\""$(localedir)"\" \
30 -DCLUTTER_SYSCONFDIR=\""$(sysconfdir)"\" \
31 -DCLUTTER_COMPILATION=1 \
32 -DCOGL_ENABLE_EXPERIMENTAL_API \
33 -DG_LOG_DOMAIN=\"Clutter\" \
34 $(CLUTTER_DEPRECATED_CFLAGS) \
35 $(CLUTTER_DEBUG_CFLAGS) \
36 $(CLUTTER_PROFILE_CFLAGS) \
39 AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS) $(GCOV_CFLAGS)
41 # these are the gir files we generate using g-ir-scanner
44 # the base include path for headers
45 clutter_base_includedir = $(includedir)/clutter-$(CLUTTER_API_VERSION)
46 clutter_includedir = $(clutter_base_includedir)/clutter
47 clutter_deprecateddir = $(clutter_base_includedir)/clutter/deprecated
52 # common sources - please, keep these sorted alphabetically
54 $(srcdir)/clutter-action.h \
55 $(srcdir)/clutter-actor-meta.h \
56 $(srcdir)/clutter-actor.h \
57 $(srcdir)/clutter-align-constraint.h \
58 $(srcdir)/clutter-alpha.h \
59 $(srcdir)/clutter-animatable.h \
60 $(srcdir)/clutter-animation.h \
61 $(srcdir)/clutter-animator.h \
62 $(srcdir)/clutter-backend.h \
63 $(srcdir)/clutter-bind-constraint.h \
64 $(srcdir)/clutter-binding-pool.h \
65 $(srcdir)/clutter-bin-layout.h \
66 $(srcdir)/clutter-blur-effect.h \
67 $(srcdir)/clutter-box.h \
68 $(srcdir)/clutter-box-layout.h \
69 $(srcdir)/clutter-cairo-texture.h \
70 $(srcdir)/clutter-child-meta.h \
71 $(srcdir)/clutter-click-action.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-deform-effect.h \
79 $(srcdir)/clutter-deprecated.h \
80 $(srcdir)/clutter-desaturate-effect.h \
81 $(srcdir)/clutter-device-manager.h \
82 $(srcdir)/clutter-drag-action.h \
83 $(srcdir)/clutter-drop-action.h \
84 $(srcdir)/clutter-effect.h \
85 $(srcdir)/clutter-enums.h \
86 $(srcdir)/clutter-event.h \
87 $(srcdir)/clutter-feature.h \
88 $(srcdir)/clutter-fixed-layout.h \
89 $(srcdir)/clutter-flow-layout.h \
90 $(srcdir)/clutter-gesture-action.h \
91 $(srcdir)/clutter-group.h \
92 $(srcdir)/clutter-input-device.h \
93 $(srcdir)/clutter-interval.h \
94 $(srcdir)/clutter-keysyms.h \
95 $(srcdir)/clutter-keysyms-compat.h \
96 $(srcdir)/clutter-layout-manager.h \
97 $(srcdir)/clutter-layout-meta.h \
98 $(srcdir)/clutter-list-model.h \
99 $(srcdir)/clutter-main.h \
100 $(srcdir)/clutter-media.h \
101 $(srcdir)/clutter-model.h \
102 $(srcdir)/clutter-offscreen-effect.h \
103 $(srcdir)/clutter-page-turn-effect.h \
104 $(srcdir)/clutter-path-constraint.h \
105 $(srcdir)/clutter-path.h \
106 $(srcdir)/clutter-rectangle.h \
107 $(srcdir)/clutter-script.h \
108 $(srcdir)/clutter-scriptable.h \
109 $(srcdir)/clutter-settings.h \
110 $(srcdir)/clutter-shader-effect.h \
111 $(srcdir)/clutter-shader-types.h \
112 $(srcdir)/clutter-swipe-action.h \
113 $(srcdir)/clutter-snap-constraint.h \
114 $(srcdir)/clutter-stage.h \
115 $(srcdir)/clutter-stage-manager.h \
116 $(srcdir)/clutter-stage-window.h \
117 $(srcdir)/clutter-state.h \
118 $(srcdir)/clutter-table-layout.h \
119 $(srcdir)/clutter-texture.h \
120 $(srcdir)/clutter-text.h \
121 $(srcdir)/clutter-timeline.h \
122 $(srcdir)/clutter-types.h \
123 $(srcdir)/clutter-units.h \
124 $(srcdir)/clutter-util.h \
128 $(srcdir)/clutter-action.c \
129 $(srcdir)/clutter-actor-box.c \
130 $(srcdir)/clutter-actor-meta.c \
131 $(srcdir)/clutter-actor.c \
132 $(srcdir)/clutter-align-constraint.c \
133 $(srcdir)/clutter-alpha.c \
134 $(srcdir)/clutter-animatable.c \
135 $(srcdir)/clutter-animation.c \
136 $(srcdir)/clutter-animator.c \
137 $(srcdir)/clutter-backend.c \
138 $(srcdir)/clutter-bezier.c \
139 $(srcdir)/clutter-bind-constraint.c \
140 $(srcdir)/clutter-binding-pool.c \
141 $(srcdir)/clutter-bin-layout.c \
142 $(srcdir)/clutter-blur-effect.c \
143 $(srcdir)/clutter-box.c \
144 $(srcdir)/clutter-box-layout.c \
145 $(srcdir)/clutter-cairo-texture.c \
146 $(srcdir)/clutter-child-meta.c \
147 $(srcdir)/clutter-click-action.c \
148 $(srcdir)/clutter-clone.c \
149 $(srcdir)/clutter-color.c \
150 $(srcdir)/clutter-colorize-effect.c \
151 $(srcdir)/clutter-constraint.c \
152 $(srcdir)/clutter-container.c \
153 $(srcdir)/clutter-deform-effect.c \
154 $(srcdir)/clutter-desaturate-effect.c \
155 $(srcdir)/clutter-device-manager.c \
156 $(srcdir)/clutter-drag-action.c \
157 $(srcdir)/clutter-drop-action.c \
158 $(srcdir)/clutter-effect.c \
159 $(srcdir)/clutter-event.c \
160 $(srcdir)/clutter-feature.c \
161 $(srcdir)/clutter-fixed-layout.c \
162 $(srcdir)/clutter-flatten-effect.c \
163 $(srcdir)/clutter-flow-layout.c \
164 $(srcdir)/clutter-gesture-action.c \
165 $(srcdir)/clutter-group.c \
166 $(srcdir)/clutter-input-device.c \
167 $(srcdir)/clutter-interval.c \
168 $(srcdir)/clutter-keysyms-table.c \
169 $(srcdir)/clutter-layout-manager.c \
170 $(srcdir)/clutter-layout-meta.c \
171 $(srcdir)/clutter-list-model.c \
172 $(srcdir)/clutter-main.c \
173 $(srcdir)/clutter-master-clock.c \
174 $(srcdir)/clutter-media.c \
175 $(srcdir)/clutter-model.c \
176 $(srcdir)/clutter-offscreen-effect.c \
177 $(srcdir)/clutter-page-turn-effect.c \
178 $(srcdir)/clutter-path-constraint.c \
179 $(srcdir)/clutter-path.c \
180 $(srcdir)/clutter-rectangle.c \
181 $(srcdir)/clutter-script.c \
182 $(srcdir)/clutter-script-parser.c \
183 $(srcdir)/clutter-scriptable.c \
184 $(srcdir)/clutter-settings.c \
185 $(srcdir)/clutter-shader-effect.c \
186 $(srcdir)/clutter-shader-types.c \
187 $(srcdir)/clutter-swipe-action.c \
188 $(srcdir)/clutter-snap-constraint.c \
189 $(srcdir)/clutter-stage.c \
190 $(srcdir)/clutter-stage-manager.c \
191 $(srcdir)/clutter-stage-window.c \
192 $(srcdir)/clutter-state.c \
193 $(srcdir)/clutter-table-layout.c \
194 $(srcdir)/clutter-texture.c \
195 $(srcdir)/clutter-text.c \
196 $(srcdir)/clutter-timeline.c \
197 $(srcdir)/clutter-units.c \
198 $(srcdir)/clutter-util.c \
199 $(srcdir)/clutter-paint-volume.c \
202 # private headers; these should not be distributed or introspected
204 $(srcdir)/clutter-actor-meta-private.h \
205 $(srcdir)/clutter-actor-private.h \
206 $(srcdir)/clutter-backend-private.h \
207 $(srcdir)/clutter-bezier.h \
208 $(srcdir)/clutter-debug.h \
209 $(srcdir)/clutter-device-manager-private.h \
210 $(srcdir)/clutter-effect-private.h \
211 $(srcdir)/clutter-event-translator.h \
212 $(srcdir)/clutter-event-private.h \
213 $(srcdir)/clutter-flatten-effect.h \
214 $(srcdir)/clutter-id-pool.h \
215 $(srcdir)/clutter-master-clock.h \
216 $(srcdir)/clutter-model-private.h \
217 $(srcdir)/clutter-offscreen-effect-private.h \
218 $(srcdir)/clutter-paint-volume-private.h \
219 $(srcdir)/clutter-private.h \
220 $(srcdir)/clutter-profile.h \
221 $(srcdir)/clutter-script-private.h \
222 $(srcdir)/clutter-settings-private.h \
223 $(srcdir)/clutter-stage-manager-private.h \
224 $(srcdir)/clutter-stage-private.h \
227 # private source code; these should not be introspected
229 $(srcdir)/clutter-event-translator.c \
230 $(srcdir)/clutter-id-pool.c \
231 $(srcdir)/clutter-profile.c \
234 # deprecated installed headers
236 $(srcdir)/deprecated/clutter-actor-deprecated.h \
237 $(srcdir)/deprecated/clutter-backend-deprecated.h \
238 $(srcdir)/deprecated/clutter-behaviour.h \
239 $(srcdir)/deprecated/clutter-behaviour-depth.h \
240 $(srcdir)/deprecated/clutter-behaviour-ellipse.h \
241 $(srcdir)/deprecated/clutter-behaviour-opacity.h \
242 $(srcdir)/deprecated/clutter-behaviour-path.h \
243 $(srcdir)/deprecated/clutter-behaviour-rotate.h \
244 $(srcdir)/deprecated/clutter-behaviour-scale.h \
245 $(srcdir)/deprecated/clutter-fixed.h \
246 $(srcdir)/deprecated/clutter-frame-source.h \
247 $(srcdir)/deprecated/clutter-main-deprecated.h \
248 $(srcdir)/deprecated/clutter-timeout-pool.h \
249 $(srcdir)/deprecated/clutter-score.h \
250 $(srcdir)/deprecated/clutter-shader.h \
253 # deprecated source code
255 $(srcdir)/deprecated/clutter-behaviour.c \
256 $(srcdir)/deprecated/clutter-behaviour-depth.c \
257 $(srcdir)/deprecated/clutter-behaviour-ellipse.c \
258 $(srcdir)/deprecated/clutter-behaviour-opacity.c \
259 $(srcdir)/deprecated/clutter-behaviour-path.c \
260 $(srcdir)/deprecated/clutter-behaviour-rotate.c \
261 $(srcdir)/deprecated/clutter-behaviour-scale.c \
262 $(srcdir)/deprecated/clutter-fixed.c \
263 $(srcdir)/deprecated/clutter-frame-source.c \
264 $(srcdir)/deprecated/clutter-timeout-pool.c \
265 $(srcdir)/deprecated/clutter-score.c \
266 $(srcdir)/deprecated/clutter-shader.c \
269 # deprecated private headers; these should not be installed
270 deprecated_h_priv = \
271 $(srcdir)/deprecated/clutter-timeout-interval.h \
274 # deprecated private source code; these should not be introspected
275 deprecated_c_priv = \
276 $(srcdir)/deprecated/clutter-timeout-interval.c \
281 clutter-enum-types.c \
287 clutter-enum-types.h \
292 DISTCLEANFILES += clutter-config.h
293 EXTRA_DIST += clutter-config.h.in
296 DISTCLEANFILES += clutter-version.h
297 EXTRA_DIST += clutter-version.h.in
299 # key symbol update script
300 EXTRA_DIST += clutter-keysyms-update.pl
302 pc_files += clutter-$(CLUTTER_API_VERSION).pc
304 # backends source listings
306 # backend_source_c := source code
307 # backend_source_h := installed public headers
308 # backend_source_c_priv := source that should not be scanned by g-i
309 # backend_source_h_priv := private headers
310 # backend_source_built := built sources
314 backend_source_c_priv =
315 backend_source_h_priv =
316 backend_source_built =
320 $(srcdir)/x11/clutter-backend-x11.c \
321 $(srcdir)/x11/clutter-device-manager-core-x11.c \
322 $(srcdir)/x11/clutter-event-x11.c \
323 $(srcdir)/x11/clutter-input-device-core-x11.c \
324 $(srcdir)/x11/clutter-keymap-x11.c \
325 $(srcdir)/x11/clutter-stage-x11.c \
326 $(srcdir)/x11/clutter-x11-texture-pixmap.c \
330 $(srcdir)/x11/clutter-x11.h \
331 $(srcdir)/x11/clutter-x11-texture-pixmap.h \
334 x11_source_h_priv = \
335 $(srcdir)/x11/clutter-backend-x11.h \
336 $(srcdir)/x11/clutter-device-manager-core-x11.h \
337 $(srcdir)/x11/clutter-input-device-core-x11.h \
338 $(srcdir)/x11/clutter-keymap-x11.h \
339 $(srcdir)/x11/clutter-settings-x11.h \
340 $(srcdir)/x11/clutter-stage-x11.h \
343 x11_source_c_priv = \
344 $(srcdir)/x11/xsettings/xsettings-client.c \
345 $(srcdir)/x11/xsettings/xsettings-client.h \
346 $(srcdir)/x11/xsettings/xsettings-common.c \
347 $(srcdir)/x11/xsettings/xsettings-common.h \
352 $(srcdir)/x11/clutter-device-manager-xi2.c \
353 $(srcdir)/x11/clutter-input-device-xi2.c \
356 x11_source_h_priv += \
357 $(srcdir)/x11/clutter-device-manager-xi2.h \
358 $(srcdir)/x11/clutter-input-device-xi2.h \
363 backend_source_h += $(x11_source_h)
364 backend_source_c += $(x11_source_c)
365 backend_source_h_priv += $(x11_source_h_priv)
366 backend_source_c_priv += $(x11_source_c_priv)
368 # the list of files we want to introspect on X11
369 x11_introspection = $(x11_source_c) $(x11_source_h)
371 # pkg-config file for the X11 meta-backend
372 clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
373 $(QUIET_GEN)cp -f $< $(@F)
375 pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
377 clutterx11_includedir = $(clutter_includedir)/x11
378 clutterx11_include_HEADERS = $(x11_source_h)
381 # Shared cogl backend files
385 $(srcdir)/cogl/clutter-backend-cogl.c \
386 $(srcdir)/cogl/clutter-stage-cogl.c \
389 cogl_source_h_priv = \
390 $(srcdir)/cogl/clutter-backend-cogl.h \
391 $(srcdir)/cogl/clutter-stage-cogl.h \
397 # For compatability with the old GLX backend
399 # Note: there wasn't actually anything GLX specific so we can add
400 # the compatability if clutter supports x11
401 backend_source_c += $(srcdir)/cogl/clutter-glx-texture-pixmap.c
402 glx_source_h = $(srcdir)/cogl/clutter-glx-texture-pixmap.h \
403 $(srcdir)/cogl/clutter-glx.h
404 clutterglx_includedir = $(clutter_includedir)/glx
405 clutterglx_include_HEADERS = $(glx_source_h)
407 clutter-glx-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
408 $(QUIET_GEN)cp -f $< $(@F)
410 pc_files += clutter-glx-$(CLUTTER_API_VERSION).pc
414 backend_source_h += $(cogl_source_h) $(glx_source_h)
415 backend_source_c += $(cogl_source_c) $(glx_source_c)
416 backend_source_h_priv += $(cogl_source_h_priv)
421 $(srcdir)/gdk/clutter-backend-gdk.c \
422 $(srcdir)/gdk/clutter-device-manager-gdk.c \
423 $(srcdir)/gdk/clutter-input-device-gdk.c \
424 $(srcdir)/gdk/clutter-event-gdk.c \
425 $(srcdir)/gdk/clutter-stage-gdk.c \
429 $(srcdir)/gdk/clutter-gdk.h \
432 gdk_source_h_priv = \
433 $(srcdir)/gdk/clutter-settings-gdk.h \
434 $(srcdir)/gdk/clutter-backend-gdk.h \
435 $(srcdir)/gdk/clutter-device-manager-gdk.h \
436 $(srcdir)/gdk/clutter-input-device-gdk.h \
437 $(srcdir)/gdk/clutter-event-gdk.h \
438 $(srcdir)/gdk/clutter-stage-gdk.h \
442 backend_source_h += $(cogl_source_h) $(gdk_source_h)
443 backend_source_c += $(cogl_source_c) $(gdk_source_c)
444 backend_source_h_priv += $(cogl_source_h_priv) $(gdk_source_h_priv)
447 # Windows backend rules
449 $(srcdir)/win32/clutter-backend-win32.c \
450 $(srcdir)/win32/clutter-device-manager-win32.c \
451 $(srcdir)/win32/clutter-event-win32.c \
452 $(srcdir)/win32/clutter-stage-win32.c \
456 $(srcdir)/win32/clutter-win32.h \
459 win32_source_h_priv = \
460 $(srcdir)/win32/clutter-backend-win32.h \
461 $(srcdir)/win32/clutter-device-manager-win32.h \
462 $(srcdir)/win32/clutter-stage-win32.h \
466 # Ideally this resources stuff would go in win32/ but libtool doesn't
467 # seem to pass on the -Wl argument when linking a convenience library
468 # so we need to do it here as part of linking the dll. libtool also
469 # won't let you link against the .o directly because it wants you to
470 # link against libtool objects for dynamic libraries.
473 $(WINDRES) -I$(srcdir)/win32 $< $@
475 win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
477 win32_resources = win32/resources.o
478 win32_resources_ldflag = -Wl,win32/resources.o
480 backend_source_h += $(win32_source_h)
481 backend_source_c += $(win32_source_c)
482 backend_source_h_priv += $(win32_source_h_priv)
484 clutterwin_includedir = $(clutter_includedir)/win32
485 clutterwin_include_HEADERS = $(win32_source_h)
486 endif # SUPPORT_WIN32
489 $(srcdir)/win32/invisible-cursor.cur \
490 $(srcdir)/win32/resources.rc \
495 $(srcdir)/cogl/clutter-egl-headers.h \
496 $(srcdir)/cogl/clutter-egl.h \
499 egl_tslib_c = $(srcdir)/cogl/clutter-event-tslib.c
502 $(srcdir)/evdev/clutter-xkb-utils.c \
503 $(srcdir)/evdev/clutter-device-manager-evdev.c \
504 $(srcdir)/evdev/clutter-input-device-evdev.c \
507 $(srcdir)/evdev/clutter-xkb-utils.h \
508 $(srcdir)/evdev/clutter-device-manager-evdev.h \
509 $(srcdir)/evdev/clutter-input-device-evdev.h \
512 cex_h = cogl/clutter-cex100.h
513 BUILT_SOURCES += $(cex_h)
514 EXTRA_DIST += $(srcdir)/$(cex_h).in
517 backend_source_c_priv += $(egl_tslib_c)
518 endif # SUPPORT_TSLIB
521 backend_source_c_priv += $(evdev_c_priv)
522 backend_source_h_priv += $(evdev_h_priv)
523 endif # SUPPORT_EVDEV
526 backend_source_h += $(cex_h)
527 endif # SUPPORT_CEX100
530 backend_source_h += $(cogl_source_h) $(egl_source_h)
531 backend_source_c += $(cogl_source_c)
532 backend_source_h_priv += $(cogl_source_h_priv)
533 backend_source_c_priv += $(cogl_source_c_priv)
535 clutteregl_includedir = $(clutter_includedir)/egl
536 clutteregl_include_HEADERS = $(egl_source_h)
541 $(srcdir)/osx/clutter-backend-osx.c \
542 $(srcdir)/osx/clutter-stage-osx.c \
545 osx_source_h = $(srcdir)/osx/clutter-osx.h
547 osx_source_h_priv = \
548 $(srcdir)/osx/clutter-backend-osx.h \
549 $(srcdir)/osx/clutter-event-loop-osx.h \
550 $(srcdir)/osx/clutter-stage-osx.h \
551 $(srcdir)/osx/clutter-device-manager-osx.h \
554 osx_source_c_priv = \
555 $(srcdir)/osx/clutter-event-loop-osx.c \
556 $(srcdir)/osx/clutter-event-osx.c \
557 $(srcdir)/osx/clutter-device-manager-osx.c \
561 # we need to tell the compiler that part of our code base is
563 AM_CFLAGS += -xobjective-c
565 backend_source_h += $(osx_source_h)
566 backend_source_c += $(osx_source_c)
567 backend_source_h_priv += $(osx_source_h_priv)
568 backend_source_c_priv += $(osx_source_c_priv)
570 clutterosx_includedir = $(clutter_includedir)/osx
571 clutterosx_include_HEADERS = $(osx_source_h)
574 # Wayland backend rules
576 backend_source_h += \
577 $(srcdir)/wayland/clutter-wayland.h
579 backend_source_h_priv += \
580 $(srcdir)/evdev/clutter-xkb-utils.h \
581 $(srcdir)/wayland/clutter-backend-wayland.h \
582 $(srcdir)/wayland/clutter-stage-wayland.h
584 backend_source_c += \
585 $(srcdir)/evdev/clutter-xkb-utils.c \
586 $(srcdir)/wayland/clutter-backend-wayland.c \
587 $(srcdir)/wayland/clutter-stage-wayland.c \
588 $(srcdir)/wayland/clutter-event-wayland.c \
589 $(srcdir)/wayland/clutter-input-device-wayland.c
591 clutterwayland_includedir = $(clutter_includedir)/wayland
592 clutterwayland_include_HEADERS = $(wayland_source_h)
593 endif # SUPPORT_WAYLAND
597 $(srcdir)/cally/cally-actor.h \
598 $(srcdir)/cally/cally-clone.h \
599 $(srcdir)/cally/cally-factory.h \
600 $(srcdir)/cally/cally-group.h \
601 $(srcdir)/cally/cally.h \
602 $(srcdir)/cally/cally-main.h \
603 $(srcdir)/cally/cally-rectangle.h \
604 $(srcdir)/cally/cally-root.h \
605 $(srcdir)/cally/cally-stage.h \
606 $(srcdir)/cally/cally-text.h \
607 $(srcdir)/cally/cally-texture.h \
608 $(srcdir)/cally/cally-util.h \
612 $(srcdir)/cally/cally-actor.c \
613 $(srcdir)/cally/cally.c \
614 $(srcdir)/cally/cally-clone.c \
615 $(srcdir)/cally/cally-group.c \
616 $(srcdir)/cally/cally-rectangle.c \
617 $(srcdir)/cally/cally-root.c \
618 $(srcdir)/cally/cally-stage.c \
619 $(srcdir)/cally/cally-text.c \
620 $(srcdir)/cally/cally-texture.c \
621 $(srcdir)/cally/cally-util.c \
624 cally_sources_private = \
625 $(srcdir)/cally/cally-actor-private.h \
628 cally_includedir = $(clutter_base_includedir)/cally
629 cally_include_HEADERS = $(cally_sources_h)
631 pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
632 EXTRA_DIST += cally/cally.pc.in
634 # general build rules:
635 # you should not need to modify anything below this point
637 # glib-genmarshal rules
638 glib_marshal_list = clutter-marshal.list
639 glib_marshal_prefix = _clutter_marshal
640 include $(top_srcdir)/build/autotools/Makefile.am.marshal
643 glib_enum_h = clutter-enum-types.h
644 glib_enum_c = clutter-enum-types.c
645 glib_enum_headers = $(source_h) $(backend_source_h)
646 include $(top_srcdir)/build/autotools/Makefile.am.enums
648 # backend-specific pkg-config file
649 clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
650 $(QUIET_GEN)cp -f $< $(@F)
652 pc_files += clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc
654 pkgconfigdir = $(libdir)/pkgconfig
655 pkgconfig_DATA = $(pc_files)
656 DISTCLEANFILES += $(pc_files)
658 clutter_include_HEADERS = $(source_h) $(top_srcdir)/clutter/clutter.h
659 nodist_clutter_include_HEADERS = \
660 $(top_builddir)/clutter/clutter-config.h \
661 $(top_builddir)/clutter/clutter-version.h \
664 clutter_deprecated_HEADERS = $(deprecated_h)
666 lib_LTLIBRARIES += libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
668 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \
671 $(CLUTTER_PROFILE_LIBS)
673 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
676 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
677 $(backend_source_c) \
678 $(backend_source_h) \
679 $(backend_source_c_priv) \
680 $(backend_source_h_priv) \
687 $(deprecated_c_priv) \
688 $(deprecated_h_priv) \
691 $(cally_sources_private) \
694 nodist_libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
695 $(backend_source_built) \
699 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LDFLAGS = \
700 $(CLUTTER_LINK_FLAGS) \
701 $(CLUTTER_LT_LDFLAGS) \
704 -export-symbols-regex "^(clutter|cally).*" \
706 $(win32_resources_ldflag) \
709 # gobject-introspection rules
710 -include $(INTROSPECTION_MAKEFILE)
712 if HAVE_INTROSPECTION
713 Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la Makefile
715 Clutter_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Clutter
716 Clutter_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
717 Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
718 Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = \
719 $(clutter_include_HEADERS) \
720 $(clutter_deprecated_HEADERS) \
721 $(nodist_clutter_include_HEADERS) \
725 Clutter_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
726 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
727 Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
729 --c-include='clutter/clutter.h' \
730 --pkg-export=clutter-@CLUTTER_API_VERSION@
732 INTROSPECTION_GIRS += Clutter-@CLUTTER_API_VERSION@.gir
734 Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
736 Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
737 Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
738 Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
739 Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
740 Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
741 Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
742 --identifier-prefix=Cally \
743 --symbol-prefix=cally \
744 --c-include='cally/cally.h' \
745 --pkg-export=cally-@CLUTTER_API_VERSION@ \
746 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
748 INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
751 ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
753 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
754 --identifier-prefix=ClutterX11 \
755 --symbol-prefix=clutter_x11 \
756 --c-include='clutter/x11/clutter-x11.h' \
757 --pkg-export=clutter-x11-@CLUTTER_API_VERSION@ \
758 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
759 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
760 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
761 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
762 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
764 INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
767 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
768 # install anything - we need to install inside our prefix.
769 girdir = $(datadir)/gir-1.0
770 gir_DATA = $(INTROSPECTION_GIRS)
772 typelibdir = $(libdir)/girepository-1.0
773 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
775 CLEANFILES += $(gir_DATA) $(typelib_DATA)
776 endif # HAVE_INTROSPECTION
779 gcov_sources = $(source_c) $(backend_source_c)
780 include $(top_srcdir)/build/autotools/Makefile.am.gcov