2009-09-16 16:43:58 +00:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
2009-08-10 10:45:44 +00:00
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# preamble
|
2009-09-16 16:43:58 +00:00
|
|
|
NULL =
|
2007-03-22 18:21:59 +00:00
|
|
|
|
2009-10-13 16:27:19 +00:00
|
|
|
# common definitions
|
|
|
|
CLEANFILES =
|
|
|
|
DISTCLEANFILES =
|
|
|
|
EXTRA_DIST =
|
|
|
|
BUILT_SOURCES =
|
2009-10-13 18:27:03 +00:00
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
lib_LTLIBRARIES =
|
2010-01-15 22:56:37 +00:00
|
|
|
|
2007-03-22 18:21:59 +00:00
|
|
|
INCLUDES = \
|
2009-07-29 16:21:07 +00:00
|
|
|
-I$(top_srcdir) \
|
2010-09-13 10:30:30 +00:00
|
|
|
-I$(top_srcdir)/clutter \
|
|
|
|
-I$(top_srcdir)/clutter/cally \
|
2010-02-26 09:48:43 +00:00
|
|
|
-I$(top_builddir) \
|
2009-07-29 16:21:07 +00:00
|
|
|
-I$(top_builddir)/clutter \
|
2011-02-22 15:51:13 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2009-10-13 18:27:03 +00:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DCLUTTER_PREFIX=\""$(prefix)"\" \
|
|
|
|
-DCLUTTER_LIBDIR=\""$(libdir)"\" \
|
|
|
|
-DCLUTTER_DATADIR=\""$(datadir)"\" \
|
2010-09-07 22:35:06 +00:00
|
|
|
-DCLUTTER_LOCALEDIR=\""$(localedir)"\" \
|
2011-10-11 13:42:31 +00:00
|
|
|
-DCLUTTER_SYSCONFDIR=\""$(sysconfdir)"\" \
|
2009-10-13 18:27:03 +00:00
|
|
|
-DCLUTTER_COMPILATION=1 \
|
2010-02-10 10:58:14 +00:00
|
|
|
-DCOGL_ENABLE_EXPERIMENTAL_API \
|
2009-10-13 18:27:03 +00:00
|
|
|
-DG_LOG_DOMAIN=\"Clutter\" \
|
2011-06-14 13:47:14 +00:00
|
|
|
$(CLUTTER_DEPRECATED_CFLAGS) \
|
2009-12-02 16:03:55 +00:00
|
|
|
$(CLUTTER_DEBUG_CFLAGS) \
|
2010-11-07 15:27:17 +00:00
|
|
|
$(CLUTTER_PROFILE_CFLAGS) \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2012-06-19 13:17:05 +00:00
|
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS)
|
2007-03-22 18:21:59 +00:00
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# these are the gir files we generate using g-ir-scanner
|
|
|
|
INTROSPECTION_GIRS =
|
|
|
|
|
|
|
|
# the base include path for headers
|
2010-10-04 00:17:40 +00:00
|
|
|
clutter_base_includedir = $(includedir)/clutter-$(CLUTTER_API_VERSION)
|
|
|
|
clutter_includedir = $(clutter_base_includedir)/clutter
|
2011-10-04 09:51:09 +00:00
|
|
|
clutter_deprecateddir = $(clutter_base_includedir)/clutter/deprecated
|
2010-09-13 10:30:30 +00:00
|
|
|
|
|
|
|
# pkg-config files
|
|
|
|
pc_files =
|
|
|
|
|
|
|
|
# common sources - please, keep these sorted alphabetically
|
2006-11-15 23:37:53 +00:00
|
|
|
source_h = \
|
2010-05-11 16:09:13 +00:00
|
|
|
$(srcdir)/clutter-action.h \
|
2010-05-14 15:42:50 +00:00
|
|
|
$(srcdir)/clutter-actor-meta.h \
|
2006-11-15 23:37:53 +00:00
|
|
|
$(srcdir)/clutter-actor.h \
|
2010-05-19 12:02:43 +00:00
|
|
|
$(srcdir)/clutter-align-constraint.h \
|
2009-01-08 12:56:46 +00:00
|
|
|
$(srcdir)/clutter-animatable.h \
|
2007-07-04 09:34:24 +00:00
|
|
|
$(srcdir)/clutter-backend.h \
|
2010-05-19 11:25:28 +00:00
|
|
|
$(srcdir)/clutter-bind-constraint.h \
|
2008-12-08 13:57:10 +00:00
|
|
|
$(srcdir)/clutter-binding-pool.h \
|
2009-09-11 12:51:23 +00:00
|
|
|
$(srcdir)/clutter-bin-layout.h \
|
2010-04-08 17:46:54 +00:00
|
|
|
$(srcdir)/clutter-blur-effect.h \
|
2009-10-13 11:14:05 +00:00
|
|
|
$(srcdir)/clutter-box-layout.h \
|
2012-02-02 21:23:00 +00:00
|
|
|
$(srcdir)/clutter-brightness-contrast-effect.h \
|
2012-04-17 17:40:43 +00:00
|
|
|
$(srcdir)/clutter-cairo.h \
|
2012-03-08 10:31:21 +00:00
|
|
|
$(srcdir)/clutter-canvas.h \
|
2008-05-28 13:48:11 +00:00
|
|
|
$(srcdir)/clutter-child-meta.h \
|
2010-05-24 09:41:19 +00:00
|
|
|
$(srcdir)/clutter-click-action.h \
|
2012-02-23 17:01:40 +00:00
|
|
|
$(srcdir)/clutter-cogl-compat.h \
|
2009-01-26 10:32:53 +00:00
|
|
|
$(srcdir)/clutter-clone.h \
|
2010-04-06 09:54:20 +00:00
|
|
|
$(srcdir)/clutter-color-static.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-color.h \
|
2010-04-13 23:40:24 +00:00
|
|
|
$(srcdir)/clutter-colorize-effect.h \
|
2010-05-14 11:13:49 +00:00
|
|
|
$(srcdir)/clutter-constraint.h \
|
2009-11-20 15:35:40 +00:00
|
|
|
$(srcdir)/clutter-container.h \
|
2012-02-01 18:33:55 +00:00
|
|
|
$(srcdir)/clutter-content.h \
|
2010-06-09 16:52:06 +00:00
|
|
|
$(srcdir)/clutter-deform-effect.h \
|
2009-11-20 15:35:40 +00:00
|
|
|
$(srcdir)/clutter-deprecated.h \
|
2010-04-09 15:14:21 +00:00
|
|
|
$(srcdir)/clutter-desaturate-effect.h \
|
2009-11-20 15:35:40 +00:00
|
|
|
$(srcdir)/clutter-device-manager.h \
|
2010-05-12 11:00:33 +00:00
|
|
|
$(srcdir)/clutter-drag-action.h \
|
2011-06-17 15:54:31 +00:00
|
|
|
$(srcdir)/clutter-drop-action.h \
|
2010-04-08 09:55:15 +00:00
|
|
|
$(srcdir)/clutter-effect.h \
|
2011-10-04 12:28:04 +00:00
|
|
|
$(srcdir)/clutter-enums.h \
|
2007-06-07 14:41:35 +00:00
|
|
|
$(srcdir)/clutter-event.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-feature.h \
|
2009-09-02 11:37:16 +00:00
|
|
|
$(srcdir)/clutter-fixed-layout.h \
|
2009-09-18 16:28:02 +00:00
|
|
|
$(srcdir)/clutter-flow-layout.h \
|
2011-10-04 09:51:09 +00:00
|
|
|
$(srcdir)/clutter-gesture-action.h \
|
2012-06-03 03:02:31 +00:00
|
|
|
$(srcdir)/clutter-grid-layout.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-group.h \
|
2012-03-08 16:38:45 +00:00
|
|
|
$(srcdir)/clutter-image.h \
|
2009-11-23 16:07:16 +00:00
|
|
|
$(srcdir)/clutter-input-device.h \
|
2008-11-17 Emmanuele Bassi <ebassi@linux.intel.com>
Bug 1014 - Clutter Animation API Improvements
* clutter/Makefile.am:
* clutter/clutter.h: Update the build
* clutter/clutter-types.h: Add AnimationMode, an enumeration
for easing functions.
* clutter/clutter-alpha.[ch]: Add the :mode property to
control the function bound to an Alpha instance using an
enumeration value. Also add six new alpha functions:
- ease-in, ease-out, ease-in-out
- sine-in, sine-out, sine-in-out
* clutter/clutter-deprecated.h: Deprecate the #defines for
the alpha functions. They will be replaced by entries in the
ClutterAnimationMode.
* clutter/clutter-interval.[ch]: Add ClutterInterval, an
object for defining, validating and computing an interval
between two values.
* clutter/clutter-animation.[ch]: Add ClutterAnimation, an
object responsible for animation the properties of a single
actor along an interval of values. ClutterAnimation memory
management is automatic. A simple wrapper method for
ClutterActor is provided:
clutter_actor_animate()
which will create, or update, an animation for the passed
actor.
* clutter/clutter-debug.h:
* clutter/clutter-main.c: Add a new 'animation' debug note.
* clutter/clutter-script.c: Clean up the alpha functions
whitelist, and add the new functions.
* doc/reference/clutter/Makefile.am:
* doc/reference/clutter/clutter-sections.txt: Update the
API reference.
* doc/reference/clutter/clutter-animation.xml: Renamed to
doc/reference/clutter/clutter-animation-tutorial.xml to
avoid clashes with the ClutterAnimation section.
* doc/reference/clutter/clutter-docs.sgml: Renamed to
doc/reference/clutter/clutter-docs.xml, as it was an XML
file and not a SGML file.
* tests/Makefile.am:
* tests/interactive/Makefile.am:
* tests/interactive/test-animation.c:
* tests/interactive/test-easing.c: Add two tests for the
new simple animation API and the easing functions.
* tests/interactive/test-actors.c:
* tests/interactive/test-behave.c:
* tests/interactive/test-depth.c:
* tests/interactive/test-effects.c:
* tests/interactive/test-layout.c:
* tests/interactive/test-multistage.c:
* tests/interactive/test-paint-wrapper.c:
* tests/interactive/test-rotate.c:
* tests/interactive/test-scale.c:
* tests/interactive/test-texture-quality.c:
* tests/interactive/test-threads.c:
* tests/interactive/test-viewport.c: Update interactive tests
to the deprecations and new alpha API.
2008-11-18 09:50:03 +00:00
|
|
|
$(srcdir)/clutter-interval.h \
|
2012-04-11 14:53:52 +00:00
|
|
|
$(srcdir)/clutter-keyframe-transition.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-keysyms.h \
|
2009-09-01 15:34:28 +00:00
|
|
|
$(srcdir)/clutter-layout-manager.h \
|
2009-09-15 16:37:11 +00:00
|
|
|
$(srcdir)/clutter-layout-meta.h \
|
2008-01-09 14:40:31 +00:00
|
|
|
$(srcdir)/clutter-list-model.h \
|
2012-02-27 14:03:57 +00:00
|
|
|
$(srcdir)/clutter-macros.h \
|
2007-06-07 14:41:35 +00:00
|
|
|
$(srcdir)/clutter-main.h \
|
2007-11-15 10:02:25 +00:00
|
|
|
$(srcdir)/clutter-model.h \
|
2010-05-17 10:39:27 +00:00
|
|
|
$(srcdir)/clutter-offscreen-effect.h \
|
2010-06-10 15:56:16 +00:00
|
|
|
$(srcdir)/clutter-page-turn-effect.h \
|
Add PaintNode, an element on the render object tree
Now that we have a proper scene graph API, we should split out the
rendering part from the logical and event handling part.
ClutterPaintNode is a lightweight fundamental type that encodes only the
paint operations: pipeline state and geometry. At its most simple, is a
way to structure setting up the programmable pipeline using a
CoglPipeline, and submitting Cogl primitives. The important take away
from this API is that you are not allowed to call Cogl API like
cogl_set_source() or cogl_primitive_draw() directly.
The interesting approach to this is that, in the future, we should be
able to move to a purely retained mode: we will decide which actors need
to be painted, they will update their own branch of the render graph,
and we'll take the render graph and build all the rendering commands
from that.
For the 1.x API, we will have to maintain invariants and the existing
behaviour, but as soon as we can break API, the old paint signal will
just go away, and Actors will only be allowed to manipulate the render
tree.
2012-02-01 15:51:27 +00:00
|
|
|
$(srcdir)/clutter-paint-nodes.h \
|
|
|
|
$(srcdir)/clutter-paint-node.h \
|
2012-08-25 14:23:23 +00:00
|
|
|
$(srcdir)/clutter-pan-action.h \
|
2010-10-25 14:46:04 +00:00
|
|
|
$(srcdir)/clutter-path-constraint.h \
|
2008-12-05 13:13:37 +00:00
|
|
|
$(srcdir)/clutter-path.h \
|
2012-03-15 11:06:00 +00:00
|
|
|
$(srcdir)/clutter-property-transition.h \
|
2012-06-22 01:38:21 +00:00
|
|
|
$(srcdir)/clutter-rotate-action.h \
|
2007-10-08 15:03:22 +00:00
|
|
|
$(srcdir)/clutter-script.h \
|
2007-10-25 14:34:54 +00:00
|
|
|
$(srcdir)/clutter-scriptable.h \
|
2012-04-12 14:56:53 +00:00
|
|
|
$(srcdir)/clutter-scroll-actor.h \
|
2010-06-21 14:42:20 +00:00
|
|
|
$(srcdir)/clutter-settings.h \
|
2010-04-13 15:40:31 +00:00
|
|
|
$(srcdir)/clutter-shader-effect.h \
|
2008-11-18 15:08:40 +00:00
|
|
|
$(srcdir)/clutter-shader-types.h \
|
2011-03-09 09:06:44 +00:00
|
|
|
$(srcdir)/clutter-swipe-action.h \
|
2010-11-10 16:37:34 +00:00
|
|
|
$(srcdir)/clutter-snap-constraint.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-stage.h \
|
2008-03-28 22:50:55 +00:00
|
|
|
$(srcdir)/clutter-stage-manager.h \
|
2010-03-18 16:02:31 +00:00
|
|
|
$(srcdir)/clutter-table-layout.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-texture.h \
|
2012-02-27 15:56:12 +00:00
|
|
|
$(srcdir)/clutter-text.h \
|
2011-06-15 09:06:31 +00:00
|
|
|
$(srcdir)/clutter-text-buffer.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-timeline.h \
|
2012-03-20 10:59:34 +00:00
|
|
|
$(srcdir)/clutter-transition-group.h \
|
2012-03-15 11:04:31 +00:00
|
|
|
$(srcdir)/clutter-transition.h \
|
2007-07-26 13:13:23 +00:00
|
|
|
$(srcdir)/clutter-types.h \
|
2007-05-22 09:31:40 +00:00
|
|
|
$(srcdir)/clutter-units.h \
|
2012-08-14 02:35:43 +00:00
|
|
|
$(srcdir)/clutter-zoom-action.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(NULL)
|
2007-01-23 20:29:11 +00:00
|
|
|
|
2007-03-22 18:21:59 +00:00
|
|
|
source_c = \
|
2010-05-11 16:09:13 +00:00
|
|
|
$(srcdir)/clutter-action.c \
|
2010-10-11 14:57:22 +00:00
|
|
|
$(srcdir)/clutter-actor-box.c \
|
2010-05-14 15:42:50 +00:00
|
|
|
$(srcdir)/clutter-actor-meta.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-actor.c \
|
2010-05-19 12:02:43 +00:00
|
|
|
$(srcdir)/clutter-align-constraint.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-animatable.c \
|
|
|
|
$(srcdir)/clutter-backend.c \
|
2012-03-30 17:22:04 +00:00
|
|
|
$(srcdir)/clutter-base-types.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-bezier.c \
|
2010-05-19 11:25:28 +00:00
|
|
|
$(srcdir)/clutter-bind-constraint.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-binding-pool.c \
|
2009-09-11 12:51:23 +00:00
|
|
|
$(srcdir)/clutter-bin-layout.c \
|
2010-04-08 17:46:54 +00:00
|
|
|
$(srcdir)/clutter-blur-effect.c \
|
2009-10-13 11:14:05 +00:00
|
|
|
$(srcdir)/clutter-box-layout.c \
|
2012-02-02 21:23:00 +00:00
|
|
|
$(srcdir)/clutter-brightness-contrast-effect.c \
|
2012-04-17 17:40:43 +00:00
|
|
|
$(srcdir)/clutter-cairo.c \
|
2012-03-08 10:31:21 +00:00
|
|
|
$(srcdir)/clutter-canvas.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-child-meta.c \
|
2010-05-24 09:41:19 +00:00
|
|
|
$(srcdir)/clutter-click-action.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-clone.c \
|
|
|
|
$(srcdir)/clutter-color.c \
|
2010-04-13 23:40:24 +00:00
|
|
|
$(srcdir)/clutter-colorize-effect.c \
|
2010-05-14 11:13:49 +00:00
|
|
|
$(srcdir)/clutter-constraint.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-container.c \
|
2012-02-01 18:33:55 +00:00
|
|
|
$(srcdir)/clutter-content.c \
|
2010-06-09 16:52:06 +00:00
|
|
|
$(srcdir)/clutter-deform-effect.c \
|
2010-04-09 15:14:21 +00:00
|
|
|
$(srcdir)/clutter-desaturate-effect.c \
|
2009-11-20 15:35:40 +00:00
|
|
|
$(srcdir)/clutter-device-manager.c \
|
2010-05-12 11:00:33 +00:00
|
|
|
$(srcdir)/clutter-drag-action.c \
|
2011-06-17 15:54:31 +00:00
|
|
|
$(srcdir)/clutter-drop-action.c \
|
2010-04-08 09:55:15 +00:00
|
|
|
$(srcdir)/clutter-effect.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-event.c \
|
|
|
|
$(srcdir)/clutter-feature.c \
|
2009-09-02 11:37:16 +00:00
|
|
|
$(srcdir)/clutter-fixed-layout.c \
|
2011-02-28 15:05:51 +00:00
|
|
|
$(srcdir)/clutter-flatten-effect.c \
|
2009-09-18 16:28:02 +00:00
|
|
|
$(srcdir)/clutter-flow-layout.c \
|
2011-10-04 09:51:09 +00:00
|
|
|
$(srcdir)/clutter-gesture-action.c \
|
2012-06-03 03:02:31 +00:00
|
|
|
$(srcdir)/clutter-grid-layout.c \
|
2012-03-08 16:38:45 +00:00
|
|
|
$(srcdir)/clutter-image.c \
|
2009-11-23 16:07:16 +00:00
|
|
|
$(srcdir)/clutter-input-device.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-interval.c \
|
2012-04-11 14:53:52 +00:00
|
|
|
$(srcdir)/clutter-keyframe-transition.c \
|
2011-02-28 14:02:00 +00:00
|
|
|
$(srcdir)/clutter-keysyms-table.c \
|
2009-09-01 15:34:28 +00:00
|
|
|
$(srcdir)/clutter-layout-manager.c \
|
2009-09-15 16:37:11 +00:00
|
|
|
$(srcdir)/clutter-layout-meta.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-list-model.c \
|
|
|
|
$(srcdir)/clutter-main.c \
|
2009-03-21 20:39:32 +00:00
|
|
|
$(srcdir)/clutter-master-clock.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-model.c \
|
2010-05-17 10:39:27 +00:00
|
|
|
$(srcdir)/clutter-offscreen-effect.c \
|
2010-06-10 15:56:16 +00:00
|
|
|
$(srcdir)/clutter-page-turn-effect.c \
|
Add PaintNode, an element on the render object tree
Now that we have a proper scene graph API, we should split out the
rendering part from the logical and event handling part.
ClutterPaintNode is a lightweight fundamental type that encodes only the
paint operations: pipeline state and geometry. At its most simple, is a
way to structure setting up the programmable pipeline using a
CoglPipeline, and submitting Cogl primitives. The important take away
from this API is that you are not allowed to call Cogl API like
cogl_set_source() or cogl_primitive_draw() directly.
The interesting approach to this is that, in the future, we should be
able to move to a purely retained mode: we will decide which actors need
to be painted, they will update their own branch of the render graph,
and we'll take the render graph and build all the rendering commands
from that.
For the 1.x API, we will have to maintain invariants and the existing
behaviour, but as soon as we can break API, the old paint signal will
just go away, and Actors will only be allowed to manipulate the render
tree.
2012-02-01 15:51:27 +00:00
|
|
|
$(srcdir)/clutter-paint-nodes.c \
|
|
|
|
$(srcdir)/clutter-paint-node.c \
|
2012-08-25 14:23:23 +00:00
|
|
|
$(srcdir)/clutter-pan-action.c \
|
2010-10-25 14:46:04 +00:00
|
|
|
$(srcdir)/clutter-path-constraint.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-path.c \
|
2012-03-15 11:06:00 +00:00
|
|
|
$(srcdir)/clutter-property-transition.c \
|
2012-06-22 01:38:21 +00:00
|
|
|
$(srcdir)/clutter-rotate-action.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-script.c \
|
|
|
|
$(srcdir)/clutter-script-parser.c \
|
|
|
|
$(srcdir)/clutter-scriptable.c \
|
2012-04-12 14:56:53 +00:00
|
|
|
$(srcdir)/clutter-scroll-actor.c \
|
2010-06-21 14:42:20 +00:00
|
|
|
$(srcdir)/clutter-settings.c \
|
2010-04-13 15:40:31 +00:00
|
|
|
$(srcdir)/clutter-shader-effect.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-shader-types.c \
|
2011-03-09 09:06:44 +00:00
|
|
|
$(srcdir)/clutter-swipe-action.c \
|
2010-11-10 16:37:34 +00:00
|
|
|
$(srcdir)/clutter-snap-constraint.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-stage.c \
|
|
|
|
$(srcdir)/clutter-stage-manager.c \
|
|
|
|
$(srcdir)/clutter-stage-window.c \
|
2010-03-18 16:02:31 +00:00
|
|
|
$(srcdir)/clutter-table-layout.c \
|
2012-03-15 11:04:31 +00:00
|
|
|
$(srcdir)/clutter-text.c \
|
2011-06-15 09:06:31 +00:00
|
|
|
$(srcdir)/clutter-text-buffer.c \
|
2012-03-20 10:59:34 +00:00
|
|
|
$(srcdir)/clutter-transition-group.c \
|
2012-03-15 11:04:31 +00:00
|
|
|
$(srcdir)/clutter-transition.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-timeline.c \
|
|
|
|
$(srcdir)/clutter-units.c \
|
|
|
|
$(srcdir)/clutter-util.c \
|
2010-09-08 19:39:15 +00:00
|
|
|
$(srcdir)/clutter-paint-volume.c \
|
2012-08-14 02:35:43 +00:00
|
|
|
$(srcdir)/clutter-zoom-action.c \
|
2010-01-10 11:35:26 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# private headers; these should not be distributed or introspected
|
2007-03-22 18:21:59 +00:00
|
|
|
source_h_priv = \
|
2010-10-21 09:54:14 +00:00
|
|
|
$(srcdir)/clutter-actor-meta-private.h \
|
2010-10-21 11:16:05 +00:00
|
|
|
$(srcdir)/clutter-actor-private.h \
|
2010-10-21 10:49:37 +00:00
|
|
|
$(srcdir)/clutter-backend-private.h \
|
2010-10-21 09:54:14 +00:00
|
|
|
$(srcdir)/clutter-bezier.h \
|
2012-02-01 18:33:55 +00:00
|
|
|
$(srcdir)/clutter-content-private.h \
|
2010-10-21 09:54:14 +00:00
|
|
|
$(srcdir)/clutter-debug.h \
|
|
|
|
$(srcdir)/clutter-device-manager-private.h \
|
2011-07-12 11:32:18 +00:00
|
|
|
$(srcdir)/clutter-easing.h \
|
2011-02-18 16:00:39 +00:00
|
|
|
$(srcdir)/clutter-effect-private.h \
|
event/x11: Rework the way we translate X11 events
This is a lump commit that is fairly difficult to break down without
either breaking bisecting or breaking the test cases.
The new design for handling X11 event translation works this way:
- ClutterBackend::translate_event() has been added as the central
point used by a ClutterBackend implementation to translate a
native event into a ClutterEvent;
- ClutterEventTranslator is a private interface that should be
implemented by backend-specific objects, like stage
implementations and ClutterDeviceManager sub-classes, and
allows dealing with class-specific event translation;
- ClutterStageX11 implements EventTranslator, and deals with the
stage-relative X11 events coming from the X11 event source;
- ClutterStageGLX overrides EventTranslator, in order to
deal with the INTEL_GLX_swap_event extension, and it chains up
to the X11 default implementation;
- ClutterDeviceManagerX11 has been split into two separate classes,
one that deals with core and (optionally) XI1 events, and the
other that deals with XI2 events; the selection is done at run-time,
since the core+XI1 and XI2 mechanisms are mutually exclusive.
All the other backends we officially support still use their own
custom event source and translation function, but the end goal is to
migrate them to the translate_event() virtual function, and have the
event source be a shared part of Clutter core.
2011-01-04 12:32:04 +00:00
|
|
|
$(srcdir)/clutter-event-translator.h \
|
2011-02-18 16:27:49 +00:00
|
|
|
$(srcdir)/clutter-event-private.h \
|
2011-02-28 15:05:51 +00:00
|
|
|
$(srcdir)/clutter-flatten-effect.h \
|
2010-10-21 09:54:14 +00:00
|
|
|
$(srcdir)/clutter-id-pool.h \
|
|
|
|
$(srcdir)/clutter-master-clock.h \
|
|
|
|
$(srcdir)/clutter-model-private.h \
|
2011-02-19 09:15:34 +00:00
|
|
|
$(srcdir)/clutter-offscreen-effect-private.h \
|
Add PaintNode, an element on the render object tree
Now that we have a proper scene graph API, we should split out the
rendering part from the logical and event handling part.
ClutterPaintNode is a lightweight fundamental type that encodes only the
paint operations: pipeline state and geometry. At its most simple, is a
way to structure setting up the programmable pipeline using a
CoglPipeline, and submitting Cogl primitives. The important take away
from this API is that you are not allowed to call Cogl API like
cogl_set_source() or cogl_primitive_draw() directly.
The interesting approach to this is that, in the future, we should be
able to move to a purely retained mode: we will decide which actors need
to be painted, they will update their own branch of the render graph,
and we'll take the render graph and build all the rendering commands
from that.
For the 1.x API, we will have to maintain invariants and the existing
behaviour, but as soon as we can break API, the old paint signal will
just go away, and Actors will only be allowed to manipulate the render
tree.
2012-02-01 15:51:27 +00:00
|
|
|
$(srcdir)/clutter-paint-node-private.h \
|
2010-10-21 10:59:50 +00:00
|
|
|
$(srcdir)/clutter-paint-volume-private.h \
|
2010-10-21 09:54:14 +00:00
|
|
|
$(srcdir)/clutter-private.h \
|
|
|
|
$(srcdir)/clutter-profile.h \
|
|
|
|
$(srcdir)/clutter-script-private.h \
|
2011-10-11 13:42:31 +00:00
|
|
|
$(srcdir)/clutter-settings-private.h \
|
2010-10-21 09:59:49 +00:00
|
|
|
$(srcdir)/clutter-stage-manager-private.h \
|
2010-10-21 10:29:09 +00:00
|
|
|
$(srcdir)/clutter-stage-private.h \
|
2012-03-01 11:06:04 +00:00
|
|
|
$(srcdir)/clutter-stage-window.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# private source code; these should not be introspected
|
|
|
|
source_c_priv = \
|
2011-07-12 11:32:18 +00:00
|
|
|
$(srcdir)/clutter-easing.c \
|
event/x11: Rework the way we translate X11 events
This is a lump commit that is fairly difficult to break down without
either breaking bisecting or breaking the test cases.
The new design for handling X11 event translation works this way:
- ClutterBackend::translate_event() has been added as the central
point used by a ClutterBackend implementation to translate a
native event into a ClutterEvent;
- ClutterEventTranslator is a private interface that should be
implemented by backend-specific objects, like stage
implementations and ClutterDeviceManager sub-classes, and
allows dealing with class-specific event translation;
- ClutterStageX11 implements EventTranslator, and deals with the
stage-relative X11 events coming from the X11 event source;
- ClutterStageGLX overrides EventTranslator, in order to
deal with the INTEL_GLX_swap_event extension, and it chains up
to the X11 default implementation;
- ClutterDeviceManagerX11 has been split into two separate classes,
one that deals with core and (optionally) XI1 events, and the
other that deals with XI2 events; the selection is done at run-time,
since the core+XI1 and XI2 mechanisms are mutually exclusive.
All the other backends we officially support still use their own
custom event source and translation function, but the end goal is to
migrate them to the translate_event() virtual function, and have the
event source be a shared part of Clutter core.
2011-01-04 12:32:04 +00:00
|
|
|
$(srcdir)/clutter-event-translator.c \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/clutter-id-pool.c \
|
|
|
|
$(srcdir)/clutter-profile.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-10-04 09:51:09 +00:00
|
|
|
# deprecated installed headers
|
|
|
|
deprecated_h = \
|
2011-11-03 14:49:56 +00:00
|
|
|
$(srcdir)/deprecated/clutter-actor.h \
|
2012-04-25 16:13:29 +00:00
|
|
|
$(srcdir)/deprecated/clutter-alpha.h \
|
2012-02-27 15:21:07 +00:00
|
|
|
$(srcdir)/deprecated/clutter-animatable.h \
|
2012-02-27 15:29:50 +00:00
|
|
|
$(srcdir)/deprecated/clutter-animation.h \
|
2012-04-11 17:00:23 +00:00
|
|
|
$(srcdir)/deprecated/clutter-animator.h \
|
2011-11-03 14:49:56 +00:00
|
|
|
$(srcdir)/deprecated/clutter-backend.h \
|
2011-10-04 10:58:44 +00:00
|
|
|
$(srcdir)/deprecated/clutter-behaviour.h \
|
2011-10-04 10:32:36 +00:00
|
|
|
$(srcdir)/deprecated/clutter-behaviour-depth.h \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-ellipse.h \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-opacity.h \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-path.h \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-rotate.h \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-scale.h \
|
2012-03-29 16:27:34 +00:00
|
|
|
$(srcdir)/deprecated/clutter-bin-layout.h \
|
2011-12-06 17:18:23 +00:00
|
|
|
$(srcdir)/deprecated/clutter-box.h \
|
2012-02-27 15:47:46 +00:00
|
|
|
$(srcdir)/deprecated/clutter-cairo-texture.h \
|
2011-12-19 18:48:02 +00:00
|
|
|
$(srcdir)/deprecated/clutter-container.h \
|
2011-10-04 11:18:26 +00:00
|
|
|
$(srcdir)/deprecated/clutter-fixed.h \
|
2011-10-04 10:32:36 +00:00
|
|
|
$(srcdir)/deprecated/clutter-frame-source.h \
|
2011-11-03 15:02:35 +00:00
|
|
|
$(srcdir)/deprecated/clutter-group.h \
|
2012-07-11 15:21:28 +00:00
|
|
|
$(srcdir)/deprecated/clutter-input-device.h \
|
2011-11-03 14:42:39 +00:00
|
|
|
$(srcdir)/deprecated/clutter-keysyms.h \
|
2011-11-03 14:49:56 +00:00
|
|
|
$(srcdir)/deprecated/clutter-main.h \
|
2012-04-17 17:10:39 +00:00
|
|
|
$(srcdir)/deprecated/clutter-media.h \
|
2011-12-06 17:49:27 +00:00
|
|
|
$(srcdir)/deprecated/clutter-rectangle.h \
|
2011-10-04 10:32:36 +00:00
|
|
|
$(srcdir)/deprecated/clutter-score.h \
|
|
|
|
$(srcdir)/deprecated/clutter-shader.h \
|
2012-02-27 15:16:38 +00:00
|
|
|
$(srcdir)/deprecated/clutter-stage-manager.h \
|
2011-11-03 15:13:54 +00:00
|
|
|
$(srcdir)/deprecated/clutter-stage.h \
|
2012-04-11 17:00:23 +00:00
|
|
|
$(srcdir)/deprecated/clutter-state.h \
|
2012-02-27 15:44:38 +00:00
|
|
|
$(srcdir)/deprecated/clutter-texture.h \
|
2012-02-13 15:04:18 +00:00
|
|
|
$(srcdir)/deprecated/clutter-timeline.h \
|
2011-12-06 17:49:27 +00:00
|
|
|
$(srcdir)/deprecated/clutter-timeout-pool.h \
|
2012-02-27 15:56:12 +00:00
|
|
|
$(srcdir)/deprecated/clutter-util.h \
|
2011-10-04 09:51:09 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# deprecated source code
|
|
|
|
deprecated_c = \
|
2011-12-18 22:52:49 +00:00
|
|
|
$(srcdir)/deprecated/clutter-actor-deprecated.c \
|
2012-04-25 16:13:29 +00:00
|
|
|
$(srcdir)/deprecated/clutter-alpha.c \
|
2012-04-11 17:18:27 +00:00
|
|
|
$(srcdir)/deprecated/clutter-animation.c \
|
2012-04-11 17:00:23 +00:00
|
|
|
$(srcdir)/deprecated/clutter-animator.c \
|
2011-10-04 10:58:44 +00:00
|
|
|
$(srcdir)/deprecated/clutter-behaviour.c \
|
2011-10-04 10:32:36 +00:00
|
|
|
$(srcdir)/deprecated/clutter-behaviour-depth.c \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-ellipse.c \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-opacity.c \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-path.c \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-rotate.c \
|
|
|
|
$(srcdir)/deprecated/clutter-behaviour-scale.c \
|
2011-12-06 17:18:23 +00:00
|
|
|
$(srcdir)/deprecated/clutter-box.c \
|
2012-04-17 17:40:43 +00:00
|
|
|
$(srcdir)/deprecated/clutter-cairo-texture.c \
|
2011-10-04 11:18:26 +00:00
|
|
|
$(srcdir)/deprecated/clutter-fixed.c \
|
2011-10-04 10:32:36 +00:00
|
|
|
$(srcdir)/deprecated/clutter-frame-source.c \
|
2011-12-06 17:33:44 +00:00
|
|
|
$(srcdir)/deprecated/clutter-group.c \
|
2012-07-11 15:21:28 +00:00
|
|
|
$(srcdir)/deprecated/clutter-input-device-deprecated.c \
|
2012-07-18 21:23:35 +00:00
|
|
|
$(srcdir)/deprecated/clutter-layout-manager-deprecated.c \
|
2012-04-17 17:10:39 +00:00
|
|
|
$(srcdir)/deprecated/clutter-media.c \
|
2011-12-06 17:49:27 +00:00
|
|
|
$(srcdir)/deprecated/clutter-rectangle.c \
|
2011-10-04 10:32:36 +00:00
|
|
|
$(srcdir)/deprecated/clutter-score.c \
|
|
|
|
$(srcdir)/deprecated/clutter-shader.c \
|
2012-04-11 17:00:23 +00:00
|
|
|
$(srcdir)/deprecated/clutter-state.c \
|
2012-07-09 16:43:09 +00:00
|
|
|
$(srcdir)/deprecated/clutter-texture.c \
|
2011-12-06 17:49:27 +00:00
|
|
|
$(srcdir)/deprecated/clutter-timeout-pool.c \
|
2011-10-04 09:51:09 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# deprecated private headers; these should not be installed
|
|
|
|
deprecated_h_priv = \
|
2011-10-04 09:57:28 +00:00
|
|
|
$(srcdir)/deprecated/clutter-timeout-interval.h \
|
2011-10-04 09:51:09 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# deprecated private source code; these should not be introspected
|
|
|
|
deprecated_c_priv = \
|
2011-10-04 09:57:28 +00:00
|
|
|
$(srcdir)/deprecated/clutter-timeout-interval.c \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# built sources
|
|
|
|
built_source_c = \
|
|
|
|
clutter-enum-types.c \
|
|
|
|
clutter-marshal.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# built headers
|
|
|
|
built_source_h = \
|
|
|
|
clutter-enum-types.h \
|
|
|
|
clutter-marshal.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-01-19 14:33:27 +00:00
|
|
|
# config header
|
|
|
|
DISTCLEANFILES += clutter-config.h
|
|
|
|
EXTRA_DIST += clutter-config.h.in
|
|
|
|
|
2012-07-28 16:40:57 +00:00
|
|
|
# win32 config header
|
|
|
|
EXTRA_DIST += \
|
|
|
|
config.h.win32.in \
|
|
|
|
config.h.win32 \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# version header
|
|
|
|
DISTCLEANFILES += clutter-version.h
|
2012-03-05 02:32:44 +00:00
|
|
|
EXTRA_DIST += clutter-version.h.in clutter-version.h
|
2010-09-13 10:30:30 +00:00
|
|
|
|
|
|
|
# key symbol update script
|
|
|
|
EXTRA_DIST += clutter-keysyms-update.pl
|
|
|
|
|
|
|
|
pc_files += clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
# in order to be compatible with Clutter < 1.10, when we shipped a single
|
|
|
|
# shared library whose name was determined by the single backend it
|
|
|
|
# supported, we need to install symbolic links so that existing applications
|
|
|
|
# using Clutter won't break in the Brave New World of multi-backend support
|
|
|
|
# in the same shared object.
|
|
|
|
compat_libs =
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# backends source listings
|
|
|
|
#
|
|
|
|
# backend_source_c := source code
|
|
|
|
# backend_source_h := installed public headers
|
|
|
|
# backend_source_c_priv := source that should not be scanned by g-i
|
|
|
|
# backend_source_h_priv := private headers
|
|
|
|
# backend_source_built := built sources
|
|
|
|
#
|
|
|
|
backend_source_c =
|
|
|
|
backend_source_h =
|
|
|
|
backend_source_c_priv =
|
|
|
|
backend_source_h_priv =
|
|
|
|
backend_source_built =
|
|
|
|
|
|
|
|
# X11 backend rules
|
|
|
|
x11_source_c = \
|
|
|
|
$(srcdir)/x11/clutter-backend-x11.c \
|
event/x11: Rework the way we translate X11 events
This is a lump commit that is fairly difficult to break down without
either breaking bisecting or breaking the test cases.
The new design for handling X11 event translation works this way:
- ClutterBackend::translate_event() has been added as the central
point used by a ClutterBackend implementation to translate a
native event into a ClutterEvent;
- ClutterEventTranslator is a private interface that should be
implemented by backend-specific objects, like stage
implementations and ClutterDeviceManager sub-classes, and
allows dealing with class-specific event translation;
- ClutterStageX11 implements EventTranslator, and deals with the
stage-relative X11 events coming from the X11 event source;
- ClutterStageGLX overrides EventTranslator, in order to
deal with the INTEL_GLX_swap_event extension, and it chains up
to the X11 default implementation;
- ClutterDeviceManagerX11 has been split into two separate classes,
one that deals with core and (optionally) XI1 events, and the
other that deals with XI2 events; the selection is done at run-time,
since the core+XI1 and XI2 mechanisms are mutually exclusive.
All the other backends we officially support still use their own
custom event source and translation function, but the end goal is to
migrate them to the translate_event() virtual function, and have the
event source be a shared part of Clutter core.
2011-01-04 12:32:04 +00:00
|
|
|
$(srcdir)/x11/clutter-device-manager-core-x11.c \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/x11/clutter-event-x11.c \
|
event/x11: Rework the way we translate X11 events
This is a lump commit that is fairly difficult to break down without
either breaking bisecting or breaking the test cases.
The new design for handling X11 event translation works this way:
- ClutterBackend::translate_event() has been added as the central
point used by a ClutterBackend implementation to translate a
native event into a ClutterEvent;
- ClutterEventTranslator is a private interface that should be
implemented by backend-specific objects, like stage
implementations and ClutterDeviceManager sub-classes, and
allows dealing with class-specific event translation;
- ClutterStageX11 implements EventTranslator, and deals with the
stage-relative X11 events coming from the X11 event source;
- ClutterStageGLX overrides EventTranslator, in order to
deal with the INTEL_GLX_swap_event extension, and it chains up
to the X11 default implementation;
- ClutterDeviceManagerX11 has been split into two separate classes,
one that deals with core and (optionally) XI1 events, and the
other that deals with XI2 events; the selection is done at run-time,
since the core+XI1 and XI2 mechanisms are mutually exclusive.
All the other backends we officially support still use their own
custom event source and translation function, but the end goal is to
migrate them to the translate_event() virtual function, and have the
event source be a shared part of Clutter core.
2011-01-04 12:32:04 +00:00
|
|
|
$(srcdir)/x11/clutter-input-device-core-x11.c \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/x11/clutter-keymap-x11.c \
|
|
|
|
$(srcdir)/x11/clutter-stage-x11.c \
|
|
|
|
$(srcdir)/x11/clutter-x11-texture-pixmap.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
x11_source_h = \
|
|
|
|
$(srcdir)/x11/clutter-x11.h \
|
|
|
|
$(srcdir)/x11/clutter-x11-texture-pixmap.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
x11_source_h_priv = \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/x11/clutter-backend-x11.h \
|
event/x11: Rework the way we translate X11 events
This is a lump commit that is fairly difficult to break down without
either breaking bisecting or breaking the test cases.
The new design for handling X11 event translation works this way:
- ClutterBackend::translate_event() has been added as the central
point used by a ClutterBackend implementation to translate a
native event into a ClutterEvent;
- ClutterEventTranslator is a private interface that should be
implemented by backend-specific objects, like stage
implementations and ClutterDeviceManager sub-classes, and
allows dealing with class-specific event translation;
- ClutterStageX11 implements EventTranslator, and deals with the
stage-relative X11 events coming from the X11 event source;
- ClutterStageGLX overrides EventTranslator, in order to
deal with the INTEL_GLX_swap_event extension, and it chains up
to the X11 default implementation;
- ClutterDeviceManagerX11 has been split into two separate classes,
one that deals with core and (optionally) XI1 events, and the
other that deals with XI2 events; the selection is done at run-time,
since the core+XI1 and XI2 mechanisms are mutually exclusive.
All the other backends we officially support still use their own
custom event source and translation function, but the end goal is to
migrate them to the translate_event() virtual function, and have the
event source be a shared part of Clutter core.
2011-01-04 12:32:04 +00:00
|
|
|
$(srcdir)/x11/clutter-device-manager-core-x11.h \
|
|
|
|
$(srcdir)/x11/clutter-input-device-core-x11.h \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/x11/clutter-keymap-x11.h \
|
|
|
|
$(srcdir)/x11/clutter-settings-x11.h \
|
|
|
|
$(srcdir)/x11/clutter-stage-x11.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
x11_source_c_priv = \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/x11/xsettings/xsettings-client.c \
|
|
|
|
$(srcdir)/x11/xsettings/xsettings-client.h \
|
|
|
|
$(srcdir)/x11/xsettings/xsettings-common.c \
|
|
|
|
$(srcdir)/x11/xsettings/xsettings-common.h \
|
|
|
|
$(NULL)
|
|
|
|
|
event/x11: Rework the way we translate X11 events
This is a lump commit that is fairly difficult to break down without
either breaking bisecting or breaking the test cases.
The new design for handling X11 event translation works this way:
- ClutterBackend::translate_event() has been added as the central
point used by a ClutterBackend implementation to translate a
native event into a ClutterEvent;
- ClutterEventTranslator is a private interface that should be
implemented by backend-specific objects, like stage
implementations and ClutterDeviceManager sub-classes, and
allows dealing with class-specific event translation;
- ClutterStageX11 implements EventTranslator, and deals with the
stage-relative X11 events coming from the X11 event source;
- ClutterStageGLX overrides EventTranslator, in order to
deal with the INTEL_GLX_swap_event extension, and it chains up
to the X11 default implementation;
- ClutterDeviceManagerX11 has been split into two separate classes,
one that deals with core and (optionally) XI1 events, and the
other that deals with XI2 events; the selection is done at run-time,
since the core+XI1 and XI2 mechanisms are mutually exclusive.
All the other backends we officially support still use their own
custom event source and translation function, but the end goal is to
migrate them to the translate_event() virtual function, and have the
event source be a shared part of Clutter core.
2011-01-04 12:32:04 +00:00
|
|
|
if BUILD_XI2
|
|
|
|
x11_source_c += \
|
|
|
|
$(srcdir)/x11/clutter-device-manager-xi2.c \
|
|
|
|
$(srcdir)/x11/clutter-input-device-xi2.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
x11_source_h_priv += \
|
|
|
|
$(srcdir)/x11/clutter-device-manager-xi2.h \
|
|
|
|
$(srcdir)/x11/clutter-input-device-xi2.h \
|
|
|
|
$(NULL)
|
|
|
|
endif # BUILD_XI2
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
if SUPPORT_X11
|
2010-09-13 10:30:30 +00:00
|
|
|
backend_source_h += $(x11_source_h)
|
|
|
|
backend_source_c += $(x11_source_c)
|
2010-10-03 15:10:44 +00:00
|
|
|
backend_source_h_priv += $(x11_source_h_priv)
|
|
|
|
backend_source_c_priv += $(x11_source_c_priv)
|
2010-09-13 10:30:30 +00:00
|
|
|
|
|
|
|
# the list of files we want to introspect on X11
|
|
|
|
x11_introspection = $(x11_source_c) $(x11_source_h)
|
|
|
|
|
|
|
|
clutterx11_includedir = $(clutter_includedir)/x11
|
|
|
|
clutterx11_include_HEADERS = $(x11_source_h)
|
2011-09-21 17:05:03 +00:00
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
|
|
|
|
endif # SUPPORT_X11
|
|
|
|
|
2011-05-08 23:27:10 +00:00
|
|
|
# Shared cogl backend files
|
|
|
|
cogl_source_h =
|
2010-09-13 10:30:30 +00:00
|
|
|
|
2011-05-08 23:27:10 +00:00
|
|
|
cogl_source_c = \
|
|
|
|
$(srcdir)/cogl/clutter-stage-cogl.c \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2011-05-08 23:27:10 +00:00
|
|
|
cogl_source_h_priv = \
|
|
|
|
$(srcdir)/cogl/clutter-stage-cogl.h \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2011-05-08 23:27:10 +00:00
|
|
|
cogl_source_c_priv =
|
2010-09-13 10:30:30 +00:00
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
if USE_COGL
|
|
|
|
backend_source_h += $(cogl_source_h)
|
|
|
|
backend_source_c += $(cogl_source_c)
|
|
|
|
backend_source_h_priv += $(cogl_source_h_priv)
|
|
|
|
backend_source_c_priv += $(cogl_source_c_priv)
|
|
|
|
|
2011-08-26 22:16:12 +00:00
|
|
|
# pkg-config file for the cogl meta-backend
|
|
|
|
clutter-cogl-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-cogl-$(CLUTTER_API_VERSION).pc
|
2011-09-21 17:05:03 +00:00
|
|
|
endif
|
2011-08-26 22:16:12 +00:00
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
# For compatibility with the old GLX backend
|
2011-05-08 23:27:10 +00:00
|
|
|
#
|
|
|
|
# Note: there wasn't actually anything GLX specific so we can add
|
2011-09-21 17:05:03 +00:00
|
|
|
# the compatibility if clutter supports x11
|
|
|
|
glx_source_c = $(srcdir)/x11/clutter-glx-texture-pixmap.c
|
2011-08-26 22:16:12 +00:00
|
|
|
glx_source_h = $(srcdir)/x11/clutter-glx-texture-pixmap.h \
|
|
|
|
$(srcdir)/x11/clutter-glx.h
|
2011-09-21 17:05:03 +00:00
|
|
|
|
|
|
|
if SUPPORT_X11
|
|
|
|
backend_source_h += $(glx_source_h)
|
|
|
|
backend_source_c += $(glx_source_c)
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
clutterglx_includedir = $(clutter_includedir)/glx
|
|
|
|
clutterglx_include_HEADERS = $(glx_source_h)
|
2011-06-24 18:22:22 +00:00
|
|
|
|
|
|
|
clutter-glx-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-glx-$(CLUTTER_API_VERSION).pc
|
2011-05-08 23:27:10 +00:00
|
|
|
|
2011-10-03 16:11:49 +00:00
|
|
|
compat_libs += \
|
|
|
|
libclutter-glx-$(CLUTTER_API_VERSION).so \
|
|
|
|
$(NULL)
|
2011-05-08 23:27:10 +00:00
|
|
|
endif
|
|
|
|
|
Add a new GDK backend
This commit introduces a new flavour for Clutter, that uses GDK
for handling all window system specific interactions (except for
creating the cogl context, as cogl does not know about GDK), including
in particular events. This is not compatible with the X11 (glx)
flavour, and this is reflected by the different soname (libclutter-gdk-1.0.so),
as all X11 specific functions and classes are not available. If you
wish to be compatible, you should check for CLUTTER_WINDOWING_X11.
Other than that, this backend should be on feature parity with X11,
including XInput 2, XSettings and EMWH (with much, much less code)
https://bugzilla.gnome.org/show_bug.cgi?id=657434
2011-08-26 01:09:18 +00:00
|
|
|
# GDK backend rules
|
|
|
|
gdk_source_c = \
|
|
|
|
$(srcdir)/gdk/clutter-backend-gdk.c \
|
|
|
|
$(srcdir)/gdk/clutter-device-manager-gdk.c \
|
|
|
|
$(srcdir)/gdk/clutter-input-device-gdk.c \
|
|
|
|
$(srcdir)/gdk/clutter-event-gdk.c \
|
|
|
|
$(srcdir)/gdk/clutter-stage-gdk.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
gdk_source_h = \
|
|
|
|
$(srcdir)/gdk/clutter-gdk.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
gdk_source_h_priv = \
|
|
|
|
$(srcdir)/gdk/clutter-settings-gdk.h \
|
|
|
|
$(srcdir)/gdk/clutter-backend-gdk.h \
|
|
|
|
$(srcdir)/gdk/clutter-device-manager-gdk.h \
|
|
|
|
$(srcdir)/gdk/clutter-input-device-gdk.h \
|
|
|
|
$(srcdir)/gdk/clutter-stage-gdk.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
if SUPPORT_GDK
|
2011-09-21 17:05:03 +00:00
|
|
|
backend_source_h += $(gdk_source_h)
|
|
|
|
backend_source_c += $(gdk_source_c)
|
|
|
|
backend_source_h_priv += $(gdk_source_h_priv)
|
2011-08-26 22:16:12 +00:00
|
|
|
|
|
|
|
cluttergdk_includedir = $(clutter_includedir)/gdk
|
|
|
|
cluttergdk_include_HEADERS = $(gdk_source_h)
|
2011-09-21 17:05:03 +00:00
|
|
|
|
|
|
|
clutter-gdk-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-gdk-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
gdk_introspection = $(gdk_source_c) $(gdk_source_h)
|
Add a new GDK backend
This commit introduces a new flavour for Clutter, that uses GDK
for handling all window system specific interactions (except for
creating the cogl context, as cogl does not know about GDK), including
in particular events. This is not compatible with the X11 (glx)
flavour, and this is reflected by the different soname (libclutter-gdk-1.0.so),
as all X11 specific functions and classes are not available. If you
wish to be compatible, you should check for CLUTTER_WINDOWING_X11.
Other than that, this backend should be on feature parity with X11,
including XInput 2, XSettings and EMWH (with much, much less code)
https://bugzilla.gnome.org/show_bug.cgi?id=657434
2011-08-26 01:09:18 +00:00
|
|
|
endif # SUPPORT_GDK
|
2010-09-13 10:30:30 +00:00
|
|
|
|
|
|
|
# Windows backend rules
|
|
|
|
win32_source_c = \
|
|
|
|
$(srcdir)/win32/clutter-backend-win32.c \
|
|
|
|
$(srcdir)/win32/clutter-device-manager-win32.c \
|
|
|
|
$(srcdir)/win32/clutter-event-win32.c \
|
|
|
|
$(srcdir)/win32/clutter-stage-win32.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
win32_source_h = \
|
|
|
|
$(srcdir)/win32/clutter-win32.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
win32_source_h_priv = \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/win32/clutter-backend-win32.h \
|
|
|
|
$(srcdir)/win32/clutter-device-manager-win32.h \
|
|
|
|
$(srcdir)/win32/clutter-stage-win32.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
if SUPPORT_WIN32
|
|
|
|
# Ideally this resources stuff would go in win32/ but libtool doesn't
|
|
|
|
# seem to pass on the -Wl argument when linking a convenience library
|
|
|
|
# so we need to do it here as part of linking the dll. libtool also
|
|
|
|
# won't let you link against the .o directly because it wants you to
|
|
|
|
# link against libtool objects for dynamic libraries.
|
|
|
|
.rc.o :
|
2011-03-15 19:37:26 +00:00
|
|
|
mkdir -p win32
|
2010-10-03 15:10:44 +00:00
|
|
|
$(WINDRES) -I$(srcdir)/win32 $< $@
|
|
|
|
|
|
|
|
win32/resources.o : $(srcdir)/win32/invisible-cursor.cur
|
|
|
|
|
|
|
|
win32_resources = win32/resources.o
|
|
|
|
win32_resources_ldflag = -Wl,win32/resources.o
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
backend_source_h += $(win32_source_h)
|
|
|
|
backend_source_c += $(win32_source_c)
|
2010-10-03 15:10:44 +00:00
|
|
|
backend_source_h_priv += $(win32_source_h_priv)
|
2010-09-13 10:30:30 +00:00
|
|
|
|
|
|
|
clutterwin_includedir = $(clutter_includedir)/win32
|
|
|
|
clutterwin_include_HEADERS = $(win32_source_h)
|
2011-09-21 17:05:03 +00:00
|
|
|
|
|
|
|
clutter-win32-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-win32-$(CLUTTER_API_VERSION).pc
|
2010-10-04 08:09:13 +00:00
|
|
|
endif # SUPPORT_WIN32
|
2010-09-13 10:30:30 +00:00
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
EXTRA_DIST += \
|
|
|
|
$(srcdir)/win32/invisible-cursor.cur \
|
|
|
|
$(srcdir)/win32/resources.rc \
|
|
|
|
$(NULL)
|
2010-09-13 10:30:30 +00:00
|
|
|
|
2011-10-03 11:25:53 +00:00
|
|
|
egl_tslib_h = $(srcdir)/tslib/clutter-event-tslib.h
|
2011-10-03 09:17:56 +00:00
|
|
|
egl_tslib_c = $(srcdir)/tslib/clutter-event-tslib.c
|
2010-10-03 15:10:44 +00:00
|
|
|
|
2011-11-22 12:11:06 +00:00
|
|
|
if USE_TSLIB
|
|
|
|
backend_source_c_priv += $(egl_tslib_c)
|
|
|
|
backend_source_h_priv += $(egl_tslib_h)
|
|
|
|
endif # SUPPORT_TSLIB
|
|
|
|
|
2010-11-04 14:38:32 +00:00
|
|
|
evdev_c_priv = \
|
|
|
|
$(srcdir)/evdev/clutter-device-manager-evdev.c \
|
|
|
|
$(srcdir)/evdev/clutter-input-device-evdev.c \
|
|
|
|
$(NULL)
|
|
|
|
evdev_h_priv = \
|
|
|
|
$(srcdir)/evdev/clutter-device-manager-evdev.h \
|
|
|
|
$(srcdir)/evdev/clutter-input-device-evdev.h \
|
|
|
|
$(NULL)
|
2012-01-22 15:36:17 +00:00
|
|
|
evdev_h = $(srcdir)/evdev/clutter-evdev.h
|
2010-11-04 14:38:32 +00:00
|
|
|
|
2011-11-22 12:11:06 +00:00
|
|
|
if USE_EVDEV
|
|
|
|
backend_source_c_priv += $(evdev_c_priv)
|
|
|
|
backend_source_h_priv += $(evdev_h_priv)
|
2012-01-22 15:36:17 +00:00
|
|
|
backend_source_h += $(evdev_h)
|
|
|
|
|
|
|
|
clutterevdev_includedir = $(clutter_includedir)/evdev
|
|
|
|
clutterevdev_include_HEADERS = $(evdev_h)
|
2011-11-22 12:11:06 +00:00
|
|
|
endif # SUPPORT_EVDEV
|
|
|
|
|
2012-01-10 17:04:50 +00:00
|
|
|
if NEED_XKB_UTILS
|
2012-03-23 16:34:17 +00:00
|
|
|
backend_source_c += $(srcdir)/evdev/clutter-xkb-utils.c
|
2012-01-10 17:04:50 +00:00
|
|
|
backend_source_h_priv += $(srcdir)/evdev/clutter-xkb-utils.h
|
|
|
|
endif
|
|
|
|
|
2011-11-04 17:44:55 +00:00
|
|
|
cex_source_h_priv = $(srcdir)/cex100/clutter-backend-cex100.h
|
|
|
|
cex_source_c = $(srcdir)/cex100/clutter-backend-cex100.c
|
|
|
|
cex_h = cex100/clutter-cex100.h
|
2011-05-08 23:27:10 +00:00
|
|
|
BUILT_SOURCES += $(cex_h)
|
|
|
|
EXTRA_DIST += $(srcdir)/$(cex_h).in
|
2010-11-04 14:38:32 +00:00
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
if SUPPORT_CEX100
|
2011-11-04 17:44:55 +00:00
|
|
|
backend_source_h += $(cex_h)
|
|
|
|
backend_source_c += $(cex_source_c)
|
|
|
|
backend_source_h_priv += $(cex_source_h_priv)
|
|
|
|
|
|
|
|
cluttercex100_includedir = $(clutter_includedir)/cex100
|
|
|
|
cluttercex100_include_HEADERS = $(cex_h)
|
2011-09-21 17:05:03 +00:00
|
|
|
|
|
|
|
clutter-cex100-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-cex100-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
2011-10-03 16:11:49 +00:00
|
|
|
compat_libs += \
|
|
|
|
libclutter-cex100-$(CLUTTER_API_VERSION).so \
|
|
|
|
$(NULL)
|
2010-09-13 10:30:30 +00:00
|
|
|
endif # SUPPORT_CEX100
|
|
|
|
|
2011-11-22 12:11:06 +00:00
|
|
|
# EGL backend rules
|
|
|
|
egl_source_h = \
|
|
|
|
$(srcdir)/egl/clutter-egl-headers.h \
|
|
|
|
$(srcdir)/egl/clutter-egl.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
egl_source_h_priv = $(srcdir)/egl/clutter-backend-eglnative.h
|
|
|
|
egl_source_c = $(srcdir)/egl/clutter-backend-eglnative.c
|
|
|
|
|
2011-05-09 21:45:33 +00:00
|
|
|
# Wayland backend rules
|
|
|
|
if SUPPORT_WAYLAND
|
|
|
|
backend_source_h_priv += \
|
|
|
|
$(srcdir)/wayland/clutter-backend-wayland.h \
|
|
|
|
$(srcdir)/wayland/clutter-stage-wayland.h \
|
|
|
|
$(srcdir)/wayland/clutter-event-wayland.h \
|
|
|
|
$(srcdir)/wayland/clutter-input-device-wayland.h \
|
|
|
|
$(srcdir)/wayland/clutter-device-manager-wayland.h
|
|
|
|
|
|
|
|
backend_source_c += \
|
|
|
|
$(srcdir)/wayland/clutter-backend-wayland.c \
|
|
|
|
$(srcdir)/wayland/clutter-stage-wayland.c \
|
|
|
|
$(srcdir)/wayland/clutter-event-wayland.c \
|
|
|
|
$(srcdir)/wayland/clutter-input-device-wayland.c \
|
|
|
|
$(srcdir)/wayland/clutter-device-manager-wayland.c
|
2012-02-10 16:44:32 +00:00
|
|
|
|
2012-02-10 16:46:45 +00:00
|
|
|
|
|
|
|
clutterwayland_includedir = $(clutter_includedir)/wayland
|
|
|
|
clutterwayland_include_HEADERS = $(srcdir)/wayland/clutter-wayland.h
|
|
|
|
|
2012-02-10 16:44:32 +00:00
|
|
|
clutter-wayland-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-wayland-$(CLUTTER_API_VERSION).pc
|
2011-05-09 21:45:33 +00:00
|
|
|
endif # SUPPORT_WAYLAND
|
|
|
|
|
2011-05-13 15:54:11 +00:00
|
|
|
if SUPPORT_WAYLAND_COMPOSITOR
|
2012-01-05 14:33:35 +00:00
|
|
|
wayland_compositor_source_h = \
|
2011-05-13 15:54:11 +00:00
|
|
|
$(srcdir)/wayland/clutter-wayland-compositor.h \
|
|
|
|
$(srcdir)/wayland/clutter-wayland-surface.h
|
2012-01-05 14:33:35 +00:00
|
|
|
backend_source_h += $(wayland_compositor_source_h)
|
2011-05-13 15:54:11 +00:00
|
|
|
backend_source_c += \
|
|
|
|
$(srcdir)/wayland/clutter-wayland-surface.c
|
2012-01-05 14:33:35 +00:00
|
|
|
|
|
|
|
wayland_compositor_includedir = $(clutter_includedir)/wayland
|
|
|
|
wayland_compositor_include_HEADERS = $(wayland_compositor_source_h)
|
|
|
|
|
|
|
|
clutter-wayland-compositor-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-wayland-compositor-$(CLUTTER_API_VERSION).pc
|
2011-05-13 15:54:11 +00:00
|
|
|
endif
|
|
|
|
|
2011-05-08 23:27:10 +00:00
|
|
|
if SUPPORT_EGL
|
2011-09-21 17:05:03 +00:00
|
|
|
backend_source_h += $(egl_source_h)
|
2011-10-03 11:25:53 +00:00
|
|
|
backend_source_c += $(egl_source_c)
|
2012-02-04 13:43:51 +00:00
|
|
|
backend_source_h_priv += $(egl_source_h_priv)
|
2010-09-13 10:30:30 +00:00
|
|
|
|
|
|
|
clutteregl_includedir = $(clutter_includedir)/egl
|
|
|
|
clutteregl_include_HEADERS = $(egl_source_h)
|
2011-09-21 17:05:03 +00:00
|
|
|
|
|
|
|
clutter-egl-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-egl-$(CLUTTER_API_VERSION).pc
|
2010-09-13 10:30:30 +00:00
|
|
|
endif # SUPPORT_EGL
|
|
|
|
|
|
|
|
# OSX backend rules
|
2010-10-03 15:10:44 +00:00
|
|
|
osx_source_c = \
|
|
|
|
$(srcdir)/osx/clutter-backend-osx.c \
|
|
|
|
$(srcdir)/osx/clutter-stage-osx.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
osx_source_h = $(srcdir)/osx/clutter-osx.h
|
2010-09-13 10:30:30 +00:00
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
osx_source_h_priv = \
|
|
|
|
$(srcdir)/osx/clutter-backend-osx.h \
|
2011-01-28 12:56:57 +00:00
|
|
|
$(srcdir)/osx/clutter-event-loop-osx.h \
|
2010-10-03 15:10:44 +00:00
|
|
|
$(srcdir)/osx/clutter-stage-osx.h \
|
2011-02-03 08:51:20 +00:00
|
|
|
$(srcdir)/osx/clutter-device-manager-osx.h \
|
2010-10-03 15:10:44 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2011-01-28 12:56:57 +00:00
|
|
|
osx_source_c_priv = \
|
|
|
|
$(srcdir)/osx/clutter-event-loop-osx.c \
|
|
|
|
$(srcdir)/osx/clutter-event-osx.c \
|
2011-02-03 08:51:20 +00:00
|
|
|
$(srcdir)/osx/clutter-device-manager-osx.c \
|
2011-01-28 12:56:57 +00:00
|
|
|
$(NULL)
|
2010-10-04 09:52:36 +00:00
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
if SUPPORT_OSX
|
2010-10-04 09:52:36 +00:00
|
|
|
# we need to tell the compiler that part of our code base is
|
|
|
|
# in Objective C
|
2010-10-03 15:10:44 +00:00
|
|
|
AM_CFLAGS += -xobjective-c
|
|
|
|
|
|
|
|
backend_source_h += $(osx_source_h)
|
|
|
|
backend_source_c += $(osx_source_c)
|
|
|
|
backend_source_h_priv += $(osx_source_h_priv)
|
|
|
|
backend_source_c_priv += $(osx_source_c_priv)
|
|
|
|
|
|
|
|
clutterosx_includedir = $(clutter_includedir)/osx
|
|
|
|
clutterosx_include_HEADERS = $(osx_source_h)
|
2011-09-21 17:05:03 +00:00
|
|
|
|
|
|
|
clutter-osx-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-osx-$(CLUTTER_API_VERSION).pc
|
2010-09-13 10:30:30 +00:00
|
|
|
endif # SUPPORT_OSX
|
|
|
|
|
|
|
|
# cally
|
|
|
|
cally_sources_h = \
|
|
|
|
$(srcdir)/cally/cally-actor.h \
|
|
|
|
$(srcdir)/cally/cally-clone.h \
|
|
|
|
$(srcdir)/cally/cally-factory.h \
|
|
|
|
$(srcdir)/cally/cally-group.h \
|
|
|
|
$(srcdir)/cally/cally.h \
|
|
|
|
$(srcdir)/cally/cally-main.h \
|
|
|
|
$(srcdir)/cally/cally-rectangle.h \
|
|
|
|
$(srcdir)/cally/cally-root.h \
|
|
|
|
$(srcdir)/cally/cally-stage.h \
|
|
|
|
$(srcdir)/cally/cally-text.h \
|
|
|
|
$(srcdir)/cally/cally-texture.h \
|
|
|
|
$(srcdir)/cally/cally-util.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
cally_sources_c = \
|
|
|
|
$(srcdir)/cally/cally-actor.c \
|
|
|
|
$(srcdir)/cally/cally.c \
|
|
|
|
$(srcdir)/cally/cally-clone.c \
|
|
|
|
$(srcdir)/cally/cally-group.c \
|
|
|
|
$(srcdir)/cally/cally-rectangle.c \
|
|
|
|
$(srcdir)/cally/cally-root.c \
|
|
|
|
$(srcdir)/cally/cally-stage.c \
|
|
|
|
$(srcdir)/cally/cally-text.c \
|
|
|
|
$(srcdir)/cally/cally-texture.c \
|
|
|
|
$(srcdir)/cally/cally-util.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
cally_sources_private = \
|
|
|
|
$(srcdir)/cally/cally-actor-private.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-04 00:17:40 +00:00
|
|
|
cally_includedir = $(clutter_base_includedir)/cally
|
2010-09-13 10:30:30 +00:00
|
|
|
cally_include_HEADERS = $(cally_sources_h)
|
|
|
|
|
|
|
|
pc_files += cally/cally-$(CLUTTER_API_VERSION).pc
|
|
|
|
EXTRA_DIST += cally/cally.pc.in
|
|
|
|
|
|
|
|
# general build rules:
|
|
|
|
# you should not need to modify anything below this point
|
|
|
|
|
|
|
|
# glib-genmarshal rules
|
|
|
|
glib_marshal_list = clutter-marshal.list
|
|
|
|
glib_marshal_prefix = _clutter_marshal
|
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.marshal
|
|
|
|
|
|
|
|
# glib-mkenums rules
|
|
|
|
glib_enum_h = clutter-enum-types.h
|
|
|
|
glib_enum_c = clutter-enum-types.c
|
|
|
|
glib_enum_headers = $(source_h) $(backend_source_h)
|
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.enums
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = $(pc_files)
|
|
|
|
DISTCLEANFILES += $(pc_files)
|
|
|
|
|
2012-03-13 17:22:19 +00:00
|
|
|
clutter_include_HEADERS = \
|
|
|
|
$(source_h) \
|
|
|
|
$(top_srcdir)/clutter/clutter.h \
|
|
|
|
$(top_builddir)/clutter/clutter-version.h
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
nodist_clutter_include_HEADERS = \
|
2011-01-19 14:33:27 +00:00
|
|
|
$(top_builddir)/clutter/clutter-config.h \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(built_source_h)
|
|
|
|
|
2011-10-04 09:51:09 +00:00
|
|
|
clutter_deprecated_HEADERS = $(deprecated_h)
|
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
lib_LTLIBRARIES += libclutter-@CLUTTER_API_VERSION@.la
|
2010-09-13 10:30:30 +00:00
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
libclutter_@CLUTTER_API_VERSION@_la_LIBADD = \
|
2011-08-29 21:17:53 +00:00
|
|
|
-lm \
|
2009-10-13 18:27:03 +00:00
|
|
|
$(CLUTTER_LIBS) \
|
2011-02-22 15:51:13 +00:00
|
|
|
$(CLUTTER_PROFILE_LIBS)
|
2010-06-14 11:38:25 +00:00
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
libclutter_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
|
2010-01-15 22:56:37 +00:00
|
|
|
$(win32_resources)
|
2008-02-20 16:00:33 +00:00
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
libclutter_@CLUTTER_API_VERSION@_la_SOURCES = \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(backend_source_c) \
|
|
|
|
$(backend_source_h) \
|
|
|
|
$(backend_source_c_priv) \
|
|
|
|
$(backend_source_h_priv) \
|
2008-01-25 19:48:26 +00:00
|
|
|
$(source_c) \
|
|
|
|
$(source_h) \
|
2010-01-10 11:35:26 +00:00
|
|
|
$(source_c_priv) \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(source_h_priv) \
|
2011-10-04 09:51:09 +00:00
|
|
|
$(deprecated_c) \
|
|
|
|
$(deprecated_h) \
|
|
|
|
$(deprecated_c_priv) \
|
|
|
|
$(deprecated_h_priv) \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(cally_sources_c) \
|
|
|
|
$(cally_sources_h) \
|
|
|
|
$(cally_sources_private) \
|
|
|
|
$(NULL)
|
2007-03-26 23:18:39 +00:00
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
nodist_libclutter_@CLUTTER_API_VERSION@_la_SOURCES = \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(backend_source_built) \
|
2010-06-14 19:34:24 +00:00
|
|
|
$(built_source_c) \
|
|
|
|
$(built_source_h)
|
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
libclutter_@CLUTTER_API_VERSION@_la_LDFLAGS = \
|
2010-06-22 11:13:31 +00:00
|
|
|
$(CLUTTER_LINK_FLAGS) \
|
2010-01-04 14:53:03 +00:00
|
|
|
$(CLUTTER_LT_LDFLAGS) \
|
|
|
|
-export-dynamic \
|
2011-05-05 19:56:44 +00:00
|
|
|
-export-symbols-regex "^(clutter|cally).*" \
|
2010-01-04 14:53:03 +00:00
|
|
|
-rpath $(libdir) \
|
2010-01-15 22:56:37 +00:00
|
|
|
$(win32_resources_ldflag) \
|
2010-01-04 14:53:03 +00:00
|
|
|
$(NULL)
|
2007-03-22 18:21:59 +00:00
|
|
|
|
2011-12-08 09:04:46 +00:00
|
|
|
dist-hook: ../build/win32/vs9/clutter.vcproj ../build/win32/vs10/clutter.vcxproj ../build/win32/vs10/clutter.vcxproj.filters ../build/win32/gen-enums.bat
|
2011-09-16 09:25:47 +00:00
|
|
|
|
|
|
|
../build/win32/vs9/clutter.vcproj: $(top_srcdir)/build/win32/vs9/clutter.vcprojin
|
2011-10-12 09:33:33 +00:00
|
|
|
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 \
|
2011-09-16 09:25:47 +00:00
|
|
|
case $$F in \
|
|
|
|
*.c) echo ' <File RelativePath="..\..\..\clutter\'$$F'" />' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >clutter.sourcefiles
|
|
|
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs9/clutter.vcprojin >$@
|
|
|
|
rm clutter.sourcefiles
|
2012-08-14 02:35:43 +00:00
|
|
|
|
2011-09-16 09:25:47 +00:00
|
|
|
../build/win32/vs10/clutter.vcxproj: $(top_srcdir)/build/win32/vs10/clutter.vcxprojin
|
2011-10-12 09:33:33 +00:00
|
|
|
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 \
|
2011-09-16 09:25:47 +00:00
|
|
|
case $$F in \
|
|
|
|
*.c) echo ' <ClCompile Include="..\..\..\clutter\'$$F'" />' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >clutter.vs10.sourcefiles
|
|
|
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/clutter.vcxprojin >$@
|
|
|
|
rm clutter.vs10.sourcefiles
|
2012-08-14 02:35:43 +00:00
|
|
|
|
2011-09-16 09:25:47 +00:00
|
|
|
../build/win32/vs10/clutter.vcxproj.filters: $(top_srcdir)/build/win32/vs10/clutter.vcxproj.filtersin
|
2011-10-12 09:33:33 +00:00
|
|
|
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 \
|
2011-09-16 09:25:47 +00:00
|
|
|
case $$F in \
|
|
|
|
*.c) echo ' <ClCompile Include="..\..\..\clutter\'$$F'"><Filter>Sources</Filter></ClCompile>' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >clutter.vs10.sourcefiles.filters
|
|
|
|
$(CPP) -P - <$(top_srcdir)/build/win32/vs10/clutter.vcxproj.filtersin >$@
|
|
|
|
rm clutter.vs10.sourcefiles.filters
|
2011-12-08 09:04:46 +00:00
|
|
|
|
|
|
|
clutter.vsenums_h:
|
|
|
|
echo 'perl %1\bin\glib-mkenums --template ../../clutter/clutter-enum-types.h.in ' >vsenums_h.temp1
|
2011-12-08 09:40:22 +00:00
|
|
|
for F in `echo $(source_h) $(backend_source_h) $(srcdir)/win32/clutter-win32.h`; do \
|
2011-12-08 09:04:46 +00:00
|
|
|
case $$F in \
|
|
|
|
*-x11*.h|*-wayland*.h|*-gdk*.h|*-glx*.h|*-cex*.h|*-egl*.h|*-osx*.h) ;; \
|
|
|
|
*.h) echo '../../clutter'$$F' ' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >>vsenums_h.temp1
|
|
|
|
cat vsenums_h.temp1 | sed 's_/clutter./_/clutter/_' >vsenums_h.temp
|
|
|
|
cat vsenums_h.temp | tr -d '\n' >>$@
|
|
|
|
echo '> ..\..\clutter\clutter-enum-types.h' >>$@
|
|
|
|
rm vsenums_h.temp1
|
|
|
|
rm vsenums_h.temp
|
|
|
|
|
|
|
|
clutter.vsenums_c:
|
|
|
|
echo 'perl %1\bin\glib-mkenums --template ../../clutter/clutter-enum-types.c.in ' >vsenums_c.temp1
|
2011-12-08 09:40:22 +00:00
|
|
|
for F in `echo $(source_h) $(backend_source_h) $(srcdir)/win32/clutter-win32.h`; do \
|
2011-12-08 09:04:46 +00:00
|
|
|
case $$F in \
|
|
|
|
*-x11*.h|*-wayland*.h|*-gdk*.h|*-glx*.h|*-cex*.h|*-egl*.h|*-osx*.h) ;; \
|
|
|
|
*.h) echo '../../clutter'$$F' ' \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done >>vsenums_c.temp1
|
|
|
|
cat vsenums_c.temp1 | sed 's_/clutter./_/clutter/_' >vsenums_c.temp
|
|
|
|
cat vsenums_c.temp | tr -d '\n' >>$@
|
|
|
|
echo '> ..\..\clutter\clutter-enum-types.c' >>$@
|
|
|
|
rm vsenums_c.temp1
|
|
|
|
rm vsenums_c.temp
|
|
|
|
|
|
|
|
../build/win32/gen-enums.bat: clutter.vsenums_h clutter.vsenums_c
|
|
|
|
echo 'if exist ..\..\clutter\clutter-enum-types.h goto DONE_COGL_ENUMS_H' >$@
|
|
|
|
cat clutter.vsenums_h >>$@
|
|
|
|
echo ':DONE_COGL_ENUMS_H' >>$@
|
|
|
|
echo 'if exist ..\..\clutter\clutter-enum-types.c goto DONE_COGL_ENUMS_C' >>$@
|
|
|
|
cat clutter.vsenums_c >>$@
|
|
|
|
echo ':DONE_COGL_ENUMS_C' >>$@
|
|
|
|
rm clutter.vsenums_h
|
|
|
|
rm clutter.vsenums_c
|
|
|
|
|
2011-09-16 09:25:47 +00:00
|
|
|
EXTRA_DIST += \
|
|
|
|
clutter-config.h.win32 \
|
2012-05-14 08:18:13 +00:00
|
|
|
clutter-config.h.win32_GDK \
|
2011-09-16 09:25:47 +00:00
|
|
|
clutter.symbols \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# Let the VS9/VS10 Project files be cleared out before they are re-expanded...
|
2011-12-08 09:04:46 +00:00
|
|
|
DISTCLEANFILES += ../build/win32/vs9/clutter.vcproj ../build/win32/vs10/clutter.vcxproj ../build/win32/vs10/clutter.vcxproj.filters ../build/win32/gen-enums.bat
|
2011-09-16 09:25:47 +00:00
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
install-exec-local:
|
2011-11-03 18:42:07 +00:00
|
|
|
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
|
2011-10-03 16:11:49 +00:00
|
|
|
for lib in `echo $(compat_libs)`; do \
|
2011-10-14 11:00:44 +00:00
|
|
|
(cd $(DESTDIR)$(libdir) && \
|
|
|
|
rm -f $$lib.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION); \
|
|
|
|
) ; \
|
2011-10-03 16:11:49 +00:00
|
|
|
(cd $(DESTDIR)$(libdir) && \
|
|
|
|
{ ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0 || \
|
|
|
|
{ rm -f $$lib.0 && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib.0; }; \
|
|
|
|
} \
|
|
|
|
) ; \
|
|
|
|
(cd $(DESTDIR)$(libdir) && \
|
|
|
|
{ ln -s -f libclutter-$(CLUTTER_API_VERSION).so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib || \
|
|
|
|
{ rm -f $$lib && ln -s libclutter-1.0.so.0.$(CLUTTER_LT_CURRENT).$(CLUTTER_LT_REVISION) $$lib; }; \
|
|
|
|
} \
|
|
|
|
) ; \
|
2011-09-21 17:05:03 +00:00
|
|
|
done
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# gobject-introspection rules
|
2010-09-03 10:09:57 +00:00
|
|
|
-include $(INTROSPECTION_MAKEFILE)
|
|
|
|
|
2009-10-18 16:12:12 +00:00
|
|
|
if HAVE_INTROSPECTION
|
2011-09-21 17:05:03 +00:00
|
|
|
Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_API_VERSION@.la Makefile
|
2010-09-03 10:09:57 +00:00
|
|
|
|
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Clutter
|
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
|
2011-09-21 17:05:03 +00:00
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
|
2011-10-04 09:51:09 +00:00
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = \
|
|
|
|
$(clutter_include_HEADERS) \
|
|
|
|
$(clutter_deprecated_HEADERS) \
|
|
|
|
$(nodist_clutter_include_HEADERS) \
|
|
|
|
$(source_c) \
|
|
|
|
$(deprecated_c) \
|
|
|
|
$(built_source_c)
|
2011-11-03 15:32:53 +00:00
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS)
|
2011-05-06 16:21:00 +00:00
|
|
|
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
|
2010-09-03 10:09:57 +00:00
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
2011-02-15 12:13:14 +00:00
|
|
|
--warn-all \
|
2010-09-03 10:09:57 +00:00
|
|
|
--c-include='clutter/clutter.h' \
|
2011-02-22 15:51:13 +00:00
|
|
|
--pkg-export=clutter-@CLUTTER_API_VERSION@
|
2011-05-06 15:55:10 +00:00
|
|
|
|
|
|
|
INTROSPECTION_GIRS += Clutter-@CLUTTER_API_VERSION@.gir
|
2011-05-05 19:56:44 +00:00
|
|
|
|
|
|
|
Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
|
2010-09-03 10:09:57 +00:00
|
|
|
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_NAMESPACE = Cally
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_VERSION = @CLUTTER_API_VERSION@
|
2011-09-21 17:05:03 +00:00
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
|
2010-09-13 10:30:30 +00:00
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_FILES = $(cally_sources_h) $(cally_sources_c)
|
2011-11-03 15:32:53 +00:00
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS)
|
2010-09-03 10:09:57 +00:00
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
2012-04-30 16:12:12 +00:00
|
|
|
--warn-all \
|
2010-09-30 11:43:10 +00:00
|
|
|
--identifier-prefix=Cally \
|
|
|
|
--symbol-prefix=cally \
|
2010-09-03 10:09:57 +00:00
|
|
|
--c-include='cally/cally.h' \
|
2011-05-06 15:55:10 +00:00
|
|
|
--pkg-export=cally-@CLUTTER_API_VERSION@ \
|
2011-02-22 15:51:13 +00:00
|
|
|
--include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
|
2010-09-03 10:09:57 +00:00
|
|
|
|
|
|
|
INTROSPECTION_GIRS += Cally-@CLUTTER_API_VERSION@.gir
|
2010-07-14 23:26:42 +00:00
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
if SUPPORT_X11
|
2011-05-05 19:56:44 +00:00
|
|
|
ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
|
2010-09-08 17:27:12 +00:00
|
|
|
|
2010-09-09 22:01:40 +00:00
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
2012-04-30 16:12:12 +00:00
|
|
|
--warn-all \
|
2010-09-09 22:01:40 +00:00
|
|
|
--identifier-prefix=ClutterX11 \
|
|
|
|
--symbol-prefix=clutter_x11 \
|
2010-09-30 11:43:10 +00:00
|
|
|
--c-include='clutter/x11/clutter-x11.h' \
|
2011-05-06 15:55:10 +00:00
|
|
|
--pkg-export=clutter-x11-@CLUTTER_API_VERSION@ \
|
|
|
|
--include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
|
2010-09-09 17:32:13 +00:00
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = xlib-2.0
|
2011-09-21 17:05:03 +00:00
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
|
2010-09-13 10:30:30 +00:00
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
|
2011-11-03 15:32:53 +00:00
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS)
|
2010-09-08 17:27:12 +00:00
|
|
|
|
|
|
|
INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
|
|
|
|
endif # SUPPORT_X11
|
|
|
|
|
2011-09-21 17:05:03 +00:00
|
|
|
if SUPPORT_GDK
|
|
|
|
ClutterGdk-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
|
|
|
ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
|
|
|
--identifier-prefix=ClutterGdk \
|
|
|
|
--symbol-prefix=clutter_gdk \
|
|
|
|
--c-include='clutter/gdk/clutter-gdk.h' \
|
|
|
|
--pkg-export=clutter-gdk-@CLUTTER_API_VERSION@ \
|
|
|
|
--include-uninstalled=$(top_builddir)/clutter/Clutter-@CLUTTER_API_VERSION@.gir
|
|
|
|
ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = Gdk-3.0
|
|
|
|
ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_API_VERSION@.la
|
|
|
|
ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_FILES = $(gdk_introspection)
|
2011-11-03 15:32:53 +00:00
|
|
|
ClutterGdk_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS)
|
2011-09-21 17:05:03 +00:00
|
|
|
|
|
|
|
INTROSPECTION_GIRS += ClutterGdk-@CLUTTER_API_VERSION@.gir
|
|
|
|
endif # SUPPORT_GDK
|
|
|
|
|
2009-05-13 22:14:24 +00:00
|
|
|
# INTROSPECTION_GIRDIR/INTROSPECTION_TYPELIBDIR aren't the right place to
|
|
|
|
# install anything - we need to install inside our prefix.
|
2009-02-20 14:39:51 +00:00
|
|
|
girdir = $(datadir)/gir-1.0
|
2011-05-06 15:55:10 +00:00
|
|
|
gir_DATA = $(INTROSPECTION_GIRS)
|
2009-02-20 14:39:51 +00:00
|
|
|
|
2011-05-06 15:55:10 +00:00
|
|
|
typelibdir = $(libdir)/girepository-1.0
|
|
|
|
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
|
2009-05-13 22:14:24 +00:00
|
|
|
|
2011-05-06 15:55:10 +00:00
|
|
|
CLEANFILES += $(gir_DATA) $(typelib_DATA)
|
2009-10-18 16:12:12 +00:00
|
|
|
endif # HAVE_INTROSPECTION
|
2010-01-04 14:53:03 +00:00
|
|
|
|
2012-02-09 18:42:27 +00:00
|
|
|
# Test
|
|
|
|
clutter_all_c_sources = \
|
|
|
|
$(backend_source_c) \
|
|
|
|
$(backend_source_c_priv) \
|
|
|
|
$(source_c) \
|
|
|
|
$(source_c_priv) \
|
|
|
|
$(deprecated_c) \
|
|
|
|
$(deprecated_c_priv) \
|
|
|
|
$(cally_sources_c) \
|
|
|
|
$(built_source_c)
|
|
|
|
|
2012-02-23 14:34:26 +00:00
|
|
|
TESTS_ENVIRONMENT = srcdir="$(srcdir)" CLUTTER_BACKENDS="$(CLUTTER_BACKENDS)"
|
2012-02-09 18:42:27 +00:00
|
|
|
if OS_LINUX
|
|
|
|
TESTS = abicheck.sh
|
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DIST += abicheck.sh
|