summaryrefslogtreecommitdiff
path: root/src/benchmarks
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-18 08:12:44 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-18 08:12:53 +0200
commit4f8e15c16c4f68b6fae8708b177ce672daefc59c (patch)
tree8c1bf8d808e0939bbd83291855961512ee42e70c /src/benchmarks
parente8c69667b01e2795c1e4ead0536652f935ffa674 (diff)
downloadefl-4f8e15c16c4f68b6fae8708b177ce672daefc59c.tar.gz
Revert "autotools: REMOVAL!"
This reverts commit e8c69667b01e2795c1e4ead0536652f935ffa674. git push on a wrong branch, sorry. This will land today, but not now.
Diffstat (limited to 'src/benchmarks')
-rw-r--r--src/benchmarks/eina/Makefile.am60
-rw-r--r--src/benchmarks/eo/Makefile.am36
-rw-r--r--src/benchmarks/evas/Makefile.am35
3 files changed, 131 insertions, 0 deletions
diff --git a/src/benchmarks/eina/Makefile.am b/src/benchmarks/eina/Makefile.am
new file mode 100644
index 0000000000..da6ceb913d
--- /dev/null
+++ b/src/benchmarks/eina/Makefile.am
@@ -0,0 +1,60 @@
+MAINTAINERCLEANFILES = Makefile.in
+
+AM_CPPFLAGS = \
+-I$(top_builddir)/src/lib/efl \
+-I$(top_srcdir)/src/lib/eina \
+-I$(top_builddir)/src/lib/eina \
+-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
+-DCITYHASH_BENCH \
+-DEINA_ENABLE_BENCH_E17 \
+@EINA_CFLAGS@ \
+@GLIB_CFLAGS@
+
+EXTRA_PROGRAMS = eina_bench
+
+benchmark: eina_bench libcity.la
+
+eina_bench_SOURCES = \
+eina_bench.c \
+eina_bench_sort.c \
+eina_bench_hash.c \
+eina_bench_crc_hash.c \
+eina_bench_stringshare.c \
+eina_bench_convert.c \
+eina_bench_mempool.c \
+eina_bench_stringshare_e17.c \
+eina_bench_array.c \
+eina_bench_rectangle_pool.c \
+ecore_list.c \
+ecore_strings.c \
+ecore_hash.c \
+ecore_sheap.c \
+evas_hash.c \
+evas_list.c \
+evas_mempool.c \
+evas_object_list.c \
+evas_stringshare.c \
+eina_bench_quad.c \
+eina_bench.h \
+Ecore_Data.h \
+Evas_Data.h \
+evas_mempool.h
+
+EXTRA_LTLIBRARIES = libcity.la
+libcity_la_SOURCES = city.cc city.h
+
+nodist_EXTRA_eina_bench_SOURCES = dummy.cc
+eina_bench_LDADD = \
+$(top_builddir)/src/lib/eina/libeina.la \
+libcity.la \
+@GLIB_LIBS@ \
+@EINA_LDFLAGS@
+
+EXTRA_DIST = strlog
+
+clean-local:
+ rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda
+
+if ALWAYS_BUILD_EXAMPLES
+noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+endif
diff --git a/src/benchmarks/eo/Makefile.am b/src/benchmarks/eo/Makefile.am
new file mode 100644
index 0000000000..a2aac483f0
--- /dev/null
+++ b/src/benchmarks/eo/Makefile.am
@@ -0,0 +1,36 @@
+
+MAINTAINERCLEANFILES = Makefile.in
+
+AM_CPPFLAGS = \
+-I$(top_builddir)/src/lib/efl \
+-I$(top_srcdir)/src/lib/eina \
+-I$(top_srcdir)/src/lib/eo \
+-I$(top_builddir)/src/lib/eina \
+-I$(top_builddir)/src/lib/eo \
+@EO_CFLAGS@
+
+EXTRA_PROGRAMS = eo_bench
+
+benchmark: eo_bench
+
+eo_bench_SOURCES = \
+class_simple.c \
+class_simple.h \
+eo_bench.c \
+eo_bench.h \
+eo_bench_callbacks.c \
+eo_bench_eo_do.c \
+eo_bench_eo_add.c
+
+eo_bench_LDADD = \
+$(top_builddir)/src/lib/eo/libeo.la \
+$(top_builddir)/src/lib/eina/libeina.la \
+@EO_LDFLAGS@ \
+-lpthread
+
+clean-local:
+ rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda
+
+if ALWAYS_BUILD_EXAMPLES
+noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+endif
diff --git a/src/benchmarks/evas/Makefile.am b/src/benchmarks/evas/Makefile.am
new file mode 100644
index 0000000000..80ce560fc2
--- /dev/null
+++ b/src/benchmarks/evas/Makefile.am
@@ -0,0 +1,35 @@
+MAINTAINERCLEANFILES = Makefile.in
+
+AM_CPPFLAGS = \
+-I$(top_builddir)/src/lib/efl \
+-I$(top_srcdir)/src/lib/eina \
+-I$(top_builddir)/src/lib/eina \
+-I$(top_srcdir)/src/modules/evas/engines/buffer \
+-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
+-DTESTS_SRC_DIR=\"$(abs_top_srcdir)/src/tests/evas\" \
+@EVAS_CFLAGS@
+
+EXTRA_PROGRAMS = evas_bench
+
+benchmark: evas_bench
+
+evas_bench_SOURCES = \
+evas_bench.c \
+evas_bench_loader.c \
+evas_bench_saver.c \
+evas_bench.h
+
+nodist_EXTRA_evas_bench_SOURCES = dummy.cc
+evas_bench_LDADD = \
+$(top_builddir)/src/lib/evas/libevas.la \
+$(top_builddir)/src/lib/eina/libeina.la \
+@EVAS_LDFLAGS@
+
+EXTRA_DIST =
+
+clean-local:
+ rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda
+
+if ALWAYS_BUILD_EXAMPLES
+noinst_PROGRAMS = $(EXTRA_PROGRAMS)
+endif