summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac14
-rw-r--r--src/benchmarks/eina/Makefile.am4
-rw-r--r--src/benchmarks/eo/Makefile.am4
-rw-r--r--src/examples/ecore/Makefile.am4
-rw-r--r--src/examples/edbus/Makefile.am4
-rw-r--r--src/examples/edje/Makefile.am5
-rw-r--r--src/examples/eet/Makefile.am4
-rw-r--r--src/examples/eina/Makefile.am4
-rw-r--r--src/examples/eio/Makefile.am4
-rw-r--r--src/examples/ephysics/Makefile.am4
-rw-r--r--src/examples/evas/Makefile.am5
12 files changed, 57 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 1f26687..519951e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,5 @@
1ACLOCAL_AMFLAGS = -I m4 1ACLOCAL_AMFLAGS = -I m4
2AM_DISTCHECK_CONFIGURE_FLAGS = --with-tests=regular --enable-always-build-examples
2 3
3SUBDIRS = src data doc 4SUBDIRS = src data doc
4 5
diff --git a/configure.ac b/configure.ac
index 7182408..ca5bb8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3348,6 +3348,20 @@ AC_SUBST([want_physics])
3348EFL_LIB_END([Edje]) 3348EFL_LIB_END([Edje])
3349#### End of Edje 3349#### End of Edje
3350 3350
3351AC_ARG_ENABLE([always-build-examples],
3352 [AC_HELP_STRING([--enable-always-build-examples],
3353 [always build examples. @<:@default=disabled@:>@])],
3354 [
3355 if test "x${enableval}" = "xyes" ; then
3356 want_always_build_examples="yes"
3357 else
3358 want_always_build_examples="no"
3359 fi
3360 ],
3361 [want_always_build_examples="no"])
3362AM_CONDITIONAL([ALWAYS_BUILD_EXAMPLES], [test "${want_always_build_examples}" = "yes"])
3363
3364
3351AC_CONFIG_FILES([ 3365AC_CONFIG_FILES([
3352Makefile 3366Makefile
3353data/Makefile 3367data/Makefile
diff --git a/src/benchmarks/eina/Makefile.am b/src/benchmarks/eina/Makefile.am
index c58eab5..a6d5c19 100644
--- a/src/benchmarks/eina/Makefile.am
+++ b/src/benchmarks/eina/Makefile.am
@@ -52,3 +52,7 @@ EXTRA_DIST = strlog
52 52
53clean-local: 53clean-local:
54 rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda 54 rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda
55
56if ALWAYS_BUILD_EXAMPLES
57noinst_PROGRAMS = $(EXTRA_PROGRAMS)
58endif
diff --git a/src/benchmarks/eo/Makefile.am b/src/benchmarks/eo/Makefile.am
index c57c2e6..69b3dc1 100644
--- a/src/benchmarks/eo/Makefile.am
+++ b/src/benchmarks/eo/Makefile.am
@@ -26,3 +26,7 @@ $(top_builddir)/src/lib/eina/libeina.la \
26 26
27clean-local: 27clean-local:
28 rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda 28 rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda
29
30if ALWAYS_BUILD_EXAMPLES
31noinst_PROGRAMS = $(EXTRA_PROGRAMS)
32endif
diff --git a/src/examples/ecore/Makefile.am b/src/examples/ecore/Makefile.am
index 4d876a0..3f86273 100644
--- a/src/examples/ecore/Makefile.am
+++ b/src/examples/ecore/Makefile.am
@@ -267,3 +267,7 @@ uninstall-local:
267 for f in $(SRCS) $(DATA_FILES); do \ 267 for f in $(SRCS) $(DATA_FILES); do \
268 rm -f $(datadir)/ecore/examples/$$f ; \ 268 rm -f $(datadir)/ecore/examples/$$f ; \
269 done 269 done
270
271if ALWAYS_BUILD_EXAMPLES
272noinst_PROGRAMS = $(EXTRA_PROGRAMS)
273endif
diff --git a/src/examples/edbus/Makefile.am b/src/examples/edbus/Makefile.am
index b91dcd8..e7fc3a4 100644
--- a/src/examples/edbus/Makefile.am
+++ b/src/examples/edbus/Makefile.am
@@ -71,3 +71,7 @@ uninstall-local:
71 for f in $(SRCS) ; do \ 71 for f in $(SRCS) ; do \
72 rm -f $(datadir)/edbus/examples/$$f ; \ 72 rm -f $(datadir)/edbus/examples/$$f ; \
73 done 73 done
74
75if ALWAYS_BUILD_EXAMPLES
76noinst_PROGRAMS = $(EXTRA_PROGRAMS)
77endif
diff --git a/src/examples/edje/Makefile.am b/src/examples/edje/Makefile.am
index 97bcd1c..e392dea 100644
--- a/src/examples/edje/Makefile.am
+++ b/src/examples/edje/Makefile.am
@@ -209,3 +209,8 @@ uninstall-local:
209 for f in $(SRCS) $(DIST_EDCS) $(DATA_FILES); do \ 209 for f in $(SRCS) $(DIST_EDCS) $(DATA_FILES); do \
210 rm -f $(datadir)/edje/examples/$$f ; \ 210 rm -f $(datadir)/edje/examples/$$f ; \
211 done 211 done
212
213if ALWAYS_BUILD_EXAMPLES
214noinst_PROGRAMS = $(EXTRA_PROGRAMS)
215nodist_pkgdata_DATA = $(EDJS)
216endif
diff --git a/src/examples/eet/Makefile.am b/src/examples/eet/Makefile.am
index f9e626f..1233e70 100644
--- a/src/examples/eet/Makefile.am
+++ b/src/examples/eet/Makefile.am
@@ -52,3 +52,7 @@ uninstall-local:
52 for f in $(SRCS) ; do \ 52 for f in $(SRCS) ; do \
53 rm -f $(datadir)/eet/examples/$$f ; \ 53 rm -f $(datadir)/eet/examples/$$f ; \
54 done 54 done
55
56if ALWAYS_BUILD_EXAMPLES
57noinst_PROGRAMS = $(EXTRA_PROGRAMS)
58endif
diff --git a/src/examples/eina/Makefile.am b/src/examples/eina/Makefile.am
index 4404b11..4421f50 100644
--- a/src/examples/eina/Makefile.am
+++ b/src/examples/eina/Makefile.am
@@ -149,3 +149,7 @@ uninstall-local:
149 done 149 done
150 150
151EXTRA_DIST = addr_book.txt chat.xml 151EXTRA_DIST = addr_book.txt chat.xml
152
153if ALWAYS_BUILD_EXAMPLES
154noinst_PROGRAMS = $(EXTRA_PROGRAMS)
155endif
diff --git a/src/examples/eio/Makefile.am b/src/examples/eio/Makefile.am
index 950f1ec..762a742 100644
--- a/src/examples/eio/Makefile.am
+++ b/src/examples/eio/Makefile.am
@@ -51,3 +51,7 @@ uninstall-local:
51 for f in $(SRCS) ; do \ 51 for f in $(SRCS) ; do \
52 rm -f $(datadir)/eio/examples/$$f ; \ 52 rm -f $(datadir)/eio/examples/$$f ; \
53 done 53 done
54
55if ALWAYS_BUILD_EXAMPLES
56noinst_PROGRAMS = $(EXTRA_PROGRAMS)
57endif
diff --git a/src/examples/ephysics/Makefile.am b/src/examples/ephysics/Makefile.am
index 2e9b3e7..73645b7 100644
--- a/src/examples/ephysics/Makefile.am
+++ b/src/examples/ephysics/Makefile.am
@@ -87,3 +87,7 @@ uninstall-local:
87 for f in $(SRCS) ; do \ 87 for f in $(SRCS) ; do \
88 rm -f $(datadir)/ephysics/examples/$$f ; \ 88 rm -f $(datadir)/ephysics/examples/$$f ; \
89 done 89 done
90
91if ALWAYS_BUILD_EXAMPLES
92noinst_PROGRAMS = $(EXTRA_PROGRAMS)
93endif
diff --git a/src/examples/evas/Makefile.am b/src/examples/evas/Makefile.am
index e1c484a..7557e40 100644
--- a/src/examples/evas/Makefile.am
+++ b/src/examples/evas/Makefile.am
@@ -220,3 +220,8 @@ uninstall-local:
220 done 220 done
221 221
222EXTRA_DIST = $(EDCS) $(DATA_FILES) 222EXTRA_DIST = $(EDCS) $(DATA_FILES)
223
224if ALWAYS_BUILD_EXAMPLES
225noinst_PROGRAMS = $(EXTRA_PROGRAMS)
226nodist_pkgdata_DATA = $(EDJS)
227endif