summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Schmidt <stefan@osg.samsung.com>2015-06-24 13:46:43 +0200
committerStefan Schmidt <stefan@osg.samsung.com>2015-06-24 13:46:43 +0200
commit1e2fd2be0717f5a51943a8ce58c26fdab13305b1 (patch)
tree903b6d0f9ff0270ce8b10a272db42e8c49de8899 /src
parent5abfefe99ea290191ef59f840b11c64fb9792edb (diff)
examples: Fix build after ecore_buffer commit.
Since 8b621775619b9959fe952b095b3baaa7aaa99572 make examples fails to build as the examples have been included without checking if ecore_buffer is actually enabled to build. make[2]: *** No rule to make target '../../../src/lib/ecore_buffer/libecore_buffer.la', needed by 'ecore_buffer_example'. Stop. I'm running make examples during the nightlies now in the hope to catch those.
Diffstat (limited to 'src')
-rw-r--r--src/examples/ecore/Makefile.am14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index 179408e..3f2c788 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -8,7 +8,6 @@ AM_CPPFLAGS = \
8-I$(top_srcdir)/src/lib/eo \ 8-I$(top_srcdir)/src/lib/eo \
9-I$(top_srcdir)/src/lib/evas \ 9-I$(top_srcdir)/src/lib/evas \
10-I$(top_srcdir)/src/lib/ecore \ 10-I$(top_srcdir)/src/lib/ecore \
11-I$(top_srcdir)/src/lib/ecore_buffer \
12-I$(top_srcdir)/src/lib/ecore_input \ 11-I$(top_srcdir)/src/lib/ecore_input \
13-I$(top_srcdir)/src/lib/ecore_input_evas \ 12-I$(top_srcdir)/src/lib/ecore_input_evas \
14-I$(top_srcdir)/src/lib/ecore_file \ 13-I$(top_srcdir)/src/lib/ecore_file \
@@ -34,11 +33,12 @@ AM_CPPFLAGS = \
34-DPACKAGE_EXAMPLES_DIR=\".\" \ 33-DPACKAGE_EXAMPLES_DIR=\".\" \
35@ECORE_CFLAGS@ 34@ECORE_CFLAGS@
36 35
36if HAVE_ECORE_BUFFER
37AM_CPPFLAGS += -I$(top_srcdir)/src/lib/ecore_buffer
38endif
39
37EXTRA_PROGRAMS = \ 40EXTRA_PROGRAMS = \
38ecore_animator_example \ 41ecore_animator_example \
39ecore_buffer_example \
40ecore_buffer_consumer_example \
41ecore_buffer_provider_example \
42ecore_client_bench \ 42ecore_client_bench \
43ecore_compose_get_example \ 43ecore_compose_get_example \
44ecore_con_client_example \ 44ecore_con_client_example \
@@ -116,6 +116,11 @@ $(ECORE_COMMON_LDADD)
116ecore_animator_example_SOURCES = ecore_animator_example.c 116ecore_animator_example_SOURCES = ecore_animator_example.c
117ecore_animator_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) 117ecore_animator_example_LDADD = $(ECORE_EVAS_COMMON_LDADD)
118 118
119if HAVE_ECORE_BUFFER
120EXTRA_PROGRAMS += ecore_buffer_example \
121ecore_buffer_consumer_example \
122ecore_buffer_provider_example
123
119ecore_buffer_example_SOURCES = ecore_buffer_example.c 124ecore_buffer_example_SOURCES = ecore_buffer_example.c
120ecore_buffer_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \ 125ecore_buffer_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
121 $(top_builddir)/src/lib/ecore_buffer/libecore_buffer.la 126 $(top_builddir)/src/lib/ecore_buffer/libecore_buffer.la
@@ -127,6 +132,7 @@ ecore_buffer_consumer_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
127ecore_buffer_provider_example_SOURCES = ecore_buffer_provider_example.c 132ecore_buffer_provider_example_SOURCES = ecore_buffer_provider_example.c
128ecore_buffer_provider_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \ 133ecore_buffer_provider_example_LDADD = $(ECORE_EVAS_COMMON_LDADD) \
129 $(top_builddir)/src/lib/ecore_buffer/libecore_buffer.la 134 $(top_builddir)/src/lib/ecore_buffer/libecore_buffer.la
135endif
130 136
131ecore_client_bench_SOURCES = ecore_client_bench.c 137ecore_client_bench_SOURCES = ecore_client_bench.c
132ecore_client_bench_LDADD = $(ECORE_CON_COMMON_LDADD) 138ecore_client_bench_LDADD = $(ECORE_CON_COMMON_LDADD)