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
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# we recurse only into Cogl
|
|
|
|
SUBDIRS = cogl
|
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 \
|
2009-07-29 16:21:07 +00:00
|
|
|
-I$(top_srcdir)/clutter/cogl \
|
|
|
|
-I$(top_srcdir)/clutter/cogl/pango \
|
2010-09-13 10:30:30 +00:00
|
|
|
-I$(top_srcdir)/clutter/$(CLUTTER_WINSYS) \
|
|
|
|
-I$(top_srcdir)/clutter/$(CLUTTER_WINSYS_BASE) \
|
|
|
|
-I$(top_srcdir)/clutter/cally \
|
2010-11-04 10:59:22 +00:00
|
|
|
-I$(top_srcdir)/clutter/evdev \
|
2010-02-26 09:48:43 +00:00
|
|
|
-I$(top_builddir) \
|
2009-07-29 16:21:07 +00:00
|
|
|
-I$(top_builddir)/clutter \
|
2010-02-26 09:48:43 +00:00
|
|
|
-I$(top_builddir)/clutter/cogl \
|
2009-10-13 18:27:03 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DCLUTTER_PREFIX=\""$(prefix)"\" \
|
|
|
|
-DCLUTTER_LIBDIR=\""$(libdir)"\" \
|
|
|
|
-DCLUTTER_DATADIR=\""$(datadir)"\" \
|
2010-09-07 22:35:06 +00:00
|
|
|
-DCLUTTER_LOCALEDIR=\""$(localedir)"\" \
|
2009-10-13 18:27:03 +00:00
|
|
|
-DCLUTTER_COMPILATION=1 \
|
2010-09-10 13:27:56 +00:00
|
|
|
-DCLUTTER_DISABLE_DEPRECATED \
|
2010-02-10 10:58:14 +00:00
|
|
|
-DCOGL_DISABLE_DEPRECATED \
|
|
|
|
-DCOGL_ENABLE_EXPERIMENTAL_API \
|
2009-10-13 18:27:03 +00:00
|
|
|
-DG_DISABLE_DEPRECATED \
|
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
|
|
-DG_LOG_DOMAIN=\"Clutter\" \
|
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)
|
|
|
|
|
2010-01-04 14:53:03 +00:00
|
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS) $(MAINTAINER_CFLAGS) $(GCOV_CFLAGS)
|
2007-03-22 18:21:59 +00:00
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# these are the gir files we generate by hand
|
|
|
|
BUILT_GIRSOURCES =
|
|
|
|
|
|
|
|
# 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
|
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 \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-alpha.h \
|
2009-01-08 12:56:46 +00:00
|
|
|
$(srcdir)/clutter-animatable.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-animation.h \
|
2010-02-05 12:32:00 +00:00
|
|
|
$(srcdir)/clutter-animator.h \
|
2007-07-04 09:34:24 +00:00
|
|
|
$(srcdir)/clutter-backend.h \
|
2006-11-15 23:37:53 +00:00
|
|
|
$(srcdir)/clutter-behaviour.h \
|
2007-07-09 21:38:43 +00:00
|
|
|
$(srcdir)/clutter-behaviour-depth.h \
|
2007-04-30 08:39:20 +00:00
|
|
|
$(srcdir)/clutter-behaviour-ellipse.h \
|
2006-11-15 23:37:53 +00:00
|
|
|
$(srcdir)/clutter-behaviour-opacity.h \
|
|
|
|
$(srcdir)/clutter-behaviour-path.h \
|
2007-04-16 10:25:30 +00:00
|
|
|
$(srcdir)/clutter-behaviour-rotate.h \
|
2006-11-15 23:37:53 +00:00
|
|
|
$(srcdir)/clutter-behaviour-scale.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-09-01 16:42:50 +00:00
|
|
|
$(srcdir)/clutter-box.h \
|
2009-10-13 11:14:05 +00:00
|
|
|
$(srcdir)/clutter-box-layout.h \
|
2008-12-11 15:24:07 +00:00
|
|
|
$(srcdir)/clutter-cairo-texture.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 \
|
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 \
|
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 \
|
2010-04-08 09:55:15 +00:00
|
|
|
$(srcdir)/clutter-effect.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 \
|
|
|
|
$(srcdir)/clutter-fixed.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 \
|
2008-05-09 16:27:06 +00:00
|
|
|
$(srcdir)/clutter-frame-source.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-group.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 \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-keysyms.h \
|
2010-09-10 12:41:49 +00:00
|
|
|
$(srcdir)/clutter-keysyms-compat.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 \
|
2007-06-07 14:41:35 +00:00
|
|
|
$(srcdir)/clutter-main.h \
|
2006-11-15 23:37:53 +00:00
|
|
|
$(srcdir)/clutter-media.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 \
|
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 \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-rectangle.h \
|
2007-10-25 14:34:54 +00:00
|
|
|
$(srcdir)/clutter-score.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 \
|
2010-06-21 14:42:20 +00:00
|
|
|
$(srcdir)/clutter-settings.h \
|
2007-12-05 21:15:19 +00:00
|
|
|
$(srcdir)/clutter-shader.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 \
|
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 \
|
2009-08-13 11:34:07 +00:00
|
|
|
$(srcdir)/clutter-stage-window.h \
|
2010-05-11 14:04:34 +00:00
|
|
|
$(srcdir)/clutter-state.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 \
|
2008-12-11 11:12:48 +00:00
|
|
|
$(srcdir)/clutter-text.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-timeline.h \
|
2007-06-09 13:19:52 +00:00
|
|
|
$(srcdir)/clutter-timeout-pool.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 \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-util.h \
|
|
|
|
$(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-alpha.c \
|
|
|
|
$(srcdir)/clutter-animatable.c \
|
|
|
|
$(srcdir)/clutter-animation.c \
|
2010-02-05 12:32:00 +00:00
|
|
|
$(srcdir)/clutter-animator.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-backend.c \
|
|
|
|
$(srcdir)/clutter-behaviour.c \
|
|
|
|
$(srcdir)/clutter-behaviour-depth.c \
|
|
|
|
$(srcdir)/clutter-behaviour-ellipse.c \
|
|
|
|
$(srcdir)/clutter-behaviour-opacity.c \
|
|
|
|
$(srcdir)/clutter-behaviour-path.c \
|
|
|
|
$(srcdir)/clutter-behaviour-rotate.c \
|
|
|
|
$(srcdir)/clutter-behaviour-scale.c \
|
|
|
|
$(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-09-01 16:42:50 +00:00
|
|
|
$(srcdir)/clutter-box.c \
|
2009-10-13 11:14:05 +00:00
|
|
|
$(srcdir)/clutter-box-layout.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-cairo-texture.c \
|
|
|
|
$(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 \
|
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 \
|
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 \
|
|
|
|
$(srcdir)/clutter-fixed.c \
|
2009-09-02 11:37:16 +00:00
|
|
|
$(srcdir)/clutter-fixed-layout.c \
|
2009-09-18 16:28:02 +00:00
|
|
|
$(srcdir)/clutter-flow-layout.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-frame-source.c \
|
|
|
|
$(srcdir)/clutter-group.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 \
|
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-media.c \
|
|
|
|
$(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 \
|
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 \
|
|
|
|
$(srcdir)/clutter-rectangle.c \
|
|
|
|
$(srcdir)/clutter-score.c \
|
|
|
|
$(srcdir)/clutter-script.c \
|
|
|
|
$(srcdir)/clutter-script-parser.c \
|
|
|
|
$(srcdir)/clutter-scriptable.c \
|
2010-06-21 14:42:20 +00:00
|
|
|
$(srcdir)/clutter-settings.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-shader.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 \
|
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-05-11 14:04:34 +00:00
|
|
|
$(srcdir)/clutter-state.c \
|
2010-03-18 16:02:31 +00:00
|
|
|
$(srcdir)/clutter-table-layout.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-texture.c \
|
|
|
|
$(srcdir)/clutter-text.c \
|
|
|
|
$(srcdir)/clutter-timeline.c \
|
|
|
|
$(srcdir)/clutter-timeout-pool.c \
|
|
|
|
$(srcdir)/clutter-units.c \
|
|
|
|
$(srcdir)/clutter-util.c \
|
2010-09-08 19:39:15 +00:00
|
|
|
$(srcdir)/clutter-paint-volume.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 \
|
|
|
|
$(srcdir)/clutter-debug.h \
|
|
|
|
$(srcdir)/clutter-device-manager-private.h \
|
|
|
|
$(srcdir)/clutter-id-pool.h \
|
|
|
|
$(srcdir)/clutter-keysyms-table.h \
|
|
|
|
$(srcdir)/clutter-master-clock.h \
|
|
|
|
$(srcdir)/clutter-model-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 \
|
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 \
|
2010-10-21 09:54:14 +00:00
|
|
|
$(srcdir)/clutter-timeout-interval.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 = \
|
|
|
|
$(srcdir)/clutter-id-pool.c \
|
|
|
|
$(srcdir)/clutter-profile.c \
|
|
|
|
$(srcdir)/clutter-timeout-interval.c \
|
|
|
|
$(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
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# version header
|
|
|
|
DISTCLEANFILES += clutter-version.h
|
|
|
|
EXTRA_DIST += clutter-version.h.in
|
|
|
|
|
|
|
|
# key symbol update script
|
|
|
|
EXTRA_DIST += clutter-keysyms-update.pl
|
|
|
|
|
|
|
|
pc_files += clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
# 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 \
|
|
|
|
$(srcdir)/x11/clutter-device-manager-x11.c \
|
|
|
|
$(srcdir)/x11/clutter-event-x11.c \
|
|
|
|
$(srcdir)/x11/clutter-input-device-x11.c \
|
|
|
|
$(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 \
|
|
|
|
$(srcdir)/x11/clutter-device-manager-x11.h \
|
|
|
|
$(srcdir)/x11/clutter-input-device-x11.h \
|
|
|
|
$(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)
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
# pkg-config file for the X11 meta-backend
|
|
|
|
clutter-x11-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-x11-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
clutterx11_includedir = $(clutter_includedir)/x11
|
|
|
|
clutterx11_include_HEADERS = $(x11_source_h)
|
|
|
|
endif # SUPPORT_X11
|
|
|
|
|
|
|
|
# GLX backend rules
|
|
|
|
glx_source_c = \
|
|
|
|
$(srcdir)/glx/clutter-backend-glx.c \
|
|
|
|
$(srcdir)/glx/clutter-event-glx.c \
|
|
|
|
$(srcdir)/glx/clutter-glx-texture-pixmap.c \
|
|
|
|
$(srcdir)/glx/clutter-stage-glx.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
glx_source_h = \
|
|
|
|
$(srcdir)/glx/clutter-glx-texture-pixmap.h \
|
|
|
|
$(srcdir)/glx/clutter-glx.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
glx_source_h_priv = \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/glx/clutter-backend-glx.h \
|
|
|
|
$(srcdir)/glx/clutter-event-glx.h \
|
|
|
|
$(srcdir)/glx/clutter-stage-glx.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
if SUPPORT_GLX
|
2010-09-13 10:30:30 +00:00
|
|
|
backend_source_h += $(glx_source_h)
|
|
|
|
backend_source_c += $(glx_source_c)
|
2010-10-03 15:10:44 +00:00
|
|
|
backend_source_h_priv += $(glx_source_h_priv)
|
2010-09-13 10:30:30 +00:00
|
|
|
|
|
|
|
# XXX - this is another hack; we installed glx headers under includedir/glx
|
|
|
|
# instead of using the same directory.
|
|
|
|
clutterglx_includedir = $(clutter_includedir)/glx
|
|
|
|
clutterglx_include_HEADERS = $(glx_source_h)
|
|
|
|
endif # SUPPORT_GLX
|
|
|
|
|
|
|
|
# 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 :
|
|
|
|
$(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)
|
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
|
|
|
|
|
|
|
# EGL backend rules
|
|
|
|
egl_source_h = \
|
|
|
|
$(srcdir)/egl/clutter-egl-headers.h \
|
|
|
|
$(srcdir)/egl/clutter-egl.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
egl_source_c = \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/egl/clutter-backend-egl.c \
|
|
|
|
$(srcdir)/egl/clutter-stage-egl.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
egl_source_h_priv = \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(srcdir)/egl/clutter-backend-egl.h \
|
|
|
|
$(srcdir)/egl/clutter-stage-egl.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
egl_source_c_priv =
|
|
|
|
|
|
|
|
egl_tslib_c = $(srcdir)/egl/clutter-event-tslib.c
|
|
|
|
|
2010-11-04 14:38:32 +00:00
|
|
|
evdev_c_priv = \
|
|
|
|
$(srcdir)/evdev/clutter-xkb-utils.c \
|
|
|
|
$(srcdir)/evdev/clutter-device-manager-evdev.c \
|
|
|
|
$(srcdir)/evdev/clutter-input-device-evdev.c \
|
|
|
|
$(NULL)
|
|
|
|
evdev_h_priv = \
|
|
|
|
$(srcdir)/evdev/clutter-xkb-utils.h \
|
|
|
|
$(srcdir)/evdev/clutter-device-manager-evdev.h \
|
|
|
|
$(srcdir)/evdev/clutter-input-device-evdev.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
egl_cex_c_priv = $(srcdir)/egl/clutter-backend-cex100.c
|
|
|
|
egl_cex_h_priv = $(srcdir)/egl/clutter-backend-cex100.h
|
|
|
|
egl_cex_h = $(srcdir)/egl/clutter-cex100.h
|
|
|
|
|
|
|
|
if SUPPORT_EGL
|
2010-11-04 14:38:32 +00:00
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
if USE_TSLIB
|
2010-10-03 15:10:44 +00:00
|
|
|
egl_source_c_priv += $(egl_tslib_c)
|
2010-09-13 10:30:30 +00:00
|
|
|
endif # SUPPORT_TSLIB
|
2010-11-04 14:38:32 +00:00
|
|
|
|
|
|
|
if SUPPORT_EVDEV
|
|
|
|
egl_source_c_priv += $(evdev_c_priv)
|
|
|
|
egl_source_h_priv += $(evdev_h_priv)
|
|
|
|
endif # SUPPORT_EVDEV
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
if SUPPORT_CEX100
|
2010-10-03 15:10:44 +00:00
|
|
|
egl_source_c_priv += $(egl_cex_c_priv)
|
|
|
|
egl_source_h_priv += $(egl_cex_h_priv)
|
|
|
|
egl_source_h += $(egl_cex_h)
|
2010-09-13 10:30:30 +00:00
|
|
|
endif # SUPPORT_CEX100
|
|
|
|
|
|
|
|
backend_source_h += $(egl_source_h)
|
2010-10-03 15:10:44 +00:00
|
|
|
backend_source_c += $(egl_source_c)
|
|
|
|
backend_source_h_priv += $(egl_source_h_priv)
|
|
|
|
backend_source_c_priv += $(egl_source_c_priv)
|
2010-09-13 10:30:30 +00:00
|
|
|
|
|
|
|
clutteregl_includedir = $(clutter_includedir)/egl
|
|
|
|
clutteregl_include_HEADERS = $(egl_source_h)
|
|
|
|
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 \
|
|
|
|
$(srcdir)/osx/clutter-stage-osx.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
osx_source_c_priv = $(srcdir)/osx/clutter-event-osx.c
|
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)
|
2010-09-13 10:30:30 +00:00
|
|
|
endif # SUPPORT_OSX
|
|
|
|
|
|
|
|
# Fruity backend rules
|
2010-10-03 15:10:44 +00:00
|
|
|
fruity_source_c = \
|
|
|
|
$(srcdir)/fruity/clutter-backend-fruity.c \
|
|
|
|
$(srcdir)/fruity/clutter-stage-fruity.c \
|
|
|
|
$(srcdir)/fruity/clutter-fruity.c \
|
|
|
|
$(NULL)
|
2010-09-13 10:30:30 +00:00
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
fruity_source_h = \
|
|
|
|
$(srcdir)/fruity/clutter-backend-fruity.h \
|
|
|
|
$(srcdir)/fruity/clutter-stage-fruity.h \
|
|
|
|
$(srcdir)/fruity/clutter-fruity.h \
|
|
|
|
$(NULL)
|
2010-10-04 08:09:13 +00:00
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
if SUPPORT_FRUITY
|
2010-10-04 09:52:36 +00:00
|
|
|
AM_CFLAGS += -xobjective-c
|
|
|
|
|
2010-10-03 15:10:44 +00:00
|
|
|
backend_source_c_priv += $(fruity_source_c)
|
|
|
|
backend_source_h_priv += $(fruity_source_h)
|
|
|
|
|
|
|
|
clutterfruity_includedir = $(clutter_includedir)/fruity
|
|
|
|
clutterfruity_include_HEADERS = $(srcdir)/fruity/clutter-fruity.h
|
2010-09-13 10:30:30 +00:00
|
|
|
endif # SUPPORT_FRUITY
|
|
|
|
|
2010-09-28 14:17:46 +00:00
|
|
|
# Wayland backend rules
|
|
|
|
if SUPPORT_WAYLAND
|
|
|
|
backend_source_h += \
|
|
|
|
$(srcdir)/wayland/clutter-wayland.h
|
|
|
|
|
|
|
|
backend_source_h_priv += \
|
2010-11-04 10:59:22 +00:00
|
|
|
$(srcdir)/evdev/clutter-xkb-utils.h \
|
|
|
|
$(srcdir)/wayland/clutter-backend-wayland.h \
|
2010-09-28 14:17:46 +00:00
|
|
|
$(srcdir)/wayland/clutter-stage-wayland.h
|
|
|
|
|
|
|
|
backend_source_c += \
|
2010-11-04 10:59:22 +00:00
|
|
|
$(srcdir)/evdev/clutter-xkb-utils.c \
|
|
|
|
$(srcdir)/wayland/clutter-backend-wayland.c \
|
|
|
|
$(srcdir)/wayland/clutter-stage-wayland.c \
|
|
|
|
$(srcdir)/wayland/clutter-event-wayland.c \
|
2010-09-28 14:17:46 +00:00
|
|
|
$(srcdir)/wayland/clutter-input-device-wayland.c
|
|
|
|
|
|
|
|
clutterwayland_includedir = $(clutter_includedir)/wayland
|
|
|
|
clutterwayland_include_HEADERS = $(wayland_source_h)
|
|
|
|
endif # SUPPORT_WAYLAND
|
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# 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
|
|
|
|
|
|
|
|
# backend-specific pkg-config file
|
|
|
|
clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc: clutter-$(CLUTTER_API_VERSION).pc
|
|
|
|
$(QUIET_GEN)cp -f $< $(@F)
|
|
|
|
|
|
|
|
pc_files += clutter-$(CLUTTER_WINSYS)-$(CLUTTER_API_VERSION).pc
|
|
|
|
|
|
|
|
pkgconfigdir = $(libdir)/pkgconfig
|
|
|
|
pkgconfig_DATA = $(pc_files)
|
|
|
|
DISTCLEANFILES += $(pc_files)
|
|
|
|
|
|
|
|
clutter_include_HEADERS = $(source_h) $(top_srcdir)/clutter/clutter.h
|
|
|
|
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
|
|
|
$(top_builddir)/clutter/clutter-version.h \
|
|
|
|
$(built_source_h)
|
|
|
|
|
|
|
|
lib_LTLIBRARIES += libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
|
|
|
|
2010-06-18 00:25:46 +00:00
|
|
|
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_LIBADD = \
|
2009-10-13 18:27:03 +00:00
|
|
|
$(CLUTTER_LIBS) \
|
2010-11-07 15:27:17 +00:00
|
|
|
$(CLUTTER_PROFILE_LIBS) \
|
Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys
As part of an incremental process to have Cogl be a standalone project we
want to re-consider how we organise the Cogl source code.
Currently this is the structure I'm aiming for:
cogl/
cogl/
<put common source here>
winsys/
cogl-glx.c
cogl-wgl.c
driver/
gl/
gles/
os/ ?
utils/
cogl-fixed
cogl-matrix-stack?
cogl-journal?
cogl-primitives?
pango/
The new winsys component is a starting point for migrating window system
code (i.e. x11,glx,wgl,osx,egl etc) from Clutter to Cogl.
The utils/ and pango/ directories aren't added by this commit, but they are
noted because I plan to add them soon.
Overview of the planned structure:
* The winsys/ API is the API that binds OpenGL to a specific window system,
be that X11 or win32 etc. Example are glx, wgl and egl. Much of the logic
under clutter/{glx,osx,win32 etc} should migrate here.
* Note there is also the idea of a winsys-base that may represent a window
system for which there are multiple winsys APIs. An example of this is
x11, since glx and egl may both be used with x11. (currently only Clutter
has the idea of a winsys-base)
* The driver/ represents a specific varient of OpenGL. Currently we have "gl"
representing OpenGL 1.4-2.1 (mostly fixed function) and "gles" representing
GLES 1.1 (fixed funciton) and 2.0 (fully shader based)
* Everything under cogl/ should fundamentally be supporting access to the
GPU. Essentially Cogl's most basic requirement is to provide a nice GPU
Graphics API and drawing a line between this and the utility functionality
we add to support Clutter should help keep this lean and maintainable.
* Code under utils/ as suggested builds on cogl/ adding more convenient
APIs or mechanism to optimize special cases. Broadly speaking you can
compare cogl/ to OpenGL and utils/ to GLU.
* clutter/pango will be moved to clutter/cogl/pango
How some of the internal configure.ac/pkg-config terminology has changed:
backendextra -> CLUTTER_WINSYS_BASE # e.g. "x11"
backendextralib -> CLUTTER_WINSYS_BASE_LIB # e.g. "x11/libclutter-x11.la"
clutterbackend -> {CLUTTER,COGL}_WINSYS # e.g. "glx"
CLUTTER_FLAVOUR -> {CLUTTER,COGL}_WINSYS
clutterbackendlib -> CLUTTER_WINSYS_LIB
CLUTTER_COGL -> COGL_DRIVER # e.g. "gl"
Note: The CLUTTER_FLAVOUR and CLUTTER_COGL defines are kept for apps
As the first thing to take advantage of the new winsys component in Cogl;
cogl_get_proc_address() has been moved from cogl/{gl,gles}/cogl.c into
cogl/common/cogl.c and this common implementation first trys
_cogl_winsys_get_proc_address() but if that fails then it falls back to
gmodule.
2009-07-28 01:02:02 +00:00
|
|
|
$(top_builddir)/clutter/cogl/cogl/libclutter-cogl.la \
|
2010-09-13 10:30:30 +00:00
|
|
|
$(top_builddir)/clutter/cogl/pango/libcoglpango.la
|
2010-06-14 11:38:25 +00:00
|
|
|
|
2010-06-18 00:25:46 +00:00
|
|
|
libclutter_@CLUTTER_SONAME_INFIX@_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
|
Intial Re-layout of the Cogl source code and introduction of a Cogl Winsys
As part of an incremental process to have Cogl be a standalone project we
want to re-consider how we organise the Cogl source code.
Currently this is the structure I'm aiming for:
cogl/
cogl/
<put common source here>
winsys/
cogl-glx.c
cogl-wgl.c
driver/
gl/
gles/
os/ ?
utils/
cogl-fixed
cogl-matrix-stack?
cogl-journal?
cogl-primitives?
pango/
The new winsys component is a starting point for migrating window system
code (i.e. x11,glx,wgl,osx,egl etc) from Clutter to Cogl.
The utils/ and pango/ directories aren't added by this commit, but they are
noted because I plan to add them soon.
Overview of the planned structure:
* The winsys/ API is the API that binds OpenGL to a specific window system,
be that X11 or win32 etc. Example are glx, wgl and egl. Much of the logic
under clutter/{glx,osx,win32 etc} should migrate here.
* Note there is also the idea of a winsys-base that may represent a window
system for which there are multiple winsys APIs. An example of this is
x11, since glx and egl may both be used with x11. (currently only Clutter
has the idea of a winsys-base)
* The driver/ represents a specific varient of OpenGL. Currently we have "gl"
representing OpenGL 1.4-2.1 (mostly fixed function) and "gles" representing
GLES 1.1 (fixed funciton) and 2.0 (fully shader based)
* Everything under cogl/ should fundamentally be supporting access to the
GPU. Essentially Cogl's most basic requirement is to provide a nice GPU
Graphics API and drawing a line between this and the utility functionality
we add to support Clutter should help keep this lean and maintainable.
* Code under utils/ as suggested builds on cogl/ adding more convenient
APIs or mechanism to optimize special cases. Broadly speaking you can
compare cogl/ to OpenGL and utils/ to GLU.
* clutter/pango will be moved to clutter/cogl/pango
How some of the internal configure.ac/pkg-config terminology has changed:
backendextra -> CLUTTER_WINSYS_BASE # e.g. "x11"
backendextralib -> CLUTTER_WINSYS_BASE_LIB # e.g. "x11/libclutter-x11.la"
clutterbackend -> {CLUTTER,COGL}_WINSYS # e.g. "glx"
CLUTTER_FLAVOUR -> {CLUTTER,COGL}_WINSYS
clutterbackendlib -> CLUTTER_WINSYS_LIB
CLUTTER_COGL -> COGL_DRIVER # e.g. "gl"
Note: The CLUTTER_FLAVOUR and CLUTTER_COGL defines are kept for apps
As the first thing to take advantage of the new winsys component in Cogl;
cogl_get_proc_address() has been moved from cogl/{gl,gles}/cogl.c into
cogl/common/cogl.c and this common implementation first trys
_cogl_winsys_get_proc_address() but if that fails then it falls back to
gmodule.
2009-07-28 01:02:02 +00:00
|
|
|
$(top_builddir)/clutter/cogl/cogl/libclutter-cogl.la \
|
2009-07-29 16:21:07 +00:00
|
|
|
$(top_builddir)/clutter/cogl/pango/libcoglpango.la \
|
2010-01-15 22:56:37 +00:00
|
|
|
$(win32_resources)
|
2008-02-20 16:00:33 +00:00
|
|
|
|
2010-06-18 00:25:46 +00:00
|
|
|
libclutter_@CLUTTER_SONAME_INFIX@_@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) \
|
|
|
|
$(cally_sources_c) \
|
|
|
|
$(cally_sources_h) \
|
|
|
|
$(cally_sources_private) \
|
|
|
|
$(NULL)
|
2007-03-26 23:18:39 +00:00
|
|
|
|
2010-06-18 00:25:46 +00:00
|
|
|
nodist_libclutter_@CLUTTER_SONAME_INFIX@_@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)
|
|
|
|
|
2010-06-18 00:25:46 +00:00
|
|
|
libclutter_@CLUTTER_SONAME_INFIX@_@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) \
|
|
|
|
$(GCOV_LDFLAGS) \
|
|
|
|
-export-dynamic \
|
2010-09-22 11:56:33 +00:00
|
|
|
-export-symbols-regex "^(clutter|cogl|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
|
|
|
|
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
|
2010-09-03 10:09:57 +00:00
|
|
|
INTROSPECTION_GIRS += Clutter-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
2010-09-22 11:56:33 +00:00
|
|
|
Clutter-@CLUTTER_API_VERSION@.gir: libclutter-@CLUTTER_SONAME_INFIX@-@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@
|
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
2010-09-29 17:18:03 +00:00
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_FILES = $(clutter_include_HEADERS) $(nodist_clutter_include_HEADERS) $(source_c) $(built_source_c)
|
2010-09-20 13:13:49 +00:00
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
|
2010-12-10 17:15:23 +00:00
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_INCLUDES = GL-1.0 GObject-2.0 cairo-1.0 Atk-1.0 Pango-1.0 PangoCairo-1.0 Json-1.0
|
2010-09-03 10:09:57 +00:00
|
|
|
Clutter_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
|
|
|
--c-include='clutter/clutter.h' \
|
2010-09-30 11:43:10 +00:00
|
|
|
--pkg-export=clutter-@CLUTTER_API_VERSION@ \
|
2010-09-03 10:09:57 +00:00
|
|
|
--include-uninstalled=$(top_builddir)/clutter/cogl/cogl/Cogl-@CLUTTER_API_VERSION@.gir
|
2009-02-20 14:39:51 +00:00
|
|
|
|
2010-09-22 11:56:33 +00:00
|
|
|
# Cogl.gir is used included into Clutter.gir, so it needs to be built
|
|
|
|
# before the typelib is generated
|
|
|
|
Clutter-@CLUTTER_API_VERSION@.typelib: Cogl-@CLUTTER_API_VERSION@.gir
|
2009-07-17 19:15:03 +00:00
|
|
|
|
2009-05-13 22:14:24 +00:00
|
|
|
# We build Cogl.gir in the cogl/ subdir, but it needs to reference the shared
|
|
|
|
# library that it's built into, so we delay compiling the gir into typelib
|
|
|
|
# until after we've built the shared library. To create the final Cogl.gir
|
|
|
|
# that we compile and install, we transfer the shared-library="" line from
|
|
|
|
# Clutter.gir to Cogl.gir
|
2010-07-07 14:57:43 +00:00
|
|
|
Cogl-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir cogl/cogl/Cogl-@CLUTTER_API_VERSION@.gir
|
2009-09-16 16:43:58 +00:00
|
|
|
$(QUIET_GEN) \
|
2009-05-13 22:14:24 +00:00
|
|
|
shlib=`sed -n 's/.*shared-library="\([^"]*\)".*/\1/p' < Clutter-@CLUTTER_API_VERSION@.gir` ; \
|
2009-10-18 16:00:24 +00:00
|
|
|
sed "s/shared-library=\"[^\"]*\"/shared-library=\"$$shlib\"/"< cogl/cogl/Cogl-@CLUTTER_API_VERSION@.gir > $@
|
2009-05-13 22:14:24 +00:00
|
|
|
|
|
|
|
BUILT_GIRSOURCES += Cogl-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
2010-09-30 11:31:28 +00:00
|
|
|
Cally-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir Cogl-@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@
|
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@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)
|
2010-09-20 13:13:49 +00:00
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
|
2010-09-03 10:09:57 +00:00
|
|
|
Cally_@CLUTTER_API_VERSION_AM@_gir_SCANNERFLAGS = \
|
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' \
|
2010-09-13 10:30:30 +00:00
|
|
|
--pkg-export=cally-@CLUTTER_API_VERSION@ \
|
2010-09-30 11:43:10 +00:00
|
|
|
--include-uninstalled=$(top_builddir)/clutter/Cogl-@CLUTTER_API_VERSION@.gir \
|
|
|
|
--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
|
|
|
|
ClutterX11-@CLUTTER_API_VERSION@.gir: Makefile Clutter-@CLUTTER_API_VERSION@.gir Cogl-@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 = \
|
|
|
|
--identifier-prefix=ClutterX11 \
|
|
|
|
--symbol-prefix=clutter_x11 \
|
2010-09-30 11:43:10 +00:00
|
|
|
--c-include='clutter/x11/clutter-x11.h' \
|
|
|
|
--pkg-export=clutter-x11-@CLUTTER_API_VERSION@ \
|
2010-09-13 10:30:30 +00:00
|
|
|
--include-uninstalled=$(top_builddir)/clutter/Cogl-@CLUTTER_API_VERSION@.gir \
|
2010-09-13 01:15:44 +00:00
|
|
|
--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
|
2010-09-08 17:27:12 +00:00
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_LIBS = libclutter-@CLUTTER_SONAME_INFIX@-@CLUTTER_API_VERSION@.la
|
2010-09-13 10:30:30 +00:00
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_FILES = $(x11_introspection)
|
|
|
|
ClutterX11_@CLUTTER_API_VERSION_AM@_gir_CFLAGS = $(INCLUDES) $(CLUTTER_CFLAGS) $(AM_CPPFLAGS) -UCLUTTER_DISABLE_DEPRECATED
|
2010-09-08 17:27:12 +00:00
|
|
|
|
|
|
|
INTROSPECTION_GIRS += ClutterX11-@CLUTTER_API_VERSION@.gir
|
|
|
|
endif # SUPPORT_X11
|
|
|
|
|
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
|
2010-09-13 01:01:21 +00:00
|
|
|
gir_DATA = $(BUILT_GIRSOURCES) $(INTROSPECTION_GIRS)
|
2009-02-20 14:39:51 +00:00
|
|
|
|
|
|
|
typelibsdir = $(libdir)/girepository-1.0/
|
2010-09-03 10:09:57 +00:00
|
|
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) $(INTROSPECTION_GIRS:.gir=.typelib)
|
2009-05-13 22:14:24 +00:00
|
|
|
|
2010-09-13 01:01:21 +00:00
|
|
|
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
|
2009-10-18 16:12:12 +00:00
|
|
|
endif # HAVE_INTROSPECTION
|
2010-01-04 14:53:03 +00:00
|
|
|
|
2010-09-13 10:30:30 +00:00
|
|
|
# GCov rules
|
|
|
|
gcov_sources = $(source_c) $(backend_source_c)
|
2010-01-04 14:53:03 +00:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.gcov
|