mutter/examples/Makefile.am
Emmanuele Bassi 07c95ebf0c Move examples from tests/interactive to a new top-level
The example code that is meant to be XIncluded into the API reference
should not be part of the interactive test suite: it's code that it is
meant to be used as a reference implementation - whereas the interactive
test suite should be allowed to be lean and test behaviour even in nasty
ways. In short: the test suite should not be the place where we show off
idiomatic code for educational purposes.
2012-05-01 19:00:35 +01:00

40 lines
783 B
Makefile

include $(top_srcdir)/build/autotools/Makefile.am.silent
all_examples = \
basic-actor \
bind-constraint \
canvas \
constraints \
drag-action \
drop-action \
threads
if PIXBUF_TESTS
all_examples += \
bin-layout \
image-content
endif
INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/clutter \
-I$(top_builddir)/clutter
LDADD = \
$(top_builddir)/clutter/libclutter-@CLUTTER_API_VERSION@.la \
$(CLUTTER_LIBS) \
$(GDK_PIXBUF_LIBS) \
-lm
AM_CFLAGS = $(CLUTTER_CFLAGS) $(GDK_PIXBUF_CFLAGS)
AM_CPPFLAGS = \
-DTESTS_DATADIR=\""$(abs_top_srcdir)/tests/data"\" \
-DG_DISABLE_SINGLE_INCLUDES \
-DGLIB_DISABLE_DEPRECATION_WARNINGS \
-DCLUTTER_DISABLE_DEPRECATION_WARNINGS
noinst_PROGRAMS = $(all_examples)
-include $(top_srcdir)/build/autotools/Makefile.am.gitignore