summaryrefslogtreecommitdiff
path: root/legacy/eobj
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-09-12 08:35:12 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-09-12 08:35:12 +0000
commit1074a63fb7def61dd32d8ebb099f3a315f18b086 (patch)
treeed76aa120684e3a9f86ff473081457ce6ffaa007 /legacy/eobj
parentb487866e75b12e1e86fbe5582c3981308573b01f (diff)
Eo: make benchmark
SVN revision: 76504
Diffstat (limited to 'legacy/eobj')
-rw-r--r--legacy/eobj/Makefile.am10
-rw-r--r--legacy/eobj/configure.ac2
-rw-r--r--legacy/eobj/src/Makefile.am11
-rw-r--r--legacy/eobj/src/benchmarks/Makefile.am6
4 files changed, 4 insertions, 25 deletions
diff --git a/legacy/eobj/Makefile.am b/legacy/eobj/Makefile.am
index 765232e221..1f21acb064 100644
--- a/legacy/eobj/Makefile.am
+++ b/legacy/eobj/Makefile.am
@@ -74,18 +74,10 @@ if EFL_ENABLE_COVERAGE
74 @$(MAKE) lcov-report 74 @$(MAKE) lcov-report
75endif 75endif
76 76
77if EFL_ENABLE_BENCHMARK
78
79benchmark: 77benchmark:
80 @cd src && $(MAKE) benchmark 78 @cd src && $(MAKE) benchmark
81 @mkdir result || true 79 @mkdir result || true
82 @cd result && ../src/tests/eo_bench `date +%F_%s` 80 @cd result && ../src/benchmarks/eo_bench `date +%F_%s`
83
84else
85
86benchmark:
87 @echo "reconfigure with --enable-benchmark"
88endif
89 81
90clean-local: 82clean-local:
91 @rm -rf coverage benchmark 83 @rm -rf coverage benchmark
diff --git a/legacy/eobj/configure.ac b/legacy/eobj/configure.ac
index 78e4bc1504..078e04564e 100644
--- a/legacy/eobj/configure.ac
+++ b/legacy/eobj/configure.ac
@@ -171,8 +171,6 @@ AC_SUBST([lt_enable_auto_import])
171 171
172### Unit tests, coverage and benchmarking 172### Unit tests, coverage and benchmarking
173 173
174EFL_CHECK_BENCHMARK([enable_benchmark="yes"], [enable_benchmark="no"])
175
176AC_SUBST([requirements_pc_eo]) 174AC_SUBST([requirements_pc_eo])
177 175
178 176
diff --git a/legacy/eobj/src/Makefile.am b/legacy/eobj/src/Makefile.am
index b6a0867c8b..c3b7c36aa0 100644
--- a/legacy/eobj/src/Makefile.am
+++ b/legacy/eobj/src/Makefile.am
@@ -5,14 +5,5 @@ SUBDIRS = lib benchmarks examples tests
5 5
6.PHONY: benchmark 6.PHONY: benchmark
7 7
8if EFL_ENABLE_BENCHMARK
9
10benchmark: all
11 cd benchamrks && make eo_bench
12
13else
14
15benchmark: 8benchmark:
16 @echo "reconfigure with --enable-benchmark" 9 @cd benchmarks && $(MAKE) benchmark
17
18endif
diff --git a/legacy/eobj/src/benchmarks/Makefile.am b/legacy/eobj/src/benchmarks/Makefile.am
index a3a853ef67..33b6ac7fe4 100644
--- a/legacy/eobj/src/benchmarks/Makefile.am
+++ b/legacy/eobj/src/benchmarks/Makefile.am
@@ -7,9 +7,9 @@ AM_CPPFLAGS = \
7@EFL_EO_BUILD@ \ 7@EFL_EO_BUILD@ \
8@EO_CFLAGS@ 8@EO_CFLAGS@
9 9
10if EFL_ENABLE_BENCHMARK 10EXTRA_PROGRAMS = eo_bench
11 11
12noinst_PROGRAMS = eo_bench 12benchmark: eo_bench
13 13
14eo_bench_SOURCES = \ 14eo_bench_SOURCES = \
15class_simple.c \ 15class_simple.c \
@@ -20,7 +20,5 @@ eo_bench_eo_do.c
20 20
21eo_bench_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@ 21eo_bench_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
22 22
23endif
24
25clean-local: 23clean-local:
26 rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda 24 rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda