2007-03-22 18:21:59 +00:00
|
|
|
NULL =
|
|
|
|
|
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
|
|
|
|
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) \
|
|
|
|
-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 \
|
|
|
|
-DG_LOG_DOMAIN=\"Clutter\" \
|
|
|
|
$(GCC_FLAGS) \
|
|
|
|
$(CLUTTER_CFLAGS) \
|
|
|
|
$(CLUTTER_DEBUG_CFLAGS) \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
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 \
|
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-04-16 10:25:30 +00:00
|
|
|
$(srcdir)/clutter-behaviour-bspline.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-05-28 13:48:11 +00:00
|
|
|
$(srcdir)/clutter-child-meta.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
$(srcdir)/clutter-clone-texture.h \
|
|
|
|
$(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-07-26 13:13:23 +00:00
|
|
|
$(srcdir)/clutter-effect.h \
|
2007-05-31 18:33:42 +00:00
|
|
|
$(srcdir)/clutter-entry.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 \
|
|
|
|
$(srcdir)/clutter-keysyms.h \
|
|
|
|
$(srcdir)/clutter-label.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 \
|
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 \
|
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 \
|
|
|
|
$(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
|
|
|
|
$(GLIB_GENMARSHAL) \
|
|
|
|
--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
|
|
|
|
( echo "#include \"clutter-marshal.h\"" ; \
|
|
|
|
$(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
|
2008-04-25 13:37:36 +00:00
|
|
|
( $(GLIB_MKENUMS) \
|
2007-08-20 20:16:15 +00:00
|
|
|
--template $(srcdir)/clutter-enum-types.h.in \
|
|
|
|
$(source_h) ) >> xgen-ceth && \
|
|
|
|
(cmp xgen-ceth clutter-enum-types.h || cp xgen-ceth clutter-enum-types.h) && \
|
|
|
|
rm -f xgen-ceth && \
|
|
|
|
echo timestamp > $(@F)
|
2006-05-29 08:59:36 +00:00
|
|
|
|
|
|
|
clutter-enum-types.c: clutter-enum-types.h
|
2008-04-25 13:37:36 +00:00
|
|
|
( $(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 = \
|
|
|
|
clutter-actor.c \
|
|
|
|
clutter-alpha.c \
|
|
|
|
clutter-backend.c \
|
|
|
|
clutter-behaviour.c \
|
2007-04-16 10:25:30 +00:00
|
|
|
clutter-behaviour-bspline.c \
|
2007-07-09 21:38:43 +00:00
|
|
|
clutter-behaviour-depth.c \
|
2007-04-30 08:39:20 +00:00
|
|
|
clutter-behaviour-ellipse.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-behaviour-opacity.c \
|
|
|
|
clutter-behaviour-path.c \
|
2007-04-16 10:25:30 +00:00
|
|
|
clutter-behaviour-rotate.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-behaviour-scale.c \
|
2008-05-28 13:48:11 +00:00
|
|
|
clutter-child-meta.c \
|
2008-04-25 13:37:36 +00:00
|
|
|
clutter-clone-texture.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-color.c \
|
2007-06-07 14:41:35 +00:00
|
|
|
clutter-container.c \
|
2007-06-14 15:29:52 +00:00
|
|
|
clutter-effect.c \
|
|
|
|
clutter-entry.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-enum-types.c \
|
|
|
|
clutter-event.c \
|
|
|
|
clutter-feature.c \
|
|
|
|
clutter-fixed.c \
|
2008-04-17 16:50:23 +00:00
|
|
|
clutter-frame-source.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-group.c \
|
2008-03-07 17:34:40 +00:00
|
|
|
clutter-id-pool.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-label.c \
|
2008-01-09 14:40:31 +00:00
|
|
|
clutter-list-model.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-main.c \
|
|
|
|
clutter-marshal.c \
|
|
|
|
clutter-media.c \
|
2007-11-15 10:02:25 +00:00
|
|
|
clutter-model.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-rectangle.c \
|
2007-09-27 21:38:38 +00:00
|
|
|
clutter-score.c \
|
2007-10-08 15:03:22 +00:00
|
|
|
clutter-script.c \
|
2007-10-25 14:34:54 +00:00
|
|
|
clutter-script-parser.c \
|
|
|
|
clutter-scriptable.c \
|
2007-12-05 21:15:19 +00:00
|
|
|
clutter-shader.c \
|
2007-10-25 14:34:54 +00:00
|
|
|
clutter-stage.c \
|
2008-03-28 22:50:55 +00:00
|
|
|
clutter-stage-manager.c \
|
2008-04-04 15:02:11 +00:00
|
|
|
clutter-stage-window.c \
|
2007-10-25 14:34:54 +00:00
|
|
|
clutter-texture.c \
|
|
|
|
clutter-timeline.c \
|
2007-06-09 13:19:52 +00:00
|
|
|
clutter-timeout-pool.c \
|
2008-04-17 09:13:12 +00:00
|
|
|
clutter-units.c \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-util.c \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
source_h_priv = \
|
|
|
|
clutter-debug.h \
|
2007-12-14 17:25:55 +00:00
|
|
|
clutter-keysyms-table.h \
|
2008-01-09 14:18:53 +00:00
|
|
|
clutter-model-private.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-private.h \
|
2008-03-07 17:34:40 +00:00
|
|
|
clutter-id-pool.h \
|
2007-10-08 15:03:22 +00:00
|
|
|
clutter-script-private.h \
|
2008-04-04 15:02:11 +00:00
|
|
|
clutter-stage-window.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) \
|
2008-04-23 13:58:58 +00:00
|
|
|
$(top_builddir)/clutter/pango/libpangoclutter.la \
|
|
|
|
$(top_builddir)/clutter/$(CLUTTER_FLAVOUR)/libclutter-$(CLUTTER_FLAVOUR).la \
|
|
|
|
$(top_builddir)/clutter/cogl/$(CLUTTER_COGL)/libclutter-cogl.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 = \
|
|
|
|
pango/libpangoclutter.la \
|
|
|
|
$(CLUTTER_FLAVOUR)/libclutter-$(CLUTTER_FLAVOUR).la \
|
|
|
|
cogl/$(CLUTTER_COGL)/libclutter-cogl.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-26 23:18:39 +00:00
|
|
|
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter_HEADERS = \
|
|
|
|
$(source_h) \
|
2007-10-25 14:34:54 +00:00
|
|
|
clutter-json.h \
|
2007-03-22 18:21:59 +00:00
|
|
|
clutter-enum-types.h \
|
|
|
|
clutter-version.h \
|
|
|
|
clutter.h
|
|
|
|
|
|
|
|
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)
|