git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@76504
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
@$(MAKE) lcov-report
endif
-if EFL_ENABLE_BENCHMARK
-
benchmark:
@cd src && $(MAKE) benchmark
@mkdir result || true
- @cd result && ../src/tests/eo_bench `date +%F_%s`
-
-else
-
-benchmark:
- @echo "reconfigure with --enable-benchmark"
-endif
+ @cd result && ../src/benchmarks/eo_bench `date +%F_%s`
clean-local:
@rm -rf coverage benchmark
### Unit tests, coverage and benchmarking
-EFL_CHECK_BENCHMARK([enable_benchmark="yes"], [enable_benchmark="no"])
-
AC_SUBST([requirements_pc_eo])
.PHONY: benchmark
-if EFL_ENABLE_BENCHMARK
-
-benchmark: all
- cd benchamrks && make eo_bench
-
-else
-
benchmark:
- @echo "reconfigure with --enable-benchmark"
-
-endif
+ @cd benchmarks && $(MAKE) benchmark
@EFL_EO_BUILD@ \
@EO_CFLAGS@
-if EFL_ENABLE_BENCHMARK
+EXTRA_PROGRAMS = eo_bench
-noinst_PROGRAMS = eo_bench
+benchmark: eo_bench
eo_bench_SOURCES = \
class_simple.c \
eo_bench_LDADD = $(top_builddir)/src/lib/libeo.la @EO_LIBS@
-endif
-
clean-local:
rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda