2009-09-16 16:43:58 +00:00
|
|
|
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
2009-08-10 10:45:44 +00:00
|
|
|
|
2009-09-16 16:43:58 +00:00
|
|
|
NULL =
|
2007-03-22 18:21:59 +00:00
|
|
|
|
2008-06-30 15:58:25 +00:00
|
|
|
SUBDIRS = cogl pango $(backendextra) $(clutterbackend)
|
2008-04-23 13:58:58 +00:00
|
|
|
|
|
|
|
if LOCAL_JSON_GLIB
|
|
|
|
SUBDIRS += json
|
|
|
|
clutter_json_include = -I$(top_srcdir)/clutter/json
|
|
|
|
clutter_json_dep = json/libclutter-json.la
|
|
|
|
clutter_json_libadd = $(top_builddir)/clutter/json/libclutter-json.la
|
2009-08-12 14:32:18 +00:00
|
|
|
clutter_json_gir = ClutterJson-@CLUTTER_API_VERSION@.gir
|
2008-04-23 13:58:58 +00:00
|
|
|
endif
|
2007-03-22 18:21:59 +00:00
|
|
|
|
2008-04-28 16:57:44 +00:00
|
|
|
DIST_SUBDIRS = pango glx eglx eglnative cogl sdl json osx x11 win32 fruity
|
2007-03-22 18:21:59 +00:00
|
|
|
|
|
|
|
target = $(clutterbackend)
|
2006-10-03 21:59:30 +00:00
|
|
|
|
2006-05-29 08:59:36 +00:00
|
|
|
MARSHALFILES = clutter-marshal.c clutter-marshal.h
|
|
|
|
ENUMFILES = clutter-enum-types.c clutter-enum-types.h
|
2006-11-20 12:02:24 +00:00
|
|
|
STAMPFILES = stamp-clutter-marshal.h stamp-clutter-enum-types.h
|
2006-05-29 08:59:36 +00:00
|
|
|
|
2007-03-22 18:21:59 +00:00
|
|
|
INCLUDES = \
|
2008-01-25 19:48:26 +00:00
|
|
|
-I$(top_srcdir) \
|
2009-02-28 19:13:18 +00:00
|
|
|
-I$(top_srcdir)/clutter/cogl \
|
2008-01-25 19:48:26 +00:00
|
|
|
-I$(top_srcdir)/clutter/pango \
|
2008-04-25 13:37:36 +00:00
|
|
|
-I$(top_srcdir)/clutter \
|
2008-04-23 13:58:58 +00:00
|
|
|
$(clutter_json_include) \
|
2008-04-25 13:37:36 +00:00
|
|
|
-I$(top_builddir)/clutter \
|
2008-01-25 19:48:26 +00:00
|
|
|
-DCLUTTER_PREFIX=\""$(prefix)"\" \
|
|
|
|
-DCLUTTER_LIBDIR=\""$(libdir)"\" \
|
|
|
|
-DCLUTTER_DATADIR=\""$(datadir)"\" \
|
2008-04-23 13:58:58 +00:00
|
|
|
-DCLUTTER_COMPILATION=1 \
|
2008-01-25 19:48:26 +00:00
|
|
|
-DG_DISABLE_DEPRECATED \
|
2009-06-15 09:48:56 +00:00
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
2008-01-25 19:48:26 +00:00
|
|
|
-DG_LOG_DOMAIN=\"Clutter\" \
|
|
|
|
$(CLUTTER_CFLAGS) \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2009-08-03 12:56:32 +00:00
|
|
|
AM_CFLAGS = $(CLUTTER_DEBUG_CFLAGS) $(MAINTAINER_CFLAGS)
|
2009-02-20 14:39:51 +00:00
|
|
|
|
2007-03-22 18:21:59 +00:00
|
|
|
LDADD = \
|
2007-12-31 14:52:17 +00:00
|
|
|
$(CLUTTER_LT_LDFLAGS) \
|
2007-03-22 18:21:59 +00:00
|
|
|
-export-dynamic \
|
2008-04-09 14:18:42 +00:00
|
|
|
-export-symbols-regex "^(clutter|cogl|json|pango).*" \
|
2007-03-22 18:21:59 +00:00
|
|
|
-rpath $(libdir) \
|
|
|
|
$(NULL)
|
|
|
|
|
2006-05-29 08:59:36 +00:00
|
|
|
BUILT_SOURCES = $(MARSHALFILES) $(ENUMFILES)
|
|
|
|
|
2007-06-09 13:20:22 +00:00
|
|
|
# please, keep this sorted alphabetically
|
2006-11-15 23:37:53 +00:00
|
|
|
source_h = \
|
|
|
|
$(srcdir)/clutter-actor.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 \
|
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 \
|
2008-12-08 13:57:10 +00:00
|
|
|
$(srcdir)/clutter-binding-pool.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 \
|
2009-01-26 10:32:53 +00:00
|
|
|
$(srcdir)/clutter-clone.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-color.h \
|
2007-06-07 14:41:35 +00:00
|
|
|
$(srcdir)/clutter-container.h \
|
2007-11-13 14:06:19 +00:00
|
|
|
$(srcdir)/clutter-deprecated.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 \
|
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 \
|
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 \
|
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 \
|
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 \
|
2007-12-05 21:15:19 +00:00
|
|
|
$(srcdir)/clutter-shader.h \
|
2008-11-18 15:08:40 +00:00
|
|
|
$(srcdir)/clutter-shader-types.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 \
|
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 \
|
2008-04-25 13:37:36 +00:00
|
|
|
$(top_builddir)/clutter/clutter-version.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(NULL)
|
2007-01-23 20:29:11 +00:00
|
|
|
|
2006-11-20 12:02:24 +00:00
|
|
|
clutter-marshal.h: stamp-clutter-marshal.h
|
|
|
|
@true
|
|
|
|
stamp-clutter-marshal.h: clutter-marshal.list
|
2009-02-17 14:56:35 +00:00
|
|
|
$(QUIET_GEN)$(GLIB_GENMARSHAL) \
|
2006-11-20 12:02:24 +00:00
|
|
|
--prefix=clutter_marshal \
|
|
|
|
--header \
|
|
|
|
$(srcdir)/clutter-marshal.list > xgen-cmh \
|
|
|
|
&& (cmp -s xgen-cmh clutter-marshal.h || cp xgen-cmh clutter-marshal.h ) \
|
|
|
|
&& rm -f xgen-cmh \
|
|
|
|
&& echo timestamp > $(@F)
|
2006-05-29 08:59:36 +00:00
|
|
|
|
2006-11-20 12:02:24 +00:00
|
|
|
clutter-marshal.c: clutter-marshal.h Makefile
|
2009-02-17 14:56:35 +00:00
|
|
|
$(QUIET_GEN)( echo "#include \"clutter-marshal.h\"" ; \
|
2006-11-20 12:02:24 +00:00
|
|
|
$(GLIB_GENMARSHAL) \
|
|
|
|
--prefix=clutter_marshal \
|
|
|
|
--body \
|
|
|
|
$(srcdir)/clutter-marshal.list --body ) >> xgen-cmc \
|
|
|
|
&& cp xgen-cmc clutter-marshal.c \
|
|
|
|
&& rm -f xgen-cmc
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
clutter-enum-types.h: stamp-clutter-enum-types.h
|
|
|
|
@true
|
|
|
|
stamp-clutter-enum-types.h: $(source_h) Makefile
|
2009-02-17 14:56:35 +00:00
|
|
|
$(QUIET_GEN)( $(GLIB_MKENUMS) \
|
2007-08-20 20:16:15 +00:00
|
|
|
--template $(srcdir)/clutter-enum-types.h.in \
|
|
|
|
$(source_h) ) >> xgen-ceth && \
|
2009-02-19 14:57:43 +00:00
|
|
|
(cmp -s xgen-ceth clutter-enum-types.h || cp xgen-ceth clutter-enum-types.h) && \
|
2007-08-20 20:16:15 +00:00
|
|
|
rm -f xgen-ceth && \
|
|
|
|
echo timestamp > $(@F)
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
clutter-enum-types.c: clutter-enum-types.h
|
2009-02-17 14:56:35 +00:00
|
|
|
$(QUIET_GEN)( $(GLIB_MKENUMS) \
|
2007-08-20 20:16:15 +00:00
|
|
|
--template $(srcdir)/clutter-enum-types.c.in \
|
|
|
|
$(source_h) ) >> xgen-cetc && \
|
|
|
|
cp xgen-cetc clutter-enum-types.c && \
|
|
|
|
rm -f xgen-cetc
|
2006-05-29 08:59:36 +00:00
|
|
|
|
2007-03-22 18:21:59 +00:00
|
|
|
CLEANFILES = $(STAMPFILES)
|
|
|
|
|
2007-06-09 13:20:22 +00:00
|
|
|
# please, keep this sorted alphabetically
|
2007-03-22 18:21:59 +00:00
|
|
|
source_c = \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-actor.c \
|
|
|
|
$(srcdir)/clutter-alpha.c \
|
|
|
|
$(srcdir)/clutter-animatable.c \
|
|
|
|
$(srcdir)/clutter-animation.c \
|
|
|
|
$(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 \
|
|
|
|
$(srcdir)/clutter-binding-pool.c \
|
|
|
|
$(srcdir)/clutter-cairo-texture.c \
|
|
|
|
$(srcdir)/clutter-child-meta.c \
|
|
|
|
$(srcdir)/clutter-clone.c \
|
|
|
|
$(srcdir)/clutter-color.c \
|
|
|
|
$(srcdir)/clutter-container.c \
|
2009-03-10 18:28:56 +00:00
|
|
|
clutter-enum-types.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-event.c \
|
|
|
|
$(srcdir)/clutter-feature.c \
|
|
|
|
$(srcdir)/clutter-fixed.c \
|
|
|
|
$(srcdir)/clutter-frame-source.c \
|
|
|
|
$(srcdir)/clutter-group.c \
|
|
|
|
$(srcdir)/clutter-id-pool.c \
|
|
|
|
$(srcdir)/clutter-interval.c \
|
|
|
|
$(srcdir)/clutter-list-model.c \
|
|
|
|
$(srcdir)/clutter-main.c \
|
2009-03-10 18:28:56 +00:00
|
|
|
clutter-marshal.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 \
|
|
|
|
$(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 \
|
|
|
|
$(srcdir)/clutter-shader.c \
|
|
|
|
$(srcdir)/clutter-shader-types.c \
|
|
|
|
$(srcdir)/clutter-stage.c \
|
|
|
|
$(srcdir)/clutter-stage-manager.c \
|
|
|
|
$(srcdir)/clutter-stage-window.c \
|
|
|
|
$(srcdir)/clutter-texture.c \
|
|
|
|
$(srcdir)/clutter-text.c \
|
|
|
|
$(srcdir)/clutter-timeline.c \
|
2009-03-09 17:12:27 +00:00
|
|
|
$(srcdir)/clutter-timeout-interval.c \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-timeout-pool.c \
|
|
|
|
$(srcdir)/clutter-units.c \
|
|
|
|
$(srcdir)/clutter-util.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
source_h_priv = \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-bezier.h \
|
|
|
|
$(srcdir)/clutter-debug.h \
|
|
|
|
$(srcdir)/clutter-keysyms-table.h \
|
2009-03-21 20:39:32 +00:00
|
|
|
$(srcdir)/clutter-master-clock.h \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(srcdir)/clutter-model-private.h \
|
|
|
|
$(srcdir)/clutter-private.h \
|
|
|
|
$(srcdir)/clutter-id-pool.h \
|
|
|
|
$(srcdir)/clutter-script-private.h \
|
|
|
|
$(srcdir)/clutter-stage-window.h \
|
2009-03-09 17:12:27 +00:00
|
|
|
$(srcdir)/clutter-timeout-interval.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2007-10-08 15:03:22 +00:00
|
|
|
libclutter_@CLUTTER_FLAVOUR@_@CLUTTER_API_VERSION@_la_LIBADD = \
|
|
|
|
$(CLUTTER_LIBS) \
|
2009-05-13 22:14:24 +00:00
|
|
|
$(top_builddir)/clutter/cogl/libclutter-cogl.la \
|
2008-10-30 17:11:29 +00:00
|
|
|
$(top_builddir)/clutter/pango/libcoglpango.la \
|
2008-04-23 13:58:58 +00:00
|
|
|
$(top_builddir)/clutter/$(CLUTTER_FLAVOUR)/libclutter-$(CLUTTER_FLAVOUR).la \
|
|
|
|
$(clutter_json_libadd) \
|
2007-12-19 16:16:10 +00:00
|
|
|
$(backendextralib)
|
2007-03-22 18:21:59 +00:00
|
|
|
|
2008-02-20 16:00:33 +00:00
|
|
|
libclutter_@CLUTTER_FLAVOUR@_@CLUTTER_API_VERSION@_la_DEPENDENCIES = \
|
2009-05-13 22:14:24 +00:00
|
|
|
$(top_builddir)/clutter/cogl/libclutter-cogl.la \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(top_builddir)/clutter/pango/libcoglpango.la \
|
|
|
|
$(top_builddir)/clutter/$(CLUTTER_FLAVOUR)/libclutter-$(CLUTTER_FLAVOUR).la \
|
2008-04-23 13:58:58 +00:00
|
|
|
$(clutter_json_dep) \
|
2008-02-20 16:00:33 +00:00
|
|
|
$(backendextralib)
|
|
|
|
|
2008-01-25 19:48:26 +00:00
|
|
|
libclutter_@CLUTTER_FLAVOUR@_@CLUTTER_API_VERSION@_la_SOURCES = \
|
|
|
|
$(source_c) \
|
|
|
|
$(source_h) \
|
|
|
|
$(source_h_priv)
|
2007-03-26 23:18:39 +00:00
|
|
|
|
2007-05-22 09:31:40 +00:00
|
|
|
libclutter_@CLUTTER_FLAVOUR@_@CLUTTER_API_VERSION@_la_LDFLAGS = $(LDADD)
|
2007-03-22 18:21:59 +00:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = $(clutterbackendlib)
|
|
|
|
|
2007-05-22 09:31:40 +00:00
|
|
|
EXTRA_LTLIBRARIES = libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_API_VERSION@.la
|
2007-03-22 18:21:59 +00:00
|
|
|
|
2008-01-25 19:48:26 +00:00
|
|
|
clutterdir = $(includedir)/clutter-$(CLUTTER_API_VERSION)/clutter
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter_HEADERS = \
|
|
|
|
$(source_h) \
|
2009-03-10 14:40:33 +00:00
|
|
|
$(top_builddir)/clutter/clutter-json.h \
|
|
|
|
$(top_builddir)/clutter/clutter-enum-types.h \
|
2009-02-28 19:13:18 +00:00
|
|
|
$(top_srcdir)/clutter/clutter.h
|
2007-03-22 18:21:59 +00:00
|
|
|
|
2009-02-20 14:39:51 +00:00
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
BUILT_GIRSOURCES =
|
|
|
|
|
|
|
|
if LOCAL_JSON_GLIB
|
|
|
|
json_gir_include_path=--add-include-path=json
|
2009-06-25 17:56:52 +00:00
|
|
|
json_gir_include=--include=ClutterJson-@CLUTTER_API_VERSION@
|
|
|
|
else
|
|
|
|
json_gir_include=--include=Json-1.0
|
2009-02-20 14:39:51 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
# We can't reference the list of COGL header files, since they are in a
|
2009-05-13 22:14:24 +00:00
|
|
|
# subdir Makefile.am, so just extract them from cogl.h instead. The doc
|
|
|
|
# comments for COGL are in the headers, so we don't need the source files.
|
2009-02-20 14:39:51 +00:00
|
|
|
Clutter-@CLUTTER_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_API_VERSION@.la
|
2009-09-16 16:43:58 +00:00
|
|
|
$(QUIET_GEN)$(INTROSPECTION_SCANNER) -v \
|
2009-06-09 11:40:06 +00:00
|
|
|
--namespace Clutter --nsversion=@CLUTTER_API_VERSION@ \
|
|
|
|
$(INCLUDES) \
|
|
|
|
--add-include-path=cogl \
|
|
|
|
$(json_gir_include_path) \
|
|
|
|
--c-include='clutter/clutter.h' \
|
|
|
|
--include=GL-1.0 \
|
|
|
|
--include=GObject-2.0 \
|
|
|
|
--include=Pango-1.0 \
|
|
|
|
--include=PangoCairo-1.0 \
|
|
|
|
--include=Cogl-@CLUTTER_API_VERSION@ \
|
2009-06-25 17:56:52 +00:00
|
|
|
$(json_gir_include) \
|
2009-08-17 13:12:21 +00:00
|
|
|
--library=libclutter-@CLUTTER_FLAVOUR@-@CLUTTER_API_VERSION@.la \
|
2009-07-17 19:10:06 +00:00
|
|
|
--libtool="$(top_builddir)/libtool" \
|
2009-06-09 11:40:06 +00:00
|
|
|
--pkg gobject-2.0 \
|
|
|
|
--pkg pango \
|
|
|
|
--pkg pangocairo \
|
|
|
|
--output $@ \
|
|
|
|
$(clutter_HEADERS) \
|
|
|
|
$(source_c)
|
2009-02-20 14:39:51 +00:00
|
|
|
|
|
|
|
BUILT_GIRSOURCES += Clutter-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
2009-07-17 19:15:03 +00:00
|
|
|
# ClutterJson.gir and Cogl.gir are used included into Clutter.gir, so need
|
|
|
|
# to be built before the typelib is generated
|
2009-08-12 14:32:18 +00:00
|
|
|
Clutter-@CLUTTER_API_VERSION@.typelib: $(clutter_json_gir) 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
|
|
|
|
Cogl-@CLUTTER_API_VERSION@.gir: Clutter-@CLUTTER_API_VERSION@.gir 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-08-17 14:41:27 +00:00
|
|
|
sed "s/shared-library=\"[^\"]*\"/shared-library=\"$$shlib\"/"< cogl/Cogl-@CLUTTER_API_VERSION@.gir > $@
|
2009-05-13 22:14:24 +00:00
|
|
|
|
|
|
|
BUILT_GIRSOURCES += Cogl-@CLUTTER_API_VERSION@.gir
|
|
|
|
|
2009-02-20 14:39:51 +00:00
|
|
|
if LOCAL_JSON_GLIB
|
2009-05-13 22:14:24 +00:00
|
|
|
# If we are building it, ClutterJson gets the same handling as described
|
|
|
|
# for Cogl above
|
2009-02-20 14:39:51 +00:00
|
|
|
ClutterJson-@CLUTTER_API_VERSION@.gir: Clutter-@CLUTTER_API_VERSION@.gir json/ClutterJson-@CLUTTER_API_VERSION@.gir
|
2009-09-16 16:43:58 +00:00
|
|
|
$(QUIET_GEN) \
|
2009-02-20 14:39:51 +00:00
|
|
|
shlib=`sed -n 's/.*shared-library="\([^"]*\)".*/\1/p' < Clutter-@CLUTTER_API_VERSION@.gir` ; \
|
2009-08-17 14:41:27 +00:00
|
|
|
sed "s/shared-library=\"[^\"]*\"/shared-library=\"$$shlib\"/"< json/ClutterJson-@CLUTTER_API_VERSION@.gir > $@
|
2009-02-20 14:39:51 +00:00
|
|
|
|
|
|
|
BUILT_GIRSOURCES += ClutterJson-@CLUTTER_API_VERSION@.gir
|
|
|
|
endif
|
|
|
|
|
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
|
|
|
|
gir_DATA = $(BUILT_GIRSOURCES)
|
|
|
|
|
|
|
|
typelibsdir = $(libdir)/girepository-1.0/
|
2009-05-13 22:14:24 +00:00
|
|
|
|
2009-02-20 14:39:51 +00:00
|
|
|
typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib)
|
|
|
|
|
|
|
|
%.typelib: %.gir $(INTROSPECTION_COMPILER)
|
2009-08-17 22:27:22 +00:00
|
|
|
$(QUIET_GEN) \
|
2009-08-17 17:57:18 +00:00
|
|
|
LD_LIBRARY_PATH=.libs$${LD_LIBRARY_PATH:+:$$LD_LIBRARY_PATH} \
|
2009-08-17 22:27:22 +00:00
|
|
|
$(INTROSPECTION_COMPILER) \
|
2009-08-17 13:21:42 +00:00
|
|
|
--includedir=$(srcdir) \
|
|
|
|
--includedir=. \
|
|
|
|
$(INTROSPECTION_COMPILER_OPTS) $< -o $(@F)
|
2009-02-20 14:39:51 +00:00
|
|
|
|
|
|
|
CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA)
|
|
|
|
endif
|
|
|
|
|
2007-03-22 18:21:59 +00:00
|
|
|
DISTCLEANFILES = \
|
|
|
|
$(ENUMFILES) \
|
|
|
|
$(MARSHALFILES) \
|
|
|
|
clutter-version.h \
|
|
|
|
$(NULL)
|
2006-05-29 08:59:36 +00:00
|
|
|
|
2007-08-20 20:16:15 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
clutter-marshal.list \
|
|
|
|
clutter-version.h.in \
|
|
|
|
clutter-enum-types.h.in \
|
2008-01-25 19:48:26 +00:00
|
|
|
clutter-enum-types.c.in \
|
|
|
|
$(NULL)
|