mutter/examples/Makefile.am
Robert Bragg 43c4b21a1d Adds an example cogl wayland compositor
This adds an example cogl compositor to test the
_cogl_wayland_texture_2d_new_from_buffer API. The compositor emulates 4
output displays but doesn't support input since Cogl doesn't deal with
input. It's quite a minimal example of what it takes to write a wayland
compositor so could be interesting to anyone learning about wayland.
2011-06-01 20:44:42 +01:00

37 lines
705 B
Makefile

include $(top_srcdir)/build/autotools/Makefile.am.silent
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/clutter/cogl \
-I$(top_builddir)/clutter/cogl
AM_CFLAGS = \
$(COGL_DEP_CFLAGS) \
$(COGL_EXTRA_CFLAGS) \
-DCOGL_ENABLE_EXPERIMENTAL_2_0_API
AM_CPPFLAGS = \
-DG_DISABLE_SINGLE_INCLUDES \
-DCOGL_DISABLE_DEPRECATED
common_ldadd = \
$(top_builddir)/cogl/libcogl.la
noinst_PROGRAMS = hello
hello_SOURCES = hello.c
hello_LDADD = $(common_ldadd)
if X11_TESTS
noinst_PROGRAMS += x11-foreign
x11_foreign_SOURCES = x11-foreign.c
x11_foreign_LDADD = $(common_ldadd)
endif
if SUPPORT_WAYLAND_EGL_SERVER
noinst_PROGRAMS += cogland
cogland_SOURCES = cogland.c
cogland_LDADD = $(common_ldadd)
endif