2011-03-17 15:32:54 -04:00
|
|
|
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) \
|
2011-05-11 11:37:09 -04:00
|
|
|
-DCOGL_ENABLE_EXPERIMENTAL_2_0_API \
|
|
|
|
-DCOGL_EXAMPLES_DATA=\""$(abs_top_srcdir)/examples/"\"
|
2011-03-17 15:32:54 -04:00
|
|
|
|
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
|
|
-DCOGL_DISABLE_DEPRECATED
|
|
|
|
|
|
|
|
|
|
|
|
common_ldadd = \
|
2011-06-15 09:52:21 -04:00
|
|
|
$(COGL_DEP_LIBS) \
|
2011-05-05 17:04:07 -04:00
|
|
|
$(top_builddir)/cogl/libcogl.la
|
2011-03-17 15:32:54 -04:00
|
|
|
|
|
|
|
noinst_PROGRAMS = hello
|
|
|
|
|
|
|
|
hello_SOURCES = hello.c
|
|
|
|
hello_LDADD = $(common_ldadd)
|
|
|
|
|
2011-05-11 11:37:09 -04:00
|
|
|
if BUILD_COGL_PANGO
|
|
|
|
noinst_PROGRAMS += crate
|
|
|
|
crate_SOURCES = crate.c
|
|
|
|
crate_LDADD = $(common_ldadd) $(top_builddir)/cogl-pango/libcogl-pango.la
|
|
|
|
endif
|
|
|
|
|
2011-03-17 15:32:54 -04:00
|
|
|
if X11_TESTS
|
2011-07-15 15:17:49 -04:00
|
|
|
noinst_PROGRAMS += x11-foreign x11-tfp
|
2011-03-17 15:32:54 -04:00
|
|
|
x11_foreign_SOURCES = x11-foreign.c
|
2011-06-15 09:52:21 -04:00
|
|
|
x11_foreign_LDADD = $(common_ldadd)
|
2011-07-15 15:17:49 -04:00
|
|
|
x11_tfp_SOURCES = x11-tfp.c
|
|
|
|
x11_tfp_LDADD = $(common_ldadd)
|
2011-03-17 15:32:54 -04:00
|
|
|
endif
|
2011-05-25 14:27:10 -04:00
|
|
|
|
|
|
|
if SUPPORT_WAYLAND_EGL_SERVER
|
|
|
|
noinst_PROGRAMS += cogland
|
|
|
|
cogland_SOURCES = cogland.c
|
|
|
|
cogland_LDADD = $(common_ldadd)
|
|
|
|
endif
|
2011-05-11 11:37:09 -04:00
|
|
|
|
|
|
|
EXTRA_DIST = crate.jpg
|