summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2011-09-29 18:20:13 +0100
committerEmmanuele Bassi <ebassi@linux.intel.com>2011-11-10 16:33:35 +0000
commit109252d0e634fd3eda697459e8482b9d48d92ec6 (patch)
tree1e3d4c39eb56e5407efa153bd8dfc2313217779f /examples
parent6465d94d9a993838624ccc627406551f069a0f3d (diff)
downloadclutter-gtk-109252d0e634fd3eda697459e8482b9d48d92ec6.tar.gz
Support run-time backend detection
Clutter moved to multi-backend support, so we need to perform run-time checks along with the compile-time ones. We can also check for the GDK backend that is available since Clutter 1.9 and use it.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 29c3df8..af1b2e9 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -13,23 +13,23 @@ noinst_PROGRAMS = \
INCLUDES = -I$(srcdir) -I$(top_srcdir) -I$(top_builddir)/clutter-gtk
-AM_CFLAGS = $(MAINTAINER_CFLAGS) $(CLUTTER_CFLAGS) $(GTK_CFLAGS)
+AM_CFLAGS = $(MAINTAINER_CFLAGS) $(CLUTTER_GTK_DEPS_CFLAGS)
common_deps = \
$(top_builddir)/clutter-gtk/libclutter-gtk-@CLUTTER_GTK_API_VERSION@.la
common_ldadd = \
$(top_builddir)/clutter-gtk/libclutter-gtk-@CLUTTER_GTK_API_VERSION@.la \
- $(CLUTTER_LIBS) \
- $(GTK_LIBS)
+ $(CLUTTER_GTK_DEPS_LIBS) \
+ $(LIBM)
gtk_clutter_test_SOURCES = gtk-clutter-test.c
gtk_clutter_test_DEPENDENCIES = $(common_deps)
-gtk_clutter_test_LDADD = $(common_ldadd) $(LIBM)
+gtk_clutter_test_LDADD = $(common_ldadd)
gtk_clutter_test_actor_SOURCES = gtk-clutter-test-actor.c
gtk_clutter_test_actor_DEPENDENCIES = $(common_deps)
-gtk_clutter_test_actor_LDADD = $(common_ldadd) $(LIBM)
+gtk_clutter_test_actor_LDADD = $(common_ldadd)
gtk_clutter_events_SOURCES = gtk-clutter-events.c
gtk_clutter_events_DEPENDENCIES = $(common_deps)
@@ -49,7 +49,7 @@ gtk_clutter_window_test2_LDADD = $(common_ldadd)
gtk_clutter_test_scroll_SOURCES = gtk-clutter-test-scroll.c
gtk_clutter_test_scroll_DEPENDENCIES = $(common_deps)
-gtk_clutter_test_scroll_LDADD = $(common_ldadd) $(LIBM)
+gtk_clutter_test_scroll_LDADD = $(common_ldadd)
EXTRA_DIST = \
redhand.png