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 clutterx11_includedir = $(clutter_includedir)/x11
372 clutterx11_include_HEADERS = $(x11_source_h)
375 # Shared cogl backend files
379 $(srcdir)/cogl/clutter-backend-cogl.c \
380 $(srcdir)/cogl/clutter-stage-cogl.c \
383 cogl_source_h_priv = \
384 $(srcdir)/cogl/clutter-backend-cogl.h \
385 $(srcdir)/cogl/clutter-stage-cogl.h \
390 # pkg-config file for the cogl meta-backend
391 clutter-cogl-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
392 $(QUIET_GEN)cp -f $< $(@F)
394 pc_files += clutter-cogl-$(CLUTTER_API_VERSION).pc
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)/x11/clutter-glx-texture-pixmap.c
402 glx_source_h = $(srcdir)/x11/clutter-glx-texture-pixmap.h \
403 $(srcdir)/x11/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)
446 cluttergdk_includedir = $(clutter_includedir)/gdk
447 cluttergdk_include_HEADERS = $(gdk_source_h)
450 # Windows backend rules
452 $(srcdir)/win32/clutter-backend-win32.c \
453 $(srcdir)/win32/clutter-device-manager-win32.c \
454 $(srcdir)/win32/clutter-event-win32.c \
455 $(srcdir)/win32/clutter-stage-win32.c \
459 $(srcdir)/win32/clutter-win32.h \
462 win32_source_h_priv = \
463 $(srcdir)/win32/clutter-backend-win32.h \
464 $(srcdir)/win32/clutter-device-manager-win32.h \
465 $(srcdir)/win32/clutter-stage-win32.h \
469 # Ideally this resources stuff would go in win32/ but libtool doesn't
470 # seem to pass on the -Wl argument when linking a convenience library
471 # so we need to do it here as part of linking the dll. libtool also
472 # won't let you link against the .o directly because it wants you to
473 # link against libtool objects for dynamic libraries.
476 $(WINDRES) -I$(srcdir)/win32 $< $@
478 win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
480 win32_resources = win32/resources.o
481 win32_resources_ldflag = -Wl,win32/resources.o
483 backend_source_h += $(win32_source_h)
484 backend_source_c += $(win32_source_c)
485 backend_source_h_priv += $(win32_source_h_priv)
487 clutterwin_includedir = $(clutter_includedir)/win32
488 clutterwin_include_HEADERS = $(win32_source_h)
489 endif # SUPPORT_WIN32
492 $(srcdir)/win32/invisible-cursor.cur \
493 $(srcdir)/win32/resources.rc \
498 $(srcdir)/cogl/clutter-egl-headers.h \
499 $(srcdir)/cogl/clutter-egl.h \
502 egl_tslib_c = $(srcdir)/cogl/clutter-event-tslib.c
505 $(srcdir)/evdev/clutter-xkb-utils.c \
506 $(srcdir)/evdev/clutter-device-manager-evdev.c \
507 $(srcdir)/evdev/clutter-input-device-evdev.c \
510 $(srcdir)/evdev/clutter-xkb-utils.h \
511 $(srcdir)/evdev/clutter-device-manager-evdev.h \
512 $(srcdir)/evdev/clutter-input-device-evdev.h \
515 cex_h = cogl/clutter-cex100.h
516 BUILT_SOURCES += $(cex_h)
517 EXTRA_DIST += $(srcdir)/$(cex_h).in
520 backend_source_c_priv += $(egl_tslib_c)
521 endif # SUPPORT_TSLIB
524 backend_source_c_priv += $(evdev_c_priv)
525 backend_source_h_priv += $(evdev_h_priv)
526 endif # SUPPORT_EVDEV
529 backend_source_h += $(cex_h)
530 endif # SUPPORT_CEX100
533 backend_source_h += $(cogl_source_h) $(egl_source_h)
534 backend_source_c += $(cogl_source_c)
535 backend_source_h_priv += $(cogl_source_h_priv)
536 backend_source_c_priv += $(cogl_source_c_priv)
538 clutteregl_includedir = $(clutter_includedir)/egl
539 clutteregl_include_HEADERS = $(egl_source_h)
544 $(srcdir)/osx/clutter-backend-osx.c \
545 $(srcdir)/osx/clutter-stage-osx.c \
548 osx_source_h = $(srcdir)/osx/clutter-osx.h
550 osx_source_h_priv = \
551 $(srcdir)/osx/clutter-backend-osx.h \
552 $(srcdir)/osx/clutter-event-loop-osx.h \
553 $(srcdir)/osx/clutter-stage-osx.h \
554 $(srcdir)/osx/clutter-device-manager-osx.h \
557 osx_source_c_priv = \
558 $(srcdir)/osx/clutter-event-loop-osx.c \
559 $(srcdir)/osx/clutter-event-osx.c \
560 $(srcdir)/osx/clutter-device-manager-osx.c \
564 # we need to tell the compiler that part of our code base is
566 AM_CFLAGS += -xobjective-c
568 backend_source_h += $(osx_source_h)
569 backend_source_c += $(osx_source_c)
570 backend_source_h_priv += $(osx_source_h_priv)
571 backend_source_c_priv += $(osx_source_c_priv)
573 clutterosx_includedir = $(clutter_includedir)/osx
574 clutterosx_include_HEADERS = $(osx_source_h)
577 # Wayland backend rules
579 backend_source_h += \
580 $(srcdir)/wayland/clutter-wayland.h
582 backend_source_h_priv += \
583 $(srcdir)/evdev/clutter-xkb-utils.h \
584 $(srcdir)/wayland/clutter-backend-wayland.h \
585 $(srcdir)/wayland/clutter-stage-wayland.h
587 backend_source_c += \
588 $(srcdir)/evdev/clutter-xkb-utils.c \
589 $(srcdir)/wayland/clutter-backend-wayland.c \
590 $(srcdir)/wayland/clutter-stage-wayland.c \
591 $(srcdir)/wayland/clutter-event-wayland.c \
592 $(srcdir)/wayland/clutter-input-device-wayland.c
594 clutterwayland_includedir = $(clutter_includedir)/wayland
595 clutterwayland_include_HEADERS = $(wayland_source_h)
596 endif # SUPPORT_WAYLAND
600 $(srcdir)/cally/cally-actor.h \
601 $(srcdir)/cally/cally-clone.h \
602 $(srcdir)/cally/cally-factory.h \
603 $(srcdir)/cally/cally-group.h \
604 $(srcdir)/cally/cally.h \
605 $(srcdir)/cally/cally-main.h \
606 $(srcdir)/cally/cally-rectangle.h \
607 $(srcdir)/cally/cally-root.h \
608 $(srcdir)/cally/cally-stage.h \
609 $(srcdir)/cally/cally-text.h \
610 $(srcdir)/cally/cally-texture.h \
611 $(srcdir)/cally/cally-util.h \
615 $(srcdir)/cally/cally-actor.c \
616 $(srcdir)/cally/cally.c \
617 $(srcdir)/cally/cally-clone.c \
618 $(srcdir)/cally/cally-group.c \
619 $(srcdir)/cally/cally-rectangle.c \
620 $(srcdir)/cally/cally-root.c \
621 $(srcdir)/cally/cally-stage.c \
622 $(srcdir)/cally/cally-text.c \
623 $(srcdir)/cally/cally-texture.c \
624 $(srcdir)/cally/cally-util.c \
627 cally_sources_private = \
628 $(srcdir)/cally/cally-actor-private.h \
631 cally_includedir = $(clutter_base_includedir)/cally
632 cally_include_HEADERS = $(cally_sources_h)
634 pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
635 EXTRA_DIST += cally/cally.pc.in
637 # general build rules:
638 # you should not need to modify anything below this point
640 # glib-genmarshal rules
641 glib_marshal_list = clutter-marshal.list
642 glib_marshal_prefix = _clutter_marshal
643 include $(top_srcdir)/build/autotools/Makefile.am.marshal
646 glib_enum_h = clutter-enum-types.h
647 glib_enum_c = clutter-enum-types.c
648 glib_enum_headers = $(source_h) $(backend_source_h)
649 include $(top_srcdir)/build/autotools/Makefile.am.enums
651 # backend-specific pkg-config file
652 clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
653 $(QUIET_GEN)cp -f $< $(@F)
655 pc_files += clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc
657 pkgconfigdir = $(libdir)/pkgconfig
658 pkgconfig_DATA = $(pc_files)
659 DISTCLEANFILES += $(pc_files)
661 clutter_include_HEADERS = $(source_h) $(top_srcdir)/clutter/clutter.h
662 nodist_clutter_include_HEADERS = \
663 $(top_builddir)/clutter/clutter-config.h \
664 $(top_builddir)/clutter/clutter-version.h \
667 clutter_deprecated_HEADERS = $(deprecated_h)
669 lib_LTLIBRARIES += libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
671 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \
674 $(CLUTTER_PROFILE_LIBS)
676 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
679 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
680 $(backend_source_c) \
681 $(backend_source_h) \
682 $(backend_source_c_priv) \
683 $(backend_source_h_priv) \
690 $(deprecated_c_priv) \
691 $(deprecated_h_priv) \
694 $(cally_sources_private) \
697 nodist_libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_SOURCES = \
698 $(backend_source_built) \
702 libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LDFLAGS = \
703 $(CLUTTER_LINK_FLAGS) \
704 $(CLUTTER_LT_LDFLAGS) \
707 -export-symbols-regex "^(clutter|cally).*" \
709 $(win32_resources_ldflag) \
712 # gobject-introspection rules
713 -include $(INTROSPECTION_MAKEFILE)
715 if HAVE_INTROSPECTION
716 Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la Makefile
718 Clutter_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Clutter
719 Clutter_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
720 Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
721 Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = \
722 $(clutter_include_HEADERS) \
723 $(clutter_deprecated_HEADERS) \
724 $(nodist_clutter_include_HEADERS) \
728 Clutter_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
729 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
730 Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
732 --c-include='clutter/clutter.h' \
733 --pkg-export=clutter-@CLUTTER_API_VERSION@
735 INTROSPECTION_GIRS += Clutter-@CLUTTER_API_VERSION@.gir
737 Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
739 Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
740 Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
741 Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
742 Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
743 Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
744 Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
745 --identifier-prefix=Cally \
746 --symbol-prefix=cally \
747 --c-include='cally/cally.h' \
748 --pkg-export=cally-@CLUTTER_API_VERSION@ \
749 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
751 INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
754 ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
756 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
757 --identifier-prefix=ClutterX11 \
758 --symbol-prefix=clutter_x11 \
759 --c-include='clutter/x11/clutter-x11.h' \
760 --pkg-export=clutter-x11-@CLUTTER_API_VERSION@ \
761 --include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
762 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
763 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
764 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
765 ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
767 INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
770 # INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
771 # install anything - we need to install inside our prefix.
772 girdir = $(datadir)/gir-1.0
773 gir_DATA = $(INTROSPECTION_GIRS)
775 typelibdir = $(libdir)/girepository-1.0
776 typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
778 CLEANFILES += $(gir_DATA) $(typelib_DATA)
779 endif # HAVE_INTROSPECTION
782 gcov_sources = $(source_c) $(backend_source_c)
783 include $(top_srcdir)/build/autotools/Makefile.am.gcov