summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-09-16 10:57:48 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-09-16 10:57:48 +0000
commit785f2a6b3a70454ecfe94addc6480ebf20c44c13 (patch)
tree17a195d2c1f022cd480fd0e0b95be5035ad915e2
parentdfc0331373c3f98df7cb996abc588c7dcf44af0a (diff)
merge : add eina
currently, examples, tests and benchmark are not set. That's the next things i'll do SVN revision: 76710
-rw-r--r--ChangeLog.eina0
-rw-r--r--Makefile.am38
-rw-r--r--NEWS.eina (renamed from legacy/eina/NEWS)0
-rw-r--r--README.eina (renamed from legacy/eina/README)0
-rw-r--r--configure.ac509
-rw-r--r--eina.pc.in (renamed from legacy/eina/eina.pc.in)0
-rw-r--r--eina.spec.in (renamed from legacy/eina/eina.spec.in)0
-rw-r--r--m4/efl_check_funcs.m4 (renamed from legacy/eina/m4/common/efl_check_funcs.m4)0
-rw-r--r--m4/efl_compiler.m449
-rw-r--r--m4/efl_libraries.m4190
-rw-r--r--m4/efl_path_max.m4 (renamed from legacy/ecore/m4/efl_path_max.m4)0
-rw-r--r--m4/efl_tests.m449
-rw-r--r--m4/efl_threads.m4 (renamed from legacy/eina/m4/common/efl_threads.m4)0
-rw-r--r--m4/eina_check.m4 (renamed from legacy/eina/m4/eina/eina_check.m4)4
-rw-r--r--src/Makefile.am2
-rw-r--r--src/include/Makefile.am3
-rw-r--r--src/include/eina/Eina.h (renamed from legacy/eina/src/include/Eina.h)0
-rw-r--r--src/include/eina/Makefile.am93
-rw-r--r--src/include/eina/eina_accessor.h (renamed from legacy/eina/src/include/eina_accessor.h)0
-rw-r--r--src/include/eina/eina_array.h (renamed from legacy/eina/src/include/eina_array.h)0
-rw-r--r--src/include/eina/eina_benchmark.h (renamed from legacy/eina/src/include/eina_benchmark.h)0
-rw-r--r--src/include/eina/eina_binbuf.h (renamed from legacy/eina/src/include/eina_binbuf.h)0
-rw-r--r--src/include/eina/eina_binshare.h (renamed from legacy/eina/src/include/eina_binshare.h)0
-rw-r--r--src/include/eina/eina_clist.h (renamed from legacy/eina/src/include/eina_clist.h)0
-rw-r--r--src/include/eina/eina_config.h.in (renamed from legacy/eina/src/include/eina_config.h.in)0
-rw-r--r--src/include/eina/eina_convert.h (renamed from legacy/eina/src/include/eina_convert.h)0
-rw-r--r--src/include/eina/eina_counter.h (renamed from legacy/eina/src/include/eina_counter.h)0
-rw-r--r--src/include/eina/eina_cpu.h (renamed from legacy/eina/src/include/eina_cpu.h)0
-rw-r--r--src/include/eina/eina_error.h (renamed from legacy/eina/src/include/eina_error.h)0
-rw-r--r--src/include/eina/eina_file.h (renamed from legacy/eina/src/include/eina_file.h)0
-rw-r--r--src/include/eina/eina_fp.h (renamed from legacy/eina/src/include/eina_fp.h)0
-rw-r--r--src/include/eina/eina_hamster.h (renamed from legacy/eina/src/include/eina_hamster.h)0
-rw-r--r--src/include/eina/eina_hash.h (renamed from legacy/eina/src/include/eina_hash.h)0
-rw-r--r--src/include/eina/eina_inarray.h (renamed from legacy/eina/src/include/eina_inarray.h)0
-rw-r--r--src/include/eina/eina_inline_array.x (renamed from legacy/eina/src/include/eina_inline_array.x)0
-rw-r--r--src/include/eina/eina_inline_clist.x (renamed from legacy/eina/src/include/eina_inline_clist.x)0
-rw-r--r--src/include/eina/eina_inline_f16p16.x (renamed from legacy/eina/src/include/eina_inline_f16p16.x)0
-rw-r--r--src/include/eina/eina_inline_f32p32.x (renamed from legacy/eina/src/include/eina_inline_f32p32.x)0
-rw-r--r--src/include/eina/eina_inline_f8p24.x (renamed from legacy/eina/src/include/eina_inline_f8p24.x)0
-rw-r--r--src/include/eina/eina_inline_fp.x (renamed from legacy/eina/src/include/eina_inline_fp.x)0
-rw-r--r--src/include/eina/eina_inline_hash.x (renamed from legacy/eina/src/include/eina_inline_hash.x)0
-rw-r--r--src/include/eina/eina_inline_list.x (renamed from legacy/eina/src/include/eina_inline_list.x)0
-rw-r--r--src/include/eina/eina_inline_lock_posix.x (renamed from legacy/eina/src/include/eina_inline_lock_posix.x)0
-rw-r--r--src/include/eina/eina_inline_lock_void.x (renamed from legacy/eina/src/include/eina_inline_lock_void.x)0
-rw-r--r--src/include/eina/eina_inline_lock_win32.x (renamed from legacy/eina/src/include/eina_inline_lock_win32.x)0
-rw-r--r--src/include/eina/eina_inline_lock_wince.x (renamed from legacy/eina/src/include/eina_inline_lock_wince.x)0
-rw-r--r--src/include/eina/eina_inline_log.x (renamed from legacy/eina/src/include/eina_inline_log.x)0
-rw-r--r--src/include/eina/eina_inline_mempool.x (renamed from legacy/eina/src/include/eina_inline_mempool.x)0
-rw-r--r--src/include/eina/eina_inline_rbtree.x (renamed from legacy/eina/src/include/eina_inline_rbtree.x)0
-rw-r--r--src/include/eina/eina_inline_rectangle.x (renamed from legacy/eina/src/include/eina_inline_rectangle.x)0
-rw-r--r--src/include/eina/eina_inline_str.x (renamed from legacy/eina/src/include/eina_inline_str.x)0
-rw-r--r--src/include/eina/eina_inline_stringshare.x (renamed from legacy/eina/src/include/eina_inline_stringshare.x)0
-rw-r--r--src/include/eina/eina_inline_tiler.x (renamed from legacy/eina/src/include/eina_inline_tiler.x)0
-rw-r--r--src/include/eina/eina_inline_trash.x (renamed from legacy/eina/src/include/eina_inline_trash.x)0
-rw-r--r--src/include/eina/eina_inline_ustringshare.x (renamed from legacy/eina/src/include/eina_inline_ustringshare.x)0
-rw-r--r--src/include/eina/eina_inline_value.x (renamed from legacy/eina/src/include/eina_inline_value.x)0
-rw-r--r--src/include/eina/eina_inlist.h (renamed from legacy/eina/src/include/eina_inlist.h)0
-rw-r--r--src/include/eina/eina_iterator.h (renamed from legacy/eina/src/include/eina_iterator.h)0
-rw-r--r--src/include/eina/eina_lalloc.h (renamed from legacy/eina/src/include/eina_lalloc.h)0
-rw-r--r--src/include/eina/eina_list.h (renamed from legacy/eina/src/include/eina_list.h)0
-rw-r--r--src/include/eina/eina_lock.h (renamed from legacy/eina/src/include/eina_lock.h)0
-rw-r--r--src/include/eina/eina_log.h (renamed from legacy/eina/src/include/eina_log.h)0
-rw-r--r--src/include/eina/eina_magic.h (renamed from legacy/eina/src/include/eina_magic.h)0
-rw-r--r--src/include/eina/eina_main.h (renamed from legacy/eina/src/include/eina_main.h)0
-rw-r--r--src/include/eina/eina_matrixsparse.h (renamed from legacy/eina/src/include/eina_matrixsparse.h)0
-rw-r--r--src/include/eina/eina_mempool.h (renamed from legacy/eina/src/include/eina_mempool.h)0
-rw-r--r--src/include/eina/eina_mmap.h (renamed from legacy/eina/src/include/eina_mmap.h)0
-rw-r--r--src/include/eina/eina_model.h (renamed from legacy/eina/src/include/eina_model.h)0
-rw-r--r--src/include/eina/eina_module.h (renamed from legacy/eina/src/include/eina_module.h)0
-rw-r--r--src/include/eina/eina_object.h (renamed from legacy/eina/src/include/eina_object.h)0
-rw-r--r--src/include/eina/eina_prefix.h (renamed from legacy/eina/src/include/eina_prefix.h)0
-rw-r--r--src/include/eina/eina_quadtree.h (renamed from legacy/eina/src/include/eina_quadtree.h)0
-rw-r--r--src/include/eina/eina_rbtree.h (renamed from legacy/eina/src/include/eina_rbtree.h)0
-rw-r--r--src/include/eina/eina_rectangle.h (renamed from legacy/eina/src/include/eina_rectangle.h)0
-rw-r--r--src/include/eina/eina_refcount.h (renamed from legacy/eina/src/include/eina_refcount.h)0
-rw-r--r--src/include/eina/eina_safety_checks.h (renamed from legacy/eina/src/include/eina_safety_checks.h)0
-rw-r--r--src/include/eina/eina_sched.h (renamed from legacy/eina/src/include/eina_sched.h)0
-rw-r--r--src/include/eina/eina_simple_xml_parser.h (renamed from legacy/eina/src/include/eina_simple_xml_parser.h)0
-rw-r--r--src/include/eina/eina_str.h (renamed from legacy/eina/src/include/eina_str.h)0
-rw-r--r--src/include/eina/eina_strbuf.h (renamed from legacy/eina/src/include/eina_strbuf.h)0
-rw-r--r--src/include/eina/eina_stringshare.h (renamed from legacy/eina/src/include/eina_stringshare.h)0
-rw-r--r--src/include/eina/eina_tiler.h (renamed from legacy/eina/src/include/eina_tiler.h)0
-rw-r--r--src/include/eina/eina_trash.h (renamed from legacy/eina/src/include/eina_trash.h)0
-rw-r--r--src/include/eina/eina_types.h (renamed from legacy/eina/src/include/eina_types.h)0
-rw-r--r--src/include/eina/eina_unicode.h (renamed from legacy/eina/src/include/eina_unicode.h)0
-rw-r--r--src/include/eina/eina_ustrbuf.h (renamed from legacy/eina/src/include/eina_ustrbuf.h)0
-rw-r--r--src/include/eina/eina_ustringshare.h (renamed from legacy/eina/src/include/eina_ustringshare.h)0
-rw-r--r--src/include/eina/eina_value.h (renamed from legacy/eina/src/include/eina_value.h)0
-rw-r--r--src/include/eina/eina_xattr.h (renamed from legacy/eina/src/include/eina_xattr.h)0
-rw-r--r--src/lib/Makefile.am2
-rw-r--r--src/lib/eina/Makefile.am111
-rw-r--r--src/lib/eina/eina_accessor.c (renamed from legacy/eina/src/lib/eina_accessor.c)0
-rw-r--r--src/lib/eina/eina_array.c (renamed from legacy/eina/src/lib/eina_array.c)0
-rw-r--r--src/lib/eina/eina_benchmark.c (renamed from legacy/eina/src/lib/eina_benchmark.c)0
-rw-r--r--src/lib/eina/eina_binbuf.c (renamed from legacy/eina/src/lib/eina_binbuf.c)0
-rw-r--r--src/lib/eina/eina_binbuf_template_c.x (renamed from legacy/eina/src/lib/eina_binbuf_template_c.x)0
-rw-r--r--src/lib/eina/eina_binshare.c (renamed from legacy/eina/src/lib/eina_binshare.c)0
-rw-r--r--src/lib/eina/eina_convert.c (renamed from legacy/eina/src/lib/eina_convert.c)0
-rw-r--r--src/lib/eina/eina_counter.c (renamed from legacy/eina/src/lib/eina_counter.c)0
-rw-r--r--src/lib/eina/eina_cpu.c (renamed from legacy/eina/src/lib/eina_cpu.c)0
-rw-r--r--src/lib/eina/eina_error.c (renamed from legacy/eina/src/lib/eina_error.c)0
-rw-r--r--src/lib/eina/eina_file.c (renamed from legacy/eina/src/lib/eina_file.c)0
-rw-r--r--src/lib/eina/eina_file_win32.c (renamed from legacy/eina/src/lib/eina_file_win32.c)0
-rw-r--r--src/lib/eina/eina_fp.c (renamed from legacy/eina/src/lib/eina_fp.c)0
-rw-r--r--src/lib/eina/eina_hamster.c (renamed from legacy/eina/src/lib/eina_hamster.c)0
-rw-r--r--src/lib/eina/eina_hash.c (renamed from legacy/eina/src/lib/eina_hash.c)0
-rw-r--r--src/lib/eina/eina_inarray.c (renamed from legacy/eina/src/lib/eina_inarray.c)0
-rw-r--r--src/lib/eina/eina_inlist.c (renamed from legacy/eina/src/lib/eina_inlist.c)0
-rw-r--r--src/lib/eina/eina_iterator.c (renamed from legacy/eina/src/lib/eina_iterator.c)0
-rw-r--r--src/lib/eina/eina_lalloc.c (renamed from legacy/eina/src/lib/eina_lalloc.c)0
-rw-r--r--src/lib/eina/eina_list.c (renamed from legacy/eina/src/lib/eina_list.c)0
-rw-r--r--src/lib/eina/eina_log.c (renamed from legacy/eina/src/lib/eina_log.c)0
-rw-r--r--src/lib/eina/eina_magic.c (renamed from legacy/eina/src/lib/eina_magic.c)0
-rw-r--r--src/lib/eina/eina_main.c (renamed from legacy/eina/src/lib/eina_main.c)0
-rw-r--r--src/lib/eina/eina_matrixsparse.c (renamed from legacy/eina/src/lib/eina_matrixsparse.c)0
-rw-r--r--src/lib/eina/eina_mempool.c (renamed from legacy/eina/src/lib/eina_mempool.c)0
-rw-r--r--src/lib/eina/eina_mmap.c (renamed from legacy/eina/src/lib/eina_mmap.c)0
-rw-r--r--src/lib/eina/eina_model.c (renamed from legacy/eina/src/lib/eina_model.c)0
-rw-r--r--src/lib/eina/eina_module.c (renamed from legacy/eina/src/lib/eina_module.c)0
-rw-r--r--src/lib/eina/eina_object.c (renamed from legacy/eina/src/lib/eina_object.c)0
-rw-r--r--src/lib/eina/eina_prefix.c (renamed from legacy/eina/src/lib/eina_prefix.c)0
-rw-r--r--src/lib/eina/eina_private.h (renamed from legacy/eina/src/lib/eina_private.h)0
-rw-r--r--src/lib/eina/eina_quadtree.c (renamed from legacy/eina/src/lib/eina_quadtree.c)0
-rw-r--r--src/lib/eina/eina_rbtree.c (renamed from legacy/eina/src/lib/eina_rbtree.c)0
-rw-r--r--src/lib/eina/eina_rectangle.c (renamed from legacy/eina/src/lib/eina_rectangle.c)0
-rw-r--r--src/lib/eina/eina_safety_checks.c (renamed from legacy/eina/src/lib/eina_safety_checks.c)0
-rw-r--r--src/lib/eina/eina_sched.c (renamed from legacy/eina/src/lib/eina_sched.c)0
-rw-r--r--src/lib/eina/eina_share_common.c (renamed from legacy/eina/src/lib/eina_share_common.c)0
-rw-r--r--src/lib/eina/eina_share_common.h (renamed from legacy/eina/src/lib/eina_share_common.h)0
-rw-r--r--src/lib/eina/eina_simple_xml_parser.c (renamed from legacy/eina/src/lib/eina_simple_xml_parser.c)0
-rw-r--r--src/lib/eina/eina_str.c (renamed from legacy/eina/src/lib/eina_str.c)0
-rw-r--r--src/lib/eina/eina_strbuf.c (renamed from legacy/eina/src/lib/eina_strbuf.c)0
-rw-r--r--src/lib/eina/eina_strbuf_common.c (renamed from legacy/eina/src/lib/eina_strbuf_common.c)0
-rw-r--r--src/lib/eina/eina_strbuf_common.h (renamed from legacy/eina/src/lib/eina_strbuf_common.h)0
-rw-r--r--src/lib/eina/eina_strbuf_template_c.x (renamed from legacy/eina/src/lib/eina_strbuf_template_c.x)0
-rw-r--r--src/lib/eina/eina_stringshare.c (renamed from legacy/eina/src/lib/eina_stringshare.c)0
-rw-r--r--src/lib/eina/eina_tiler.c (renamed from legacy/eina/src/lib/eina_tiler.c)0
-rw-r--r--src/lib/eina/eina_unicode.c (renamed from legacy/eina/src/lib/eina_unicode.c)0
-rw-r--r--src/lib/eina/eina_ustrbuf.c (renamed from legacy/eina/src/lib/eina_ustrbuf.c)0
-rw-r--r--src/lib/eina/eina_ustringshare.c (renamed from legacy/eina/src/lib/eina_ustringshare.c)0
-rw-r--r--src/lib/eina/eina_value.c (renamed from legacy/eina/src/lib/eina_value.c)0
-rw-r--r--src/lib/eina/eina_xattr.c (renamed from legacy/eina/src/lib/eina_xattr.c)0
-rw-r--r--src/modules/Makefile.am3
-rw-r--r--src/modules/eina/Makefile.am4
-rw-r--r--src/modules/eina/mp/Makefile.am45
-rw-r--r--src/modules/eina/mp/buddy/Makefile.am27
-rw-r--r--src/modules/eina/mp/buddy/eina_buddy.c (renamed from legacy/eina/src/modules/mp/buddy/eina_buddy.c)0
-rw-r--r--src/modules/eina/mp/chained_pool/Makefile.am28
-rw-r--r--src/modules/eina/mp/chained_pool/eina_chained_mempool.c (renamed from legacy/eina/src/modules/mp/chained_pool/eina_chained_mempool.c)0
-rw-r--r--src/modules/eina/mp/ememoa_fixed/Makefile.am28
-rw-r--r--src/modules/eina/mp/ememoa_fixed/eina_ememoa_fixed.c (renamed from legacy/eina/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c)0
-rw-r--r--src/modules/eina/mp/ememoa_unknown/Makefile.am28
-rw-r--r--src/modules/eina/mp/ememoa_unknown/eina_ememoa_unknown.c (renamed from legacy/eina/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c)0
-rw-r--r--src/modules/eina/mp/fixed_bitmap/Makefile.am27
-rw-r--r--src/modules/eina/mp/fixed_bitmap/eina_fixed_bitmap.c (renamed from legacy/eina/src/modules/mp/fixed_bitmap/eina_fixed_bitmap.c)0
-rw-r--r--src/modules/eina/mp/one_big/Makefile.am28
-rw-r--r--src/modules/eina/mp/one_big/eina_one_big.c (renamed from legacy/eina/src/modules/mp/one_big/eina_one_big.c)0
-rw-r--r--src/modules/eina/mp/pass_through/Makefile.am27
-rw-r--r--src/modules/eina/mp/pass_through/eina_pass_through.c (renamed from legacy/eina/src/modules/mp/pass_through/eina_pass_through.c)0
-rw-r--r--src/scripts/Makefile.am3
-rw-r--r--src/scripts/eina/Makefile.am5
-rwxr-xr-xsrc/scripts/eina/eina-bench-cmp (renamed from legacy/eina/src/scripts/eina-bench-cmp)0
-rw-r--r--src/tests/eina/Ecore_Data.h (renamed from legacy/eina/src/tests/Ecore_Data.h)0
-rw-r--r--src/tests/eina/Evas_Data.h (renamed from legacy/eina/src/tests/Evas_Data.h)0
-rw-r--r--src/tests/eina/Makefile.am142
-rw-r--r--src/tests/eina/city.cc (renamed from legacy/eina/src/tests/city.cc)0
-rw-r--r--src/tests/eina/city.h (renamed from legacy/eina/src/tests/city.h)0
-rw-r--r--src/tests/eina/cxx_compile_test.cxx (renamed from legacy/eina/src/tests/cxx_compile_test.cxx)0
-rw-r--r--src/tests/eina/ecore_hash.c (renamed from legacy/eina/src/tests/ecore_hash.c)0
-rw-r--r--src/tests/eina/ecore_list.c (renamed from legacy/eina/src/tests/ecore_list.c)0
-rw-r--r--src/tests/eina/ecore_sheap.c (renamed from legacy/eina/src/tests/ecore_sheap.c)0
-rw-r--r--src/tests/eina/ecore_strings.c (renamed from legacy/eina/src/tests/ecore_strings.c)0
-rw-r--r--src/tests/eina/eina_bench.c (renamed from legacy/eina/src/tests/eina_bench.c)0
-rw-r--r--src/tests/eina/eina_bench.h (renamed from legacy/eina/src/tests/eina_bench.h)0
-rw-r--r--src/tests/eina/eina_bench_array.c (renamed from legacy/eina/src/tests/eina_bench_array.c)0
-rw-r--r--src/tests/eina/eina_bench_convert.c (renamed from legacy/eina/src/tests/eina_bench_convert.c)0
-rw-r--r--src/tests/eina/eina_bench_hash.c (renamed from legacy/eina/src/tests/eina_bench_hash.c)0
-rw-r--r--src/tests/eina/eina_bench_mempool.c (renamed from legacy/eina/src/tests/eina_bench_mempool.c)0
-rw-r--r--src/tests/eina/eina_bench_quad.c (renamed from legacy/eina/src/tests/eina_bench_quad.c)0
-rw-r--r--src/tests/eina/eina_bench_rectangle_pool.c (renamed from legacy/eina/src/tests/eina_bench_rectangle_pool.c)0
-rw-r--r--src/tests/eina/eina_bench_sort.c (renamed from legacy/eina/src/tests/eina_bench_sort.c)0
-rw-r--r--src/tests/eina/eina_bench_stringshare.c (renamed from legacy/eina/src/tests/eina_bench_stringshare.c)0
-rw-r--r--src/tests/eina/eina_bench_stringshare_e17.c (renamed from legacy/eina/src/tests/eina_bench_stringshare_e17.c)0
-rw-r--r--src/tests/eina/eina_suite.c (renamed from legacy/eina/src/tests/eina_suite.c)0
-rw-r--r--src/tests/eina/eina_suite.h (renamed from legacy/eina/src/tests/eina_suite.h)0
-rw-r--r--src/tests/eina/eina_test_accessor.c (renamed from legacy/eina/src/tests/eina_test_accessor.c)0
-rw-r--r--src/tests/eina/eina_test_array.c (renamed from legacy/eina/src/tests/eina_test_array.c)0
-rw-r--r--src/tests/eina/eina_test_benchmark.c (renamed from legacy/eina/src/tests/eina_test_benchmark.c)0
-rw-r--r--src/tests/eina/eina_test_binbuf.c (renamed from legacy/eina/src/tests/eina_test_binbuf.c)0
-rw-r--r--src/tests/eina/eina_test_binshare.c (renamed from legacy/eina/src/tests/eina_test_binshare.c)0
-rw-r--r--src/tests/eina/eina_test_clist.c (renamed from legacy/eina/src/tests/eina_test_clist.c)0
-rw-r--r--src/tests/eina/eina_test_convert.c (renamed from legacy/eina/src/tests/eina_test_convert.c)0
-rw-r--r--src/tests/eina/eina_test_counter.c (renamed from legacy/eina/src/tests/eina_test_counter.c)0
-rw-r--r--src/tests/eina/eina_test_error.c (renamed from legacy/eina/src/tests/eina_test_error.c)0
-rw-r--r--src/tests/eina/eina_test_file.c (renamed from legacy/eina/src/tests/eina_test_file.c)0
-rw-r--r--src/tests/eina/eina_test_fp.c (renamed from legacy/eina/src/tests/eina_test_fp.c)0
-rw-r--r--src/tests/eina/eina_test_hash.c (renamed from legacy/eina/src/tests/eina_test_hash.c)0
-rw-r--r--src/tests/eina/eina_test_inarray.c (renamed from legacy/eina/src/tests/eina_test_inarray.c)0
-rw-r--r--src/tests/eina/eina_test_inlist.c (renamed from legacy/eina/src/tests/eina_test_inlist.c)0
-rw-r--r--src/tests/eina/eina_test_iterator.c (renamed from legacy/eina/src/tests/eina_test_iterator.c)0
-rw-r--r--src/tests/eina/eina_test_lalloc.c (renamed from legacy/eina/src/tests/eina_test_lalloc.c)0
-rw-r--r--src/tests/eina/eina_test_list.c (renamed from legacy/eina/src/tests/eina_test_list.c)0
-rw-r--r--src/tests/eina/eina_test_log.c (renamed from legacy/eina/src/tests/eina_test_log.c)0
-rw-r--r--src/tests/eina/eina_test_magic.c (renamed from legacy/eina/src/tests/eina_test_magic.c)0
-rw-r--r--src/tests/eina/eina_test_main.c (renamed from legacy/eina/src/tests/eina_test_main.c)0
-rw-r--r--src/tests/eina/eina_test_matrixsparse.c (renamed from legacy/eina/src/tests/eina_test_matrixsparse.c)0
-rw-r--r--src/tests/eina/eina_test_mempool.c (renamed from legacy/eina/src/tests/eina_test_mempool.c)0
-rw-r--r--src/tests/eina/eina_test_model.c (renamed from legacy/eina/src/tests/eina_test_model.c)0
-rw-r--r--src/tests/eina/eina_test_module.c (renamed from legacy/eina/src/tests/eina_test_module.c)0
-rw-r--r--src/tests/eina/eina_test_module_dummy.c (renamed from legacy/eina/src/tests/eina_test_module_dummy.c)0
-rw-r--r--src/tests/eina/eina_test_quadtree.c (renamed from legacy/eina/src/tests/eina_test_quadtree.c)0
-rw-r--r--src/tests/eina/eina_test_rbtree.c (renamed from legacy/eina/src/tests/eina_test_rbtree.c)0
-rw-r--r--src/tests/eina/eina_test_rectangle.c (renamed from legacy/eina/src/tests/eina_test_rectangle.c)0
-rw-r--r--src/tests/eina/eina_test_sched.c (renamed from legacy/eina/src/tests/eina_test_sched.c)0
-rw-r--r--src/tests/eina/eina_test_simple_xml_parser.c (renamed from legacy/eina/src/tests/eina_test_simple_xml_parser.c)0
-rw-r--r--src/tests/eina/eina_test_str.c (renamed from legacy/eina/src/tests/eina_test_str.c)0
-rw-r--r--src/tests/eina/eina_test_strbuf.c (renamed from legacy/eina/src/tests/eina_test_strbuf.c)0
-rw-r--r--src/tests/eina/eina_test_stringshare.c (renamed from legacy/eina/src/tests/eina_test_stringshare.c)0
-rw-r--r--src/tests/eina/eina_test_tiler.c (renamed from legacy/eina/src/tests/eina_test_tiler.c)0
-rw-r--r--src/tests/eina/eina_test_ustr.c (renamed from legacy/eina/src/tests/eina_test_ustr.c)0
-rw-r--r--src/tests/eina/eina_test_ustringshare.c (renamed from legacy/eina/src/tests/eina_test_ustringshare.c)0
-rw-r--r--src/tests/eina/eina_test_value.c (renamed from legacy/eina/src/tests/eina_test_value.c)0
-rw-r--r--src/tests/eina/evas_hash.c (renamed from legacy/eina/src/tests/evas_hash.c)0
-rw-r--r--src/tests/eina/evas_list.c (renamed from legacy/eina/src/tests/evas_list.c)0
-rw-r--r--src/tests/eina/evas_mempool.c (renamed from legacy/eina/src/tests/evas_mempool.c)0
-rw-r--r--src/tests/eina/evas_mempool.h (renamed from legacy/eina/src/tests/evas_mempool.h)0
-rw-r--r--src/tests/eina/evas_object_list.c (renamed from legacy/eina/src/tests/evas_object_list.c)0
-rw-r--r--src/tests/eina/evas_stringshare.c (renamed from legacy/eina/src/tests/evas_stringshare.c)0
-rw-r--r--src/tests/eina/sample.gpx (renamed from legacy/eina/src/tests/sample.gpx)0
-rw-r--r--src/tests/eina/strlog (renamed from legacy/eina/src/tests/strlog)0
230 files changed, 1251 insertions, 194 deletions
diff --git a/ChangeLog.eina b/ChangeLog.eina
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/ChangeLog.eina
diff --git a/Makefile.am b/Makefile.am
index 5da702b397..6521c6759b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -22,14 +22,21 @@ m4/ltversion.m4
22 22
23EXTRA_DIST = \ 23EXTRA_DIST = \
24m4/efl_attribute.m4 \ 24m4/efl_attribute.m4 \
25m4/efl_check_funcs.m4 \
25m4/efl_compiler.m4 \ 26m4/efl_compiler.m4 \
26m4/efl_doxygen.m4 \ 27m4/efl_doxygen.m4 \
28m4/efl_path_max.m4 \
29m4/efl_threads.m4 \
27m4/evil_windows.m4 30m4/evil_windows.m4
28 31
29if HAVE_WINDOWS 32if HAVE_WINDOWS
30EXTRA_DIST += evil.pc 33EXTRA_DIST += evil.pc
31endif 34endif
32 35
36EXTRA_DIST += \
37eina.spec \
38eina.pc
39
33pkgconfigdir = $(libdir)/pkgconfig 40pkgconfigdir = $(libdir)/pkgconfig
34pkgconfig_DATA = 41pkgconfig_DATA =
35 42
@@ -37,6 +44,8 @@ if HAVE_WINDOWS
37pkgconfig_DATA += evil.pc 44pkgconfig_DATA += evil.pc
38endif 45endif
39 46
47pkgconfig_DATA += eina.pc
48
40 49
41.PHONY: doc 50.PHONY: doc
42 51
@@ -45,3 +54,32 @@ endif
45doc: 54doc:
46 @echo "entering doc/" 55 @echo "entering doc/"
47 make -C doc doc 56 make -C doc doc
57
58if EFL_ENABLE_COVERAGE
59
60lcov-reset:
61 @rm -rf $(top_builddir)/coverage
62 @find $(top_builddir) -name "*.gcda" -delete
63 @lcov --zerocounters --directory $(top_builddir)
64
65lcov-report:
66 @mkdir $(top_builddir)/coverage
67 lcov --capture --compat-libtool --output-file $(top_builddir)/coverage/coverage.info --directory $(top_builddir)
68 lcov --remove $(top_builddir)/coverage/coverage.info '*.h' --output-file $(top_builddir)/coverage/coverage.cleaned.info
69 genhtml -t "$(PACKAGE_STRING)" -o $(top_builddir)/coverage/html $(top_builddir)/coverage/coverage.cleaned.info
70 @echo "Coverage Report at $(top_builddir)/coverage/html"
71
72endif
73
74if EFL_ENABLE_TESTS
75
76check-local:
77if EFL_ENABLE_COVERAGE
78 @$(MAKE) lcov-reset
79endif
80 @./src/tests/eina_suite
81if EFL_ENABLE_COVERAGE
82 @$(MAKE) lcov-report
83endif
84
85endif
diff --git a/legacy/eina/NEWS b/NEWS.eina
index 699d5e58b7..699d5e58b7 100644
--- a/legacy/eina/NEWS
+++ b/NEWS.eina
diff --git a/legacy/eina/README b/README.eina
index 7b6794afbb..7b6794afbb 100644
--- a/legacy/eina/README
+++ b/README.eina
diff --git a/configure.ac b/configure.ac
index fee52f4e86..e0e21f995f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -141,14 +141,25 @@ case "$host_os" in
141 want_eeze="no" 141 want_eeze="no"
142 want_emotion="no" 142 want_emotion="no"
143 want_ethumb="no" 143 want_ethumb="no"
144 MODULE_ARCH="$host_os-$host_cpu"
145 MODULE_EXT=".dll"
144 ;; 146 ;;
145 mingw*) 147 mingw*)
146 have_win32="yes" 148 have_win32="yes"
147 have_windows="yes" 149 have_windows="yes"
148 want_eeze="no" 150 want_eeze="no"
151 MODULE_ARCH="$host_os-$host_cpu-v_maj.v_min.v_mic"
152 MODULE_EXT=".dll"
153 ;;
154 *)
155 MODULE_ARCH="$host_os-$host_cpu-v_maj.v_min.v_mic"
156 MODULE_EXT=".so"
149 ;; 157 ;;
150esac 158esac
151 159
160AC_DEFINE_UNQUOTED([MODULE_ARCH], ["${MODULE_ARCH}"], ["Module architecture"])
161AC_DEFINE_UNQUOTED([SHARED_LIB_SUFFIX], ["${MODULE_EXT}"], [Suffix for shared objects])
162
152AM_CONDITIONAL([HAVE_WINCE], [test "x${have_wince}" = "xyes"]) 163AM_CONDITIONAL([HAVE_WINCE], [test "x${have_wince}" = "xyes"])
153AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"]) 164AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
154AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"]) 165AM_CONDITIONAL([HAVE_WINDOWS], [test "x${have_windows}" = "xyes"])
@@ -187,6 +198,14 @@ if test "x${PKG_CONFIG}" = "x" ; then
187 AC_MSG_ERROR([pkg-config tool not found. Install it or set PKG_CONFIG environment variable to that path tool. Exiting...]) 198 AC_MSG_ERROR([pkg-config tool not found. Install it or set PKG_CONFIG environment variable to that path tool. Exiting...])
188fi 199fi
189 200
201# Check whether pkg-config supports Requires.private
202if ${PKG_CONFIG} --atleast-pkgconfig-version 0.22 ; then
203 pkgconfig_requires_private="Requires.private"
204else
205 pkgconfig_requires_private="Requires"
206fi
207AC_SUBST([pkgconfig_requires_private])
208
190# doxygen program for documentation building 209# doxygen program for documentation building
191 210
192EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"]) 211EFL_CHECK_DOXYGEN([build_doc="yes"], [build_doc="no"])
@@ -231,6 +250,8 @@ AC_SUBST([lt_enable_auto_import])
231 250
232if test "x${have_windows}" = "xyes" ; then 251if test "x${have_windows}" = "xyes" ; then
233 252
253AC_MSG_NOTICE([Evil checks])
254
234### Default values 255### Default values
235 256
236### Additional options to configure 257### Additional options to configure
@@ -253,9 +274,12 @@ case "$host_os" in
253 ;; 274 ;;
254esac 275esac
255requirements_libs_evil="${EVIL_LIBS}" 276requirements_libs_evil="${EVIL_LIBS}"
277
256AC_SUBST([EVIL_LIBS]) 278AC_SUBST([EVIL_LIBS])
257AC_SUBST([EVIL_DLFCN_LIBS]) 279AC_SUBST([EVIL_DLFCN_LIBS])
258 280
281AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if Evil package is installed])
282
259### Checks for header files 283### Checks for header files
260 284
261AC_CHECK_HEADERS([errno.h]) 285AC_CHECK_HEADERS([errno.h])
@@ -292,30 +316,472 @@ fi
292 316
293#### Eina 317#### Eina
294 318
319AC_MSG_NOTICE([Eina checks])
320
295### Default values 321### Default values
322
296### Additional options to configure 323### Additional options to configure
324
325# Magic debug
326AC_ARG_ENABLE([magic-debug],
327 [AC_HELP_STRING([--disable-magic-debug], [disable magic debug of eina structure @<:@default=enabled@:>@])],
328 [
329 if test "x${enableval}" = "xyes" ; then
330 have_magic_debug="yes"
331 else
332 have_magic_debug="no"
333 fi
334 ],
335 [have_magic_debug="yes"])
336
337AC_MSG_CHECKING([whether magic debug is enable])
338AC_MSG_RESULT([${have_magic_debug}])
339
340if test "x${have_magic_debug}" = "xyes" ; then
341 EINA_CONFIGURE_MAGIC_DEBUG="#define EINA_MAGIC_DEBUG"
342fi
343AC_SUBST([EINA_CONFIGURE_MAGIC_DEBUG])
344
345# Safety checks (avoid crashes on wrong api usage)
346AC_ARG_ENABLE([safety-checks],
347 [AC_HELP_STRING([--disable-safety-checks], [disable safety checks for NULL pointers and like. @<:@default=enabled@:>@])],
348 [
349 if test "x${enableval}" = "xyes" ; then
350 have_safety_checks="yes"
351 else
352 have_safety_checks="no"
353 fi
354 ],
355 [have_safety_checks="yes"])
356
357AC_MSG_CHECKING([whether to do safety checking on api parameters])
358AC_MSG_RESULT([${have_safety_checks}])
359
360if test "x${have_safety_checks}" = "xyes" ; then
361 AC_DEFINE([EINA_SAFETY_CHECKS], [1], [disable safety checks for NULL pointers and like.])
362 EINA_CONFIGURE_SAFETY_CHECKS="#define EINA_SAFETY_CHECKS"
363fi
364AC_SUBST([EINA_CONFIGURE_SAFETY_CHECKS])
365
366AM_CONDITIONAL([SAFETY_CHECKS], [test "x$have_safety_checks" = "xyes"])
367
368# Miximum log level
369with_max_log_level="<unset>"
370AC_ARG_WITH([internal-maximum-log-level],
371 [AC_HELP_STRING([--with-internal-maximum-log-level=NUMBER],
372 [limit eina internal log level to the given number, any call to EINA_LOG() with values greater than this will be compiled out, ignoring runtime settings, but saving function calls.])],
373 [
374 if test "x${withval}" != "xno" ; then
375 if echo "${withval}" | grep -E '^[[0-9]]+$' >/dev/null 2>/dev/null; then
376 AC_MSG_NOTICE([ignoring any EINA_LOG() with level greater than ${withval}])
377 AC_DEFINE_UNQUOTED([EINA_LOG_LEVEL_MAXIMUM], [${withval}], [if set, logging is limited to this amount.])
378 with_max_log_level="${withval}"
379 else
380 AC_MSG_ERROR([--with-internal-maximum-log-level takes a decimal number, got "${withval}" instead.])
381 fi
382 fi
383 ],
384 [:])
385
386# Choose best memory pool
387AC_ARG_ENABLE([default-mempool],
388 [AC_HELP_STRING([--enable-default-mempool], [Default memory allocator could be faster for some computer. @<:@default=disabled@:>@])],
389 [
390 if test "x${enableval}" = "xyes"; then
391 have_default_mempool="yes"
392 else
393 have_default_mempool="no"
394 fi
395 ],
396 [have_default_mempool="no"])
397
398AC_MSG_CHECKING([whether to use default mempool allocator])
399AC_MSG_RESULT([${have_default_mempool}])
400
401if test "x${have_default_mempool}" = "xyes" ; then
402 EINA_CONFIGURE_DEFAULT_MEMPOOL="#define EINA_DEFAULT_MEMPOOL"
403fi
404AC_SUBST([EINA_CONFIGURE_DEFAULT_MEMPOOL])
405
406# Report stringshare usage
407AC_ARG_ENABLE([stringshare-usage],
408 [AC_HELP_STRING([--enable-stringshare-usage], [Report stringshare usage on stringshare shutdown. @<:@default=disabled@:>@])],
409 [
410 if test "x${enableval}" = "xyes"; then
411 have_stringshare_usage="yes"
412 else
413 have_stringshare_usage="no"
414 fi
415 ],
416 [have_stringshare_usage="no"]
417)
418AC_MSG_CHECKING([whether to report stringshare usage])
419AC_MSG_RESULT([${have_stringshare_usage}])
420
421if test "x${have_stringshare_usage}" = "xyes"; then
422 AC_DEFINE([EINA_STRINGSHARE_USAGE], [1], [Report Eina stringshare usage pattern])
423fi
424
425# Assert or fail.
426
427AC_ARG_ENABLE([assert],
428 [AC_HELP_STRING([--enable-assert], [enable assert, @<:@default=no@:>@])],
429 [
430 if test "x${enableval}" = "xyes" ; then
431 prefer_assert="yes"
432 else
433 prefer_assert="no"
434 fi
435 ],
436 [prefer_assert="no"])
437
438# Check if we want to benchmark on real data
439AC_ARG_ENABLE([e17],
440 [AC_HELP_STRING([--enable-e17], [enable heavy benchmark @<:@default=no@:>@])],
441 [
442 if test "x${enableval}" = "xyes" ; then
443 enable_benchmark_e17="yes"
444 else
445 enable_benchmark_e17="no"
446 fi
447 ],
448 [enable_benchmark_e17="no"])
449
450AC_MSG_CHECKING([whether e17 real data benchmark are built])
451AC_MSG_RESULT([${enable_benchmark_e17}])
452
453AM_CONDITIONAL([EINA_ENABLE_BENCHMARK_E17], [test "x${enable_benchmark_e17}" = "xyes"])
454
297### Checks for programs 455### Checks for programs
456
298### Checks for libraries 457### Checks for libraries
458
459## Compatibility layers
460
461# Evil library for compilation on Windows
462
463EFL_EINA_BUILD=""
464case "$host_os" in
465 mingw*)
466 PKG_CHECK_EXISTS([evil >= 1.6.99])
467 AC_DEFINE([HAVE_EVIL], [1], [Set to 1 if Evil package is installed])
468 requirements_pc_eina="${requirements_pc_eina} evil"
469 EFL_EINA_BUILD="-DEFL_EINA_BUILD"
470 ;;
471esac
472AC_SUBST([EFL_EINA_BUILD])
473
474# Escape library for compilation on Playstation 3
475
476case "$host_vendor" in
477 ps3*)
478 PKG_CHECK_EXISTS([escape])
479 AC_DEFINE([HAVE_ESCAPE], [1], [Set to 1 if Escape package is installed])
480 requirements_pc_eina="${requirements_pc_eina} escape"
481 ;;
482esac
483
484# Exotic library for copilation on Coyote
485
486PKG_CHECK_EXISTS([exotic],
487 [
488 enable_exotic="yes"
489 AC_DEFINE([HAVE_EXOTIC_H], [1], [Define to 1 if you have Exotic.])
490 EINA_CONFIGURE_HAVE_EXOTIC="#define EINA_HAVE_EXOTIC"
491 requirements_pc_eina="exotic ${requirements_pc_eina}"
492 ],
493 [enable_exotic="no"])
494
495AM_CONDITIONAL([EINA_HAVE_EXOTIC], [test "x${enable_exotic}" = "xyes"])
496AC_SUBST([EINA_CONFIGURE_HAVE_EXOTIC])
497
498if ! test "x${requirements_pc_eina}" = "x" ; then
499 PKG_CHECK_MODULES([EINA], [${requirements_pc_eina}])
500fi
501
502## Options
503
504# Valgrind
505
506AC_ARG_ENABLE([valgrind],
507 [AC_HELP_STRING([--enable-valgrind], [improve valgrind support by hinting it of our memory usages, having it to report proper mempool leaks.])],
508 [
509 if test "x${enableval}" = "xyes" ; then
510 want_valgrind="yes"
511 else
512 want_valgrind="no"
513 fi
514 ],
515 [want_valgrind="auto"])
516
517AC_MSG_CHECKING([whether to enable build with valgrind])
518AC_MSG_RESULT([${want_valgrind}])
519
520if test "x${want_valgrind}" = "xyes" || test "x${want_valgrind}" = "xauto"; then
521 PKG_CHECK_MODULES([VALGRIND], [valgrind >= 2.4.0],
522 [
523 have_valgrind="yes"
524 requirements_pc_eina="valgrind ${requirements_pc_eina}"
525 ],
526 [
527 have_valgrind="no"
528 AC_DEFINE([NVALGRIND], [1], [Valgrind support disabled])
529 if test "x${want_valgrind}" = "xyes"; then
530 AC_MSG_ERROR([Valgrind >= 2.4.0 is required])
531 fi
532 ])
533else
534 AC_DEFINE([NVALGRIND], [1], [Valgrind support disabled])
535fi
536
537AC_ARG_ENABLE([debug-malloc],
538 [AC_HELP_STRING([--enable-debug-malloc], [enable debugging of malloc usage overhead in our allocator @<:@default=enabled@:>@])],
539 [
540 if test "x${enableval}" = "xyes" ; then
541 want_debug_malloc="yes"
542 else
543 want_debug_malloc="no"
544 fi
545 ],
546 [want_debug_malloc="no"])
547
548if test "x${ac_cv_func_malloc_usable_size}" = "xyes" && test "x${want_debug_malloc}" = "xyes"; then
549 AC_DEFINE([EINA_DEBUG_MALLOC], [1], [Turn on debugging overhead in mempool])
550fi
551
552AC_ARG_ENABLE([log],
553 [AC_HELP_STRING([--disable-log], [disable Eina_Log infrastructure completly @<:@default=enabled@:>@])],
554 [
555 if test "x${enableval}" = "xyes" ; then
556 want_log="yes"
557 else
558 want_log="no"
559 fi
560 ],
561 [want_log="yes"])
562
563## Modules
564
565# Check ememoa memory pool library
566
567AC_ARG_ENABLE([ememoa],
568 [AC_HELP_STRING([--enable-ememoa], [build ememoa memory pool module @<:@default=yes@:>@])],
569 [
570 if test "x${enableval}" = "xyes" ; then
571 enable_ememoa="yes"
572 else
573 enable_ememoa="no"
574 fi
575 ],
576 [enable_ememoa="yes"])
577
578AC_MSG_CHECKING([whether to use ememoa for memory pool])
579AC_MSG_RESULT([${enable_ememoa}])
580
581if test "x${enable_ememoa}" = "xyes" ; then
582 PKG_CHECK_MODULES([EMEMOA],
583 [ememoa >= 0.0.26 ],
584 [enable_ememoa="yes"],
585 [enable_ememoa="no"])
586fi
587
588## Examples
589
590PKG_CHECK_MODULES([ECORE_EVAS],
591 [ecore-evas ecore evas],
592 [build_tiler_example="yes"],
593 [build_tiler_example="no"])
594
595AM_CONDITIONAL([BUILD_TILER_EXAMPLE], [test "x${build_tiler_example}" = "xyes"])
596
597## Tests
598
599EFL_CHECK_TESTS(EINA)
600
299### Checks for header files 601### Checks for header files
602
603AC_HEADER_ASSERT
604AC_HEADER_TIME
605AC_HEADER_DIRENT
606
607AC_CHECK_HEADERS([unistd.h libgen.h inttypes.h stdint.h sys/types.h siginfo.h strings.h execinfo.h mcheck.h])
608
609# sys/mman.h could be provided by evil/escape/exotic so we need to set CFLAGS accordingly
610CFLAGS_save="${CFLAGS}"
611CFLAGS="${CFLAGS} ${EINA_CFLAGS}"
612AC_CHECK_HEADERS([sys/mman.h])
613CFLAGS="${CFLAGS_save}"
614
615if test "x${ac_cv_header_inttypes_h}" = "xyes" ; then
616 EINA_CONFIGURE_HAVE_INTTYPES_H="#define EINA_HAVE_INTTYPES_H"
617 AC_DEFINE([HAVE_INTTYPES_H], [1], [Define to 1 if you have the <inttypes.h> header file.])
618fi
619AC_SUBST([EINA_CONFIGURE_HAVE_INTTYPES_H])
620
621if test "x${ac_cv_header_inttypes_h}" = "xyes" ; then
622 EINA_CONFIGURE_HAVE_STDINT_H="#define EINA_HAVE_STDINT_H"
623 AC_DEFINE([HAVE_STDINT_H], [1], [Define to 1 if you have the <stdint.h> header file.])
624fi
625AC_SUBST([EINA_CONFIGURE_HAVE_STDINT_H])
626
300### Checks for types 627### Checks for types
628
629# wchar_t
630
631AC_CHECK_SIZEOF([wchar_t])
632EINA_SIZEOF_WCHAR_T=$ac_cv_sizeof_wchar_t
633AC_SUBST([EINA_SIZEOF_WCHAR_T])
634AC_CHECK_TYPES([siginfo_t], [], [],
635 [[
636#include <signal.h>
637#if HAVE_SIGINFO_H
638# include <siginfo.h>
639#endif
640 ]])
641
642# struct dirent
643
644AC_CHECK_TYPES([struct dirent], [have_dirent="yes"], [have_dirent="no"],
645 [[
646#include <dirent.h>
647 ]])
648
649if test "x${have_dirent}" = "xyes" ; then
650 EINA_CONFIGURE_HAVE_DIRENT_H="#define EINA_HAVE_DIRENT_H"
651 AC_DEFINE([HAVE_DIRENT_H], [1], [Define to 1 if you have a valid <dirent.h> header file.])
652fi
653AC_SUBST([EINA_CONFIGURE_HAVE_DIRENT_H])
654
301### Checks for structures 655### Checks for structures
656
302### Checks for compiler characteristics 657### Checks for compiler characteristics
658
659AC_C_BIGENDIAN
660AC_C_INLINE
661EFL_ATTRIBUTE_UNUSED
662
663m4_ifdef([v_ver],
664 [
665 EFL_CHECK_COMPILER_FLAGS([EINA], [-Wall -Wextra])
666 ])
667
668EFL_CHECK_COMPILER_FLAGS([EINA], [-Wshadow])
669
670EFL_CHECK_PATH_MAX
671
303### Checks for linker characteristics 672### Checks for linker characteristics
673
674EFL_CHECK_LINKER_FLAGS([EINA], [-fno-strict-aliasing])
675
304### Checks for library functions 676### Checks for library functions
305 677
678AC_FUNC_ALLOCA
679
680AC_CHECK_FUNCS([strlcpy openat fstatat fpathconf execvp backtrace backtrace_symbols malloc_usable_size mtrace])
681
682EFL_CHECK_FUNCS([EINA], [dirfd dlopen dladdr fnmatch iconv shm_open setxattr])
683
684enable_log="no"
685if test "x${efl_func_fnmatch}" = "xyes" && test "x${want_log}" = "xyes" ; then
686 enable_log="yes"
687fi
688
689AC_MSG_CHECKING([wether to build Eina_Log infrastructure])
690AC_MSG_RESULT([${enable_log}])
691
692if test "x${enable_log}" = "xyes"; then
693 EINA_CONFIGURE_ENABLE_LOG="#define EINA_ENABLE_LOG"
694 AC_DEFINE([HAVE_LOG], [1], [Define to 1 if we log support is on])
695fi
696AC_SUBST([EINA_CONFIGURE_ENABLE_LOG])
697
698EFL_CHECK_THREADS
699
700if ! test "x${efl_have_threads}" = "xno" ; then
701 EINA_CONFIGURE_HAVE_THREADS="#define EINA_HAVE_THREADS"
702fi
703AC_SUBST(EINA_CONFIGURE_HAVE_THREADS)
704AM_CONDITIONAL([EINA_HAVE_THREADS], [! test "x${efl_have_threads}" = "xno"])
705
706if test "x${efl_have_debug_threads}" = "xyes"; then
707 EINA_CONFIGURE_HAVE_DEBUG_THREADS="#define EINA_HAVE_DEBUG_THREADS"
708fi
709AC_SUBST(EINA_CONFIGURE_HAVE_DEBUG_THREADS)
710AM_CONDITIONAL([EINA_DEBUG_THREADS], [test "x${efl_have_debug_threads}" = "xyes"])
711
712if ! test "x${efl_have_on_off_threads}" = "xno"; then
713 EINA_CONFIGURE_HAVE_ON_OFF_THREADS="#define EINA_HAVE_ON_OFF_THREADS"
714fi
715AC_SUBST(EINA_CONFIGURE_HAVE_ON_OFF_THREADS)
716AM_CONDITIONAL([EINA_ON_OFF_THREADS], [! test "x${efl_have_on_off_threads}" = "xno"])
717
718### Modules
719
720if test "x${have_default_mempool}" = "xyes" ; then
721 enable_chained_pool="no"
722 enable_pass_through="static"
723else
724 enable_chained_pool="static"
725 enable_pass_through="no"
726fi
727
728enable_one_big="static"
729
730EINA_CHECK_MODULE([chained-pool], [${enable_chained_pool}], [chained pool])
731EINA_CHECK_MODULE([ememoa-fixed], [${enable_ememoa}], [ememoa fixed])
732EINA_CHECK_MODULE([ememoa-unknown], [${enable_ememoa}], [ememoa unknown])
733EINA_CHECK_MODULE([fixed-bitmap], [no], [fixed bitmap])
734EINA_CHECK_MODULE([pass-through], [${enable_pass_through}], [pass through])
735EINA_CHECK_MODULE([buddy], [no], [buddy])
736EINA_CHECK_MODULE([one-big], [${enable_one_big}], [one big])
737
738
306#### End of Eina 739#### End of Eina
307 740
308#EFL_CHECK_LIBS([eina], [iconv], [have_eina="yes"], [have_eina="no"]) 741
309#EFL_CHECK_LIBS([eet], [zlib libjpeg], [have_eet="yes"], [have_eet="no"]) 742#### Eet
743
744#AC_MSG_NOTICE([Eet checks])
745
746### Default values
747### Additional options to configure
748### Checks for programs
749### Checks for libraries
750### Checks for header files
751### Checks for types
752### Checks for structures
753### Checks for compiler characteristics
754### Checks for linker characteristics
755### Checks for library functions
756
757#### End of Eet
310 758
311AC_CONFIG_FILES([ 759AC_CONFIG_FILES([
312Makefile 760Makefile
313src/Makefile 761src/Makefile
314src/bin/Makefile 762src/bin/Makefile
315src/bin/evil/Makefile 763src/bin/evil/Makefile
764src/include/Makefile
765src/include/eina/Makefile
766src/include/eina/eina_config.h
316src/lib/Makefile 767src/lib/Makefile
317src/lib/evil/Makefile 768src/lib/evil/Makefile
769src/lib/eina/Makefile
770src/modules/Makefile
771src/modules/eina/Makefile
772src/modules/eina/mp/Makefile
773src/modules/eina/mp/chained_pool/Makefile
774src/modules/eina/mp/ememoa_fixed/Makefile
775src/modules/eina/mp/ememoa_unknown/Makefile
776src/modules/eina/mp/pass_through/Makefile
777src/modules/eina/mp/fixed_bitmap/Makefile
778src/modules/eina/mp/buddy/Makefile
779src/modules/eina/mp/one_big/Makefile
780src/scripts/Makefile
781src/scripts/eina/Makefile
782eina.spec
318evil.pc 783evil.pc
784eina.pc
319]) 785])
320 786
321AC_OUTPUT 787AC_OUTPUT
@@ -339,6 +805,45 @@ fi
339echo 805echo
340echo " Documentation........: ${build_doc}" 806echo " Documentation........: ${build_doc}"
341echo 807echo
808echo "Eina"
809echo
810echo " Magic debug..........: ${have_magic_debug}"
811echo " Safety checks........: ${have_safety_checks}"
812echo " Maximum log level....: ${with_max_log_level}"
813echo " Report string usage..: ${have_stringshare_usage}"
814echo " Valgrind support.....: ${have_valgrind}"
815echo " Default mempool......: ${have_default_mempool}"
816echo " Log support..........: ${enable_log}"
817echo " Thread Support.......: ${efl_have_threads}"
818if test "${efl_have_threads}" = "POSIX" ; then
819echo " spinlock...........: ${efl_have_posix_threads_spinlock}"
820echo " debug usage........: ${efl_have_debug_threads}"
821echo " on/off support.....: ${efl_have_on_off_threads}"
822fi
823echo " Iconv support........: ${efl_func_iconv}"
824echo " File dirfd...........: ${efl_func_dirfd}"
825echo " File xattr...........: ${efl_func_setxattr}"
826echo " shm_open.............: ${efl_func_shm_open}"
827echo
828echo " Tests................: ${_efl_enable_tests} (Coverage: ${_efl_enable_coverage})"
829echo " Examples.............: ${enable_build_examples}"
830echo " Tiler Example........: ${build_tiler_example}"
831echo " Examples installed...: ${enable_install_examples}"
832echo " Benchmark............: ${enable_benchmark}"
833if test "x${enable_benchmark}" = "xyes" ; then
834echo " Glib...............: ${enable_benchmark_glib}"
835echo " E17 real data......: ${enable_benchmark_e17}"
836fi
837echo
838echo " Memory pools:"
839echo " Buddy..............: ${enable_buddy}"
840echo " Chained pool.......: ${enable_chained_pool}"
841echo " Ememoa fixed.......: ${enable_ememoa_fixed}"
842echo " Ememoa unknown.....: ${enable_ememoa_unknown}"
843echo " Fixed bitmap.......: ${enable_fixed_bitmap}"
844echo " One big............: ${enable_one_big}"
845echo " Pass through.......: ${enable_pass_through}"
846echo
342echo "Compilation............: make (or gmake)" 847echo "Compilation............: make (or gmake)"
343echo " CPPFLAGS.............: $CPPFLAGS" 848echo " CPPFLAGS.............: $CPPFLAGS"
344echo " CFLAGS...............: $CFLAGS" 849echo " CFLAGS...............: $CFLAGS"
diff --git a/legacy/eina/eina.pc.in b/eina.pc.in
index 95b815b05f..95b815b05f 100644
--- a/legacy/eina/eina.pc.in
+++ b/eina.pc.in
diff --git a/legacy/eina/eina.spec.in b/eina.spec.in
index 3e526ad57d..3e526ad57d 100644
--- a/legacy/eina/eina.spec.in
+++ b/eina.spec.in
diff --git a/legacy/eina/m4/common/efl_check_funcs.m4 b/m4/efl_check_funcs.m4
index d72fb34344..d72fb34344 100644
--- a/legacy/eina/m4/common/efl_check_funcs.m4
+++ b/m4/efl_check_funcs.m4
diff --git a/m4/efl_compiler.m4 b/m4/efl_compiler.m4
index 5f17be499d..be6a753e07 100644
--- a/m4/efl_compiler.m4
+++ b/m4/efl_compiler.m4
@@ -54,3 +54,52 @@ AC_DEFUN([EFL_CHECK_COMPILER_FLAGS],
54[ 54[
55m4_foreach_w([flag], [$2], [EFL_CHECK_COMPILER_FLAG([$1], m4_defn([flag]))]) 55m4_foreach_w([flag], [$2], [EFL_CHECK_COMPILER_FLAG([$1], m4_defn([flag]))])
56]) 56])
57
58
59dnl Macro that checks for a linker flag availability
60dnl
61dnl EFL_CHECK_LINKER_FLAG(EFL, FLAG[, ACTION-IF-FOUND[ ,ACTION-IF-NOT-FOUND]])
62dnl AC_SUBST : EFL_LIBS (EFL being replaced by its value)
63dnl AM_CONDITIONAL : EFL_HAVE_FLAG (FLAG being replaced by its value)
64
65AC_DEFUN([EFL_CHECK_LINKER_FLAG],
66[
67m4_pushdef([UPEFL], m4_translit([[$1]], [-a-z], [_A-Z]))
68m4_pushdef([UP], m4_translit([[$2]], [-a-z], [_A-Z]))
69
70LDFLAGS_save="${LDFLAGS}"
71LDFLAGS="${LDFLAGS} $2"
72
73AC_LANG_PUSH([C])
74AC_MSG_CHECKING([whether the linker supports $2])
75
76AC_LINK_IFELSE(
77 [AC_LANG_PROGRAM([[]])],
78 [have_flag="yes"],
79 [have_flag="no"])
80AC_MSG_RESULT([${have_flag}])
81
82LDFLAGS="${LDFLAGS_save}"
83AC_LANG_POP([C])
84
85if test "x${have_flag}" = "xyes" ; then
86 UPEFL[_LIBS]="${UPEFL[_LIBS]} [$2]"
87fi
88AC_ARG_VAR(UPEFL[_LIBS], [preprocessor flags for $2])
89AC_SUBST(UPEFL[_LIBS])
90
91AM_CONDITIONAL([EFL_HAVE]UP, [test "x${have_flag}" = "xyes"])
92
93m4_popdef([UP])
94m4_popdef([UPEFL])
95])
96
97dnl Macro that iterates over a sequence of white separated flags
98dnl and that call EFL_CHECK_LINKER_FLAG() for each of these flags
99dnl
100dnl EFL_CHECK_LINKER_FLAGS(EFL, FLAGS)
101
102AC_DEFUN([EFL_CHECK_LINKER_FLAGS],
103[
104m4_foreach_w([flag], [$2], [EFL_CHECK_LINKER_FLAG([$1], m4_defn([flag]))])
105])
diff --git a/m4/efl_libraries.m4 b/m4/efl_libraries.m4
deleted file mode 100644
index e7a7009a51..0000000000
--- a/m4/efl_libraries.m4
+++ /dev/null
@@ -1,190 +0,0 @@
1dnl Copyright (C) 2012 Vincent Torri <vincent dot torri at gmail dot com>
2dnl This code is public domain and can be freely used or copied.
3
4dnl Macro that check dependencies libraries for the EFL
5
6dnl _EFL_CHECK_LIB_ICONV is for internal use
7dnl _EFL_CHECK_LIB_ICONV(libname, lib, ACTION-IF-FOUND ,ACTION-IF-NOT-FOUND)
8
9AC_DEFUN([_EFL_CHECK_LIB_ICONV],
10[
11AC_MSG_CHECKING([whether iconv() is in $1])
12
13LIBS_save="${LIBS}"
14LIBS="$2 ${LIBS}"
15AC_LINK_IFELSE([AC_LANG_PROGRAM(
16 [[
17#include <stdlib.h>
18#include <iconv.h>
19 ]],
20 [[
21iconv_t ic;
22size_t count = iconv(ic, NULL, NULL, NULL, NULL);
23 ]])],
24 [
25 have_dep="yes"
26 ICONV_LIBS=$2
27 ],
28 [
29 have_dep="no"
30 ])
31LIBS=${LIBS_save}
32
33AC_MSG_RESULT([${have_dep}])
34
35AS_IF([test "x${have_dep}" = "xyes"], [$3], [$4])
36])
37
38dnl Macro that checks for iconv library in libc, libiconv and libiconv_plug
39dnl
40dnl EFL_CHECK_LIB_ICONV(EFL[, ACTION-IF-FOUND[ ,ACTION-IF-NOT-FOUND]])
41dnl update requirements
42
43AC_DEFUN([EFL_CHECK_LIB_ICONV],
44[
45m4_pushdef([DOWN], m4_translit([$1], [-A-Z], [_a-z]))dnl
46
47AC_ARG_WITH([iconv-link],
48 AC_HELP_STRING([--with-iconv-link=ICONV_LINK], [explicitly specify an iconv link option]),
49 [
50 have_dep="yes"
51 ICONV_LIBS=${withval}
52 ],
53 [have_dep="no"])
54
55AC_MSG_CHECKING([for explicit iconv link options])
56if test "x${ICONV_LIBS}" = "x" ; then
57 AC_MSG_RESULT([no explicit iconv link option])
58else
59 AC_MSG_RESULT([${ICONV_LIBS}])
60fi
61
62if test "x${have_dep}" = "xno" ; then
63 AC_CHECK_HEADERS([iconv.h], [have_dep="yes"])
64
65 if test "x${have_dep}" = "xyes" ; then
66 _EFL_CHECK_LIB_ICONV([libc], [], [have_dep="yes"], [have_dep="no"])
67 fi
68
69 if test "x${have_dep}" = "xno" ; then
70 _EFL_CHECK_LIB_ICONV([libiconv], [-liconv],
71 [
72 have_dep="yes"
73 m4_defn([DOWN])[]_requirements_libs="$m4_defn([DOWN])[]_requirements_libs -liconv"
74 ],
75 [have_dep="no"])
76 fi
77
78 if test "x${have_dep}" = "xno" ; then
79 _EFL_CHECK_LIB_ICONV([libiconv_plug], [-liconv_plug],
80 [
81 have_dep="yes"
82 m4_defn([DOWN])[]_requirements_libs="$m4_defn([DOWN])[]_requirements_libs -liconv_plug"
83 ],
84 [have_dep="no"])
85 fi
86fi
87
88AS_IF([test "x${have_dep}" = "xyes"], [$2], [$3])
89
90m4_popdef([DOWN])
91])
92
93dnl Macro that checks for zlib
94dnl
95dnl EFL_CHECK_LIB_ZLIB(EFL[, ACTION-IF-FOUND[ ,ACTION-IF-NOT-FOUND]])
96dnl update requirements
97
98AC_DEFUN([EFL_CHECK_LIB_ZLIB],
99[
100m4_pushdef([DOWN], m4_translit([$1], [-A-Z], [_a-z]))dnl
101
102PKG_CHECK_MODULES([ZLIB], [zlib],
103 [
104 have_dep="yes"
105 m4_defn([DOWN])[]_requirements_pc="$m4_defn([DOWN])[]_requirements_pc zlib"
106 ],
107 [have_dep="no"])
108
109if test "x${have_dep}" = "xno" ; then
110 AC_CHECK_HEADER([zlib.h], [have_dep="yes"], [have_dep="no"])
111
112 if test "x${have_dep}" = "xyes" ; then
113 AC_CHECK_LIB([z], [zlibVersion],
114 [
115 have_dep="yes"
116 ZLIB_CFLAGS=
117 ZLIB_LIBS="-lz"
118 m4_defn([DOWN])[]_requirements_libs="$m4_defn([DOWN])[]_requirements_libs -lz"
119 ],
120 [have_dep="no"])
121 fi
122fi
123
124AS_IF([test "x${have_dep}" = "xyes"], [$2], [$3])
125
126m4_popdef([DOWN])
127])
128
129dnl Macro that checks for libjpeg
130dnl
131dnl EFL_CHECK_LIB_LIBJPEG(EFL[, ACTION-IF-FOUND[ ,ACTION-IF-NOT-FOUND]])
132dnl update requirements
133
134AC_DEFUN([EFL_CHECK_LIB_LIBJPEG],
135[
136m4_pushdef([DOWN], m4_translit([$1], [-A-Z], [_a-z]))dnl
137
138AC_CHECK_HEADER([jpeglib.h], [have_dep="yes"], [have_dep="no"])
139
140if test "x${have_dep}" = "xyes" ; then
141 AC_CHECK_LIB([jpeg], [jpeg_std_error],
142 [
143 have_dep="yes"
144 LIBJPEG_CFLAGS=
145 LIBJPEG_LIBS="-ljpeg"
146 m4_defn([DOWN])[]_requirements_libs="$m4_defn([DOWN])[]_requirements_libs -ljpeg"
147 ],
148 [have_dep="no"])
149fi
150
151AS_IF([test "x${have_dep}" = "xyes"], [$2], [$3])
152
153m4_popdef([DOWN])
154])
155
156dnl Macro that checks for a library
157dnl
158dnl EFL_CHECK_LIB(EFL, LIBRARY-FILE[, ACTION-IF-FOUND[ ,ACTION-IF-NOT-FOUND]])
159dnl AC_SUBST : EFL_CFLAGS and EFL_LIBS (EFL being replaced by its value)
160dnl AM_CONDITIONAL : EFL_HAVE_EFL (the 2nd EFL being replaced by its value)
161
162AC_DEFUN([EFL_CHECK_LIB],
163[
164m4_pushdef([UPEFL], m4_translit([$1], [-a-z], [_A-Z]))dnl
165m4_pushdef([UP], m4_translit([$2], [-a-z], [_A-Z]))dnl
166m4_pushdef([DOWN], m4_translit([$2], [-A-Z], [_a-z]))dnl
167
168m4_default([EFL_CHECK_LIB_]m4_defn([UP]))($1, [have_lib="yes"], [have_lib="no"])
169
170AC_ARG_VAR(UP[_CFLAGS], [preprocessor flags for $2])
171AC_SUBST(UP[_CFLAGS])
172AC_ARG_VAR(UP[_LIBS], [linker flags for $2])
173AC_SUBST(UP[_LIBS])
174
175AM_CONDITIONAL([EFL_HAVE_]UPEFL, [test "x${have_lib}" = "xyes"])
176
177m4_popdef([DOWN])
178m4_popdef([UP])
179m4_popdef([UPEFL])
180])
181
182dnl Macro that iterates over a sequence of white separated libraries
183dnl and that call EFL_CHECK_LIB() for each of these libraries
184dnl
185dnl EFL_CHECK_LIBS(EFL, LIBRARY-FILE)
186
187AC_DEFUN([EFL_CHECK_LIBS],
188[
189m4_foreach_w([lib], [$2], [EFL_CHECK_LIB($1, m4_defn([lib]))])
190]) \ No newline at end of file
diff --git a/legacy/ecore/m4/efl_path_max.m4 b/m4/efl_path_max.m4
index f57bfd2ab5..f57bfd2ab5 100644
--- a/legacy/ecore/m4/efl_path_max.m4
+++ b/m4/efl_path_max.m4
diff --git a/m4/efl_tests.m4 b/m4/efl_tests.m4
new file mode 100644
index 0000000000..612baa0e8e
--- /dev/null
+++ b/m4/efl_tests.m4
@@ -0,0 +1,49 @@
1dnl Copyright (C) 2008-2012 Vincent Torri <vtorri at univ-evry dot fr>
2dnl That code is public domain and can be freely used or copied.
3
4dnl Macro that check if tests programs are wanted and if yes, if
5dnl the Check library is available.
6dnl the lcov program is available.
7
8dnl Usage: EFL_CHECK_TESTS(EFL[, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
9dnl Define the automake conditionnal EFL_ENABLE_TESTS
10
11AC_DEFUN([EFL_CHECK_TESTS],
12[
13m4_pushdef([UPEFL], m4_translit([$1], [-a-z], [_A-Z]))dnl
14
15dnl configure option
16
17AC_REQUIRE([PKG_PROG_PKG_CONFIG])
18
19PKG_CHECK_MODULES([CHECK],
20 [check >= 0.9.5],
21 [_efl_enable_tests="yes"],
22 [_efl_enable_tests="no"])
23
24AM_CONDITIONAL([EFL_ENABLE_TESTS], [test "x${_efl_enable_tests}" = "xyes"])
25
26_efl_enable_coverage="no"
27AC_CHECK_PROG(have_lcov, [lcov], [yes], [no])
28if test "x$have_lcov" = "xyes" ; then
29 m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -fprofile-arcs -ftest-coverage"
30 m4_defn([UPEFL])[]_LIBS="${m4_defn([UPEFL])[]_LIBS} -lgcov"
31# remove any optimisation flag and force debug symbols
32 if test "x${prefer_assert}" = "xno"; then
33 m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -DNDEBUG"
34 else
35 m4_defn([UPEFL])[]_CFLAGS="${m4_defn([UPEFL])[]_CFLAGS} -g -O0 -DDEBUG"
36 fi
37 _efl_enable_coverage="yes"
38else
39 AC_MSG_WARN([lcov is not found, disable profiling instrumentation])
40fi
41
42AM_CONDITIONAL([EFL_ENABLE_COVERAGE], [test "x${_efl_enable_coverage}" = "xyes"])
43
44AS_IF([test "x$_efl_enable_tests" = "xyes"], [$2], [$3])
45
46m4_popdef([UPEFL])
47])
48
49dnl End of efl_tests.m4
diff --git a/legacy/eina/m4/common/efl_threads.m4 b/m4/efl_threads.m4
index ae296069d8..ae296069d8 100644
--- a/legacy/eina/m4/common/efl_threads.m4
+++ b/m4/efl_threads.m4
diff --git a/legacy/eina/m4/eina/eina_check.m4 b/m4/eina_check.m4
index f8a4f8c3ae..9f4ffcedc2 100644
--- a/legacy/eina/m4/eina/eina_check.m4
+++ b/m4/eina_check.m4
@@ -4,8 +4,10 @@ AC_DEFUN([EINA_CHECK_MODULE],
4m4_pushdef([UP], m4_translit([$1], [-a-z], [_A-Z]))dnl 4m4_pushdef([UP], m4_translit([$1], [-a-z], [_A-Z]))dnl
5m4_pushdef([DOWN], m4_translit([$1], [-A-Z], [_a-z]))dnl 5m4_pushdef([DOWN], m4_translit([$1], [-A-Z], [_a-z]))dnl
6 6
7default_value=$2
8
7AC_ARG_ENABLE([mempool-$1], 9AC_ARG_ENABLE([mempool-$1],
8 [AC_HELP_STRING([--enable-mempool-$1], [enable build of $3 @<:@default=$2@:>@])], 10 [AC_HELP_STRING([--enable-mempool-$1], [enable build of $3 @<:@default=$@:>@])],
9 [ 11 [
10 if test "x${enableval}" = "xyes" ; then 12 if test "x${enableval}" = "xyes" ; then
11 enable_module="yes" 13 enable_module="yes"
diff --git a/src/Makefile.am b/src/Makefile.am
index a8590b2f0d..d53263a5cb 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,3 +1,3 @@
1MAINTAINERCLEANFILES = Makefile.in 1MAINTAINERCLEANFILES = Makefile.in
2 2
3SUBDIRS = lib bin 3SUBDIRS = lib include modules bin scripts
diff --git a/src/include/Makefile.am b/src/include/Makefile.am
new file mode 100644
index 0000000000..b8f642fb72
--- /dev/null
+++ b/src/include/Makefile.am
@@ -0,0 +1,3 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3SUBDIRS = eina
diff --git a/legacy/eina/src/include/Eina.h b/src/include/eina/Eina.h
index 584bccd9de..584bccd9de 100644
--- a/legacy/eina/src/include/Eina.h
+++ b/src/include/eina/Eina.h
diff --git a/src/include/eina/Makefile.am b/src/include/eina/Makefile.am
new file mode 100644
index 0000000000..ef87ce05a6
--- /dev/null
+++ b/src/include/eina/Makefile.am
@@ -0,0 +1,93 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3EINAHEADERS = \
4eina_safety_checks.h \
5eina_error.h \
6eina_log.h \
7eina_inline_log.x \
8eina_fp.h \
9eina_inline_f32p32.x \
10eina_inline_f16p16.x \
11eina_inline_f8p24.x \
12eina_inline_fp.x \
13eina_hash.h \
14eina_inline_hash.x \
15eina_lalloc.h \
16eina_clist.h \
17eina_inline_clist.x \
18eina_inarray.h \
19eina_inlist.h \
20eina_list.h \
21eina_file.h \
22eina_mempool.h \
23eina_module.h \
24eina_rectangle.h \
25eina_types.h \
26eina_array.h \
27eina_counter.h \
28eina_inline_array.x \
29eina_magic.h \
30eina_stringshare.h \
31eina_binshare.h \
32eina_binbuf.h \
33eina_ustringshare.h \
34eina_inline_stringshare.x \
35eina_inline_ustringshare.x \
36eina_inline_list.x \
37eina_accessor.h \
38eina_convert.h \
39eina_rbtree.h \
40eina_benchmark.h \
41eina_inline_rbtree.x \
42eina_inline_mempool.x \
43eina_inline_rectangle.x \
44eina_inline_trash.x \
45eina_trash.h \
46eina_iterator.h \
47eina_main.h \
48eina_cpu.h \
49eina_sched.h \
50eina_tiler.h \
51eina_hamster.h \
52eina_matrixsparse.h \
53eina_inline_tiler.x \
54eina_str.h \
55eina_inline_str.x \
56eina_strbuf.h \
57eina_ustrbuf.h \
58eina_unicode.h \
59eina_quadtree.h \
60eina_simple_xml_parser.h \
61eina_lock.h \
62eina_prefix.h \
63eina_refcount.h \
64eina_mmap.h \
65eina_xattr.h \
66eina_value.h \
67eina_inline_value.x
68
69# Will be back for developper after 1.2.
70# eina_model.h
71# eina_object.h
72
73if EINA_HAVE_THREADS
74if HAVE_WINCE
75EINAHEADERS += eina_inline_lock_wince.x
76else
77if HAVE_WIN32
78EINAHEADERS += eina_inline_lock_win32.x
79else
80EINAHEADERS += eina_inline_lock_posix.x
81endif
82endif
83else
84EINAHEADERS += eina_inline_lock_void.x
85endif
86
87installed_mainheaderdir = $(includedir)/eina-@VMAJ@
88dist_installed_mainheader_DATA = Eina.h eina_config.h
89
90installed_headersdir = $(includedir)/eina-@VMAJ@/eina
91dist_installed_headers_DATA = $(EINAHEADERS)
92
93EXTRA_DIST = eina_config.h.in
diff --git a/legacy/eina/src/include/eina_accessor.h b/src/include/eina/eina_accessor.h
index c51c86da6e..c51c86da6e 100644
--- a/legacy/eina/src/include/eina_accessor.h
+++ b/src/include/eina/eina_accessor.h
diff --git a/legacy/eina/src/include/eina_array.h b/src/include/eina/eina_array.h
index a9f5c7a557..a9f5c7a557 100644
--- a/legacy/eina/src/include/eina_array.h
+++ b/src/include/eina/eina_array.h
diff --git a/legacy/eina/src/include/eina_benchmark.h b/src/include/eina/eina_benchmark.h
index a95aadf14e..a95aadf14e 100644
--- a/legacy/eina/src/include/eina_benchmark.h
+++ b/src/include/eina/eina_benchmark.h
diff --git a/legacy/eina/src/include/eina_binbuf.h b/src/include/eina/eina_binbuf.h
index c28df05af4..c28df05af4 100644
--- a/legacy/eina/src/include/eina_binbuf.h
+++ b/src/include/eina/eina_binbuf.h
diff --git a/legacy/eina/src/include/eina_binshare.h b/src/include/eina/eina_binshare.h
index 5a4488d940..5a4488d940 100644
--- a/legacy/eina/src/include/eina_binshare.h
+++ b/src/include/eina/eina_binshare.h
diff --git a/legacy/eina/src/include/eina_clist.h b/src/include/eina/eina_clist.h
index 4e7f63a614..4e7f63a614 100644
--- a/legacy/eina/src/include/eina_clist.h
+++ b/src/include/eina/eina_clist.h
diff --git a/legacy/eina/src/include/eina_config.h.in b/src/include/eina/eina_config.h.in
index 937d208208..937d208208 100644
--- a/legacy/eina/src/include/eina_config.h.in
+++ b/src/include/eina/eina_config.h.in
diff --git a/legacy/eina/src/include/eina_convert.h b/src/include/eina/eina_convert.h
index 6493964a2f..6493964a2f 100644
--- a/legacy/eina/src/include/eina_convert.h
+++ b/src/include/eina/eina_convert.h
diff --git a/legacy/eina/src/include/eina_counter.h b/src/include/eina/eina_counter.h
index 677d97e86b..677d97e86b 100644
--- a/legacy/eina/src/include/eina_counter.h
+++ b/src/include/eina/eina_counter.h
diff --git a/legacy/eina/src/include/eina_cpu.h b/src/include/eina/eina_cpu.h
index ac32e1db9b..ac32e1db9b 100644
--- a/legacy/eina/src/include/eina_cpu.h
+++ b/src/include/eina/eina_cpu.h
diff --git a/legacy/eina/src/include/eina_error.h b/src/include/eina/eina_error.h
index e4205e4e45..e4205e4e45 100644
--- a/legacy/eina/src/include/eina_error.h
+++ b/src/include/eina/eina_error.h
diff --git a/legacy/eina/src/include/eina_file.h b/src/include/eina/eina_file.h
index 31c4eb5b62..31c4eb5b62 100644
--- a/legacy/eina/src/include/eina_file.h
+++ b/src/include/eina/eina_file.h
diff --git a/legacy/eina/src/include/eina_fp.h b/src/include/eina/eina_fp.h
index c73dc16fca..c73dc16fca 100644
--- a/legacy/eina/src/include/eina_fp.h
+++ b/src/include/eina/eina_fp.h
diff --git a/legacy/eina/src/include/eina_hamster.h b/src/include/eina/eina_hamster.h
index bea759d57f..bea759d57f 100644
--- a/legacy/eina/src/include/eina_hamster.h
+++ b/src/include/eina/eina_hamster.h
diff --git a/legacy/eina/src/include/eina_hash.h b/src/include/eina/eina_hash.h
index 2ba0851a31..2ba0851a31 100644
--- a/legacy/eina/src/include/eina_hash.h
+++ b/src/include/eina/eina_hash.h
diff --git a/legacy/eina/src/include/eina_inarray.h b/src/include/eina/eina_inarray.h
index 034a11602b..034a11602b 100644
--- a/legacy/eina/src/include/eina_inarray.h
+++ b/src/include/eina/eina_inarray.h
diff --git a/legacy/eina/src/include/eina_inline_array.x b/src/include/eina/eina_inline_array.x
index 179d43c4eb..179d43c4eb 100644
--- a/legacy/eina/src/include/eina_inline_array.x
+++ b/src/include/eina/eina_inline_array.x
diff --git a/legacy/eina/src/include/eina_inline_clist.x b/src/include/eina/eina_inline_clist.x
index 66223fedb3..66223fedb3 100644
--- a/legacy/eina/src/include/eina_inline_clist.x
+++ b/src/include/eina/eina_inline_clist.x
diff --git a/legacy/eina/src/include/eina_inline_f16p16.x b/src/include/eina/eina_inline_f16p16.x
index e16d188dce..e16d188dce 100644
--- a/legacy/eina/src/include/eina_inline_f16p16.x
+++ b/src/include/eina/eina_inline_f16p16.x
diff --git a/legacy/eina/src/include/eina_inline_f32p32.x b/src/include/eina/eina_inline_f32p32.x
index 73480de02c..73480de02c 100644
--- a/legacy/eina/src/include/eina_inline_f32p32.x
+++ b/src/include/eina/eina_inline_f32p32.x
diff --git a/legacy/eina/src/include/eina_inline_f8p24.x b/src/include/eina/eina_inline_f8p24.x
index f80bf6149c..f80bf6149c 100644
--- a/legacy/eina/src/include/eina_inline_f8p24.x
+++ b/src/include/eina/eina_inline_f8p24.x
diff --git a/legacy/eina/src/include/eina_inline_fp.x b/src/include/eina/eina_inline_fp.x
index de44123b28..de44123b28 100644
--- a/legacy/eina/src/include/eina_inline_fp.x
+++ b/src/include/eina/eina_inline_fp.x
diff --git a/legacy/eina/src/include/eina_inline_hash.x b/src/include/eina/eina_inline_hash.x
index be20e8fa5d..be20e8fa5d 100644
--- a/legacy/eina/src/include/eina_inline_hash.x
+++ b/src/include/eina/eina_inline_hash.x
diff --git a/legacy/eina/src/include/eina_inline_list.x b/src/include/eina/eina_inline_list.x
index 3397a1b521..3397a1b521 100644
--- a/legacy/eina/src/include/eina_inline_list.x
+++ b/src/include/eina/eina_inline_list.x
diff --git a/legacy/eina/src/include/eina_inline_lock_posix.x b/src/include/eina/eina_inline_lock_posix.x
index 64e049a193..64e049a193 100644
--- a/legacy/eina/src/include/eina_inline_lock_posix.x
+++ b/src/include/eina/eina_inline_lock_posix.x
diff --git a/legacy/eina/src/include/eina_inline_lock_void.x b/src/include/eina/eina_inline_lock_void.x
index 9a0465e815..9a0465e815 100644
--- a/legacy/eina/src/include/eina_inline_lock_void.x
+++ b/src/include/eina/eina_inline_lock_void.x
diff --git a/legacy/eina/src/include/eina_inline_lock_win32.x b/src/include/eina/eina_inline_lock_win32.x
index 56f0ce4acc..56f0ce4acc 100644
--- a/legacy/eina/src/include/eina_inline_lock_win32.x
+++ b/src/include/eina/eina_inline_lock_win32.x
diff --git a/legacy/eina/src/include/eina_inline_lock_wince.x b/src/include/eina/eina_inline_lock_wince.x
index 1af1aac406..1af1aac406 100644
--- a/legacy/eina/src/include/eina_inline_lock_wince.x
+++ b/src/include/eina/eina_inline_lock_wince.x
diff --git a/legacy/eina/src/include/eina_inline_log.x b/src/include/eina/eina_inline_log.x
index 7f44643b0b..7f44643b0b 100644
--- a/legacy/eina/src/include/eina_inline_log.x
+++ b/src/include/eina/eina_inline_log.x
diff --git a/legacy/eina/src/include/eina_inline_mempool.x b/src/include/eina/eina_inline_mempool.x
index 40cd7d5be1..40cd7d5be1 100644
--- a/legacy/eina/src/include/eina_inline_mempool.x
+++ b/src/include/eina/eina_inline_mempool.x
diff --git a/legacy/eina/src/include/eina_inline_rbtree.x b/src/include/eina/eina_inline_rbtree.x
index 954774b851..954774b851 100644
--- a/legacy/eina/src/include/eina_inline_rbtree.x
+++ b/src/include/eina/eina_inline_rbtree.x
diff --git a/legacy/eina/src/include/eina_inline_rectangle.x b/src/include/eina/eina_inline_rectangle.x
index dbd7f116a5..dbd7f116a5 100644
--- a/legacy/eina/src/include/eina_inline_rectangle.x
+++ b/src/include/eina/eina_inline_rectangle.x
diff --git a/legacy/eina/src/include/eina_inline_str.x b/src/include/eina/eina_inline_str.x
index 2daeb8524c..2daeb8524c 100644
--- a/legacy/eina/src/include/eina_inline_str.x
+++ b/src/include/eina/eina_inline_str.x
diff --git a/legacy/eina/src/include/eina_inline_stringshare.x b/src/include/eina/eina_inline_stringshare.x
index 22fa2ef5b7..22fa2ef5b7 100644
--- a/legacy/eina/src/include/eina_inline_stringshare.x
+++ b/src/include/eina/eina_inline_stringshare.x
diff --git a/legacy/eina/src/include/eina_inline_tiler.x b/src/include/eina/eina_inline_tiler.x
index 2a8b205dc2..2a8b205dc2 100644
--- a/legacy/eina/src/include/eina_inline_tiler.x
+++ b/src/include/eina/eina_inline_tiler.x
diff --git a/legacy/eina/src/include/eina_inline_trash.x b/src/include/eina/eina_inline_trash.x
index 7ae204a419..7ae204a419 100644
--- a/legacy/eina/src/include/eina_inline_trash.x
+++ b/src/include/eina/eina_inline_trash.x
diff --git a/legacy/eina/src/include/eina_inline_ustringshare.x b/src/include/eina/eina_inline_ustringshare.x
index 1a698f7930..1a698f7930 100644
--- a/legacy/eina/src/include/eina_inline_ustringshare.x
+++ b/src/include/eina/eina_inline_ustringshare.x
diff --git a/legacy/eina/src/include/eina_inline_value.x b/src/include/eina/eina_inline_value.x
index 4ca10e07ef..4ca10e07ef 100644
--- a/legacy/eina/src/include/eina_inline_value.x
+++ b/src/include/eina/eina_inline_value.x
diff --git a/legacy/eina/src/include/eina_inlist.h b/src/include/eina/eina_inlist.h
index 6fa5bd4da7..6fa5bd4da7 100644
--- a/legacy/eina/src/include/eina_inlist.h
+++ b/src/include/eina/eina_inlist.h
diff --git a/legacy/eina/src/include/eina_iterator.h b/src/include/eina/eina_iterator.h
index 291b98d66f..291b98d66f 100644
--- a/legacy/eina/src/include/eina_iterator.h
+++ b/src/include/eina/eina_iterator.h
diff --git a/legacy/eina/src/include/eina_lalloc.h b/src/include/eina/eina_lalloc.h
index d28cd52068..d28cd52068 100644
--- a/legacy/eina/src/include/eina_lalloc.h
+++ b/src/include/eina/eina_lalloc.h
diff --git a/legacy/eina/src/include/eina_list.h b/src/include/eina/eina_list.h
index a81f57b801..a81f57b801 100644
--- a/legacy/eina/src/include/eina_list.h
+++ b/src/include/eina/eina_list.h
diff --git a/legacy/eina/src/include/eina_lock.h b/src/include/eina/eina_lock.h
index f438586a54..f438586a54 100644
--- a/legacy/eina/src/include/eina_lock.h
+++ b/src/include/eina/eina_lock.h
diff --git a/legacy/eina/src/include/eina_log.h b/src/include/eina/eina_log.h
index ea50c21002..ea50c21002 100644
--- a/legacy/eina/src/include/eina_log.h
+++ b/src/include/eina/eina_log.h
diff --git a/legacy/eina/src/include/eina_magic.h b/src/include/eina/eina_magic.h
index 5e8d37663b..5e8d37663b 100644
--- a/legacy/eina/src/include/eina_magic.h
+++ b/src/include/eina/eina_magic.h
diff --git a/legacy/eina/src/include/eina_main.h b/src/include/eina/eina_main.h
index 41ea2a5b57..41ea2a5b57 100644
--- a/legacy/eina/src/include/eina_main.h
+++ b/src/include/eina/eina_main.h
diff --git a/legacy/eina/src/include/eina_matrixsparse.h b/src/include/eina/eina_matrixsparse.h
index e7db606400..e7db606400 100644
--- a/legacy/eina/src/include/eina_matrixsparse.h
+++ b/src/include/eina/eina_matrixsparse.h
diff --git a/legacy/eina/src/include/eina_mempool.h b/src/include/eina/eina_mempool.h
index 796bc9ec9c..796bc9ec9c 100644
--- a/legacy/eina/src/include/eina_mempool.h
+++ b/src/include/eina/eina_mempool.h
diff --git a/legacy/eina/src/include/eina_mmap.h b/src/include/eina/eina_mmap.h
index 07acc22530..07acc22530 100644
--- a/legacy/eina/src/include/eina_mmap.h
+++ b/src/include/eina/eina_mmap.h
diff --git a/legacy/eina/src/include/eina_model.h b/src/include/eina/eina_model.h
index 892a1d5ab3..892a1d5ab3 100644
--- a/legacy/eina/src/include/eina_model.h
+++ b/src/include/eina/eina_model.h
diff --git a/legacy/eina/src/include/eina_module.h b/src/include/eina/eina_module.h
index 24a491d6c1..24a491d6c1 100644
--- a/legacy/eina/src/include/eina_module.h
+++ b/src/include/eina/eina_module.h
diff --git a/legacy/eina/src/include/eina_object.h b/src/include/eina/eina_object.h
index 5773c930bc..5773c930bc 100644
--- a/legacy/eina/src/include/eina_object.h
+++ b/src/include/eina/eina_object.h
diff --git a/legacy/eina/src/include/eina_prefix.h b/src/include/eina/eina_prefix.h
index 431c78320e..431c78320e 100644
--- a/legacy/eina/src/include/eina_prefix.h
+++ b/src/include/eina/eina_prefix.h
diff --git a/legacy/eina/src/include/eina_quadtree.h b/src/include/eina/eina_quadtree.h
index 2638d8ba59..2638d8ba59 100644
--- a/legacy/eina/src/include/eina_quadtree.h
+++ b/src/include/eina/eina_quadtree.h
diff --git a/legacy/eina/src/include/eina_rbtree.h b/src/include/eina/eina_rbtree.h
index e61a9201d5..e61a9201d5 100644
--- a/legacy/eina/src/include/eina_rbtree.h
+++ b/src/include/eina/eina_rbtree.h
diff --git a/legacy/eina/src/include/eina_rectangle.h b/src/include/eina/eina_rectangle.h
index 0ad72247f0..0ad72247f0 100644
--- a/legacy/eina/src/include/eina_rectangle.h
+++ b/src/include/eina/eina_rectangle.h
diff --git a/legacy/eina/src/include/eina_refcount.h b/src/include/eina/eina_refcount.h
index 6650b01680..6650b01680 100644
--- a/legacy/eina/src/include/eina_refcount.h
+++ b/src/include/eina/eina_refcount.h
diff --git a/legacy/eina/src/include/eina_safety_checks.h b/src/include/eina/eina_safety_checks.h
index 73ae1b295e..73ae1b295e 100644
--- a/legacy/eina/src/include/eina_safety_checks.h
+++ b/src/include/eina/eina_safety_checks.h
diff --git a/legacy/eina/src/include/eina_sched.h b/src/include/eina/eina_sched.h
index 43f32b9c7b..43f32b9c7b 100644
--- a/legacy/eina/src/include/eina_sched.h
+++ b/src/include/eina/eina_sched.h
diff --git a/legacy/eina/src/include/eina_simple_xml_parser.h b/src/include/eina/eina_simple_xml_parser.h
index 8f83c1e01a..8f83c1e01a 100644
--- a/legacy/eina/src/include/eina_simple_xml_parser.h
+++ b/src/include/eina/eina_simple_xml_parser.h
diff --git a/legacy/eina/src/include/eina_str.h b/src/include/eina/eina_str.h
index f199a9a6dc..f199a9a6dc 100644
--- a/legacy/eina/src/include/eina_str.h
+++ b/src/include/eina/eina_str.h
diff --git a/legacy/eina/src/include/eina_strbuf.h b/src/include/eina/eina_strbuf.h
index 60cc58fbc8..60cc58fbc8 100644
--- a/legacy/eina/src/include/eina_strbuf.h
+++ b/src/include/eina/eina_strbuf.h
diff --git a/legacy/eina/src/include/eina_stringshare.h b/src/include/eina/eina_stringshare.h
index 21daeaf268..21daeaf268 100644
--- a/legacy/eina/src/include/eina_stringshare.h
+++ b/src/include/eina/eina_stringshare.h
diff --git a/legacy/eina/src/include/eina_tiler.h b/src/include/eina/eina_tiler.h
index 6634a9b223..6634a9b223 100644
--- a/legacy/eina/src/include/eina_tiler.h
+++ b/src/include/eina/eina_tiler.h
diff --git a/legacy/eina/src/include/eina_trash.h b/src/include/eina/eina_trash.h
index f53d99e696..f53d99e696 100644
--- a/legacy/eina/src/include/eina_trash.h
+++ b/src/include/eina/eina_trash.h
diff --git a/legacy/eina/src/include/eina_types.h b/src/include/eina/eina_types.h
index 49eae1dcdd..49eae1dcdd 100644
--- a/legacy/eina/src/include/eina_types.h
+++ b/src/include/eina/eina_types.h
diff --git a/legacy/eina/src/include/eina_unicode.h b/src/include/eina/eina_unicode.h
index 1b3ed15766..1b3ed15766 100644
--- a/legacy/eina/src/include/eina_unicode.h
+++ b/src/include/eina/eina_unicode.h
diff --git a/legacy/eina/src/include/eina_ustrbuf.h b/src/include/eina/eina_ustrbuf.h
index ad2dc8d4c1..ad2dc8d4c1 100644
--- a/legacy/eina/src/include/eina_ustrbuf.h
+++ b/src/include/eina/eina_ustrbuf.h
diff --git a/legacy/eina/src/include/eina_ustringshare.h b/src/include/eina/eina_ustringshare.h
index f97f305fdf..f97f305fdf 100644
--- a/legacy/eina/src/include/eina_ustringshare.h
+++ b/src/include/eina/eina_ustringshare.h
diff --git a/legacy/eina/src/include/eina_value.h b/src/include/eina/eina_value.h
index d0299760a0..d0299760a0 100644
--- a/legacy/eina/src/include/eina_value.h
+++ b/src/include/eina/eina_value.h
diff --git a/legacy/eina/src/include/eina_xattr.h b/src/include/eina/eina_xattr.h
index e4db4c5a24..e4db4c5a24 100644
--- a/legacy/eina/src/include/eina_xattr.h
+++ b/src/include/eina/eina_xattr.h
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index d89d02e560..92c50645f5 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -7,3 +7,5 @@ if HAVE_WINDOWS
7SUBDIRS += evil 7SUBDIRS += evil
8 8
9endif 9endif
10
11SUBDIRS += eina
diff --git a/src/lib/eina/Makefile.am b/src/lib/eina/Makefile.am
new file mode 100644
index 0000000000..7b1901238f
--- /dev/null
+++ b/src/lib/eina/Makefile.am
@@ -0,0 +1,111 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I$(top_srcdir)/src/include/eina \
5-I$(top_builddir)/src/include/eina \
6-DPACKAGE_BIN_DIR=\"$(bindir)\" \
7-DPACKAGE_LIB_DIR=\"$(libdir)\" \
8-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
9@EFL_EINA_BUILD@ \
10@EFL_PTHREAD_CFLAGS@ \
11@EINA_CFLAGS@ \
12@VALGRIND_CFLAGS@
13
14lib_LTLIBRARIES = libeina.la
15
16libeina_la_SOURCES = \
17eina_accessor.c \
18eina_array.c \
19eina_benchmark.c \
20eina_binbuf.c \
21eina_binshare.c \
22eina_convert.c \
23eina_counter.c \
24eina_cpu.c \
25eina_error.c \
26eina_fp.c \
27eina_hamster.c \
28eina_hash.c \
29eina_inarray.c \
30eina_inlist.c \
31eina_iterator.c \
32eina_lalloc.c \
33eina_list.c \
34eina_log.c \
35eina_magic.c \
36eina_main.c \
37eina_matrixsparse.c \
38eina_mempool.c \
39eina_mmap.c \
40eina_module.c \
41eina_prefix.c \
42eina_quadtree.c \
43eina_rbtree.c \
44eina_rectangle.c \
45eina_safety_checks.c \
46eina_sched.c \
47eina_share_common.c \
48eina_simple_xml_parser.c \
49eina_str.c \
50eina_strbuf.c \
51eina_strbuf_common.c \
52eina_stringshare.c \
53eina_tiler.c \
54eina_unicode.c \
55eina_ustrbuf.c \
56eina_ustringshare.c \
57eina_value.c \
58eina_xattr.c \
59eina_share_common.h \
60eina_private.h \
61eina_strbuf_common.h
62
63# Will be back for developper after 1.2
64# eina_model.c \
65# eina_object.c
66
67if HAVE_WIN32
68libeina_la_SOURCES += eina_file_win32.c
69else
70libeina_la_SOURCES += eina_file.c
71endif
72
73EXTRA_DIST = \
74eina_strbuf_template_c.x \
75eina_binbuf_template_c.x
76
77
78
79if EINA_STATIC_BUILD_BUDDY
80libeina_la_SOURCES += $(top_srcdir)/src/modules/eina/mp/buddy/eina_buddy.c
81endif
82
83if EINA_STATIC_BUILD_CHAINED_POOL
84libeina_la_SOURCES += $(top_srcdir)/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
85endif
86
87if EINA_STATIC_BUILD_EMEMOA_FIXED
88libeina_la_SOURCES += $(top_srcdir)/src/modules/eina/mp/ememoa_fixed/eina_ememoa_fixed.c
89endif
90
91if EINA_STATIC_BUILD_EMEMOA_UNKNOWN
92libeina_la_SOURCES += $(top_srcdir)/src/modules/eina/mp/ememoa_unknown/eina_ememoa_unknown.c
93endif
94
95if EINA_STATIC_BUILD_FIXED_BITMAP
96libeina_la_SOURCES += $(top_srcdir)/src/modules/eina/mp/fixed_bitmap/eina_fixed_bitmap.c
97endif
98
99if EINA_STATIC_BUILD_ONE_BIG
100libeina_la_SOURCES += $(top_srcdir)/src/modules/eina/mp/one_big/eina_one_big.c
101endif
102
103if EINA_STATIC_BUILD_PASS_THROUGH
104libeina_la_SOURCES += $(top_srcdir)/src/modules/eina/mp/pass_through/eina_pass_through.c
105endif
106
107libeina_la_LIBADD = @EINA_LIBS@ -lm
108libeina_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@
109
110clean-local:
111 rm -rf *.gcno
diff --git a/legacy/eina/src/lib/eina_accessor.c b/src/lib/eina/eina_accessor.c
index 994704dba9..994704dba9 100644
--- a/legacy/eina/src/lib/eina_accessor.c
+++ b/src/lib/eina/eina_accessor.c
diff --git a/legacy/eina/src/lib/eina_array.c b/src/lib/eina/eina_array.c
index 4bcab61a71..4bcab61a71 100644
--- a/legacy/eina/src/lib/eina_array.c
+++ b/src/lib/eina/eina_array.c
diff --git a/legacy/eina/src/lib/eina_benchmark.c b/src/lib/eina/eina_benchmark.c
index 1ba2a00fec..1ba2a00fec 100644
--- a/legacy/eina/src/lib/eina_benchmark.c
+++ b/src/lib/eina/eina_benchmark.c
diff --git a/legacy/eina/src/lib/eina_binbuf.c b/src/lib/eina/eina_binbuf.c
index 3cbebd1b2b..3cbebd1b2b 100644
--- a/legacy/eina/src/lib/eina_binbuf.c
+++ b/src/lib/eina/eina_binbuf.c
diff --git a/legacy/eina/src/lib/eina_binbuf_template_c.x b/src/lib/eina/eina_binbuf_template_c.x
index 7e0c539f9a..7e0c539f9a 100644
--- a/legacy/eina/src/lib/eina_binbuf_template_c.x
+++ b/src/lib/eina/eina_binbuf_template_c.x
diff --git a/legacy/eina/src/lib/eina_binshare.c b/src/lib/eina/eina_binshare.c
index 01e8046e01..01e8046e01 100644
--- a/legacy/eina/src/lib/eina_binshare.c
+++ b/src/lib/eina/eina_binshare.c
diff --git a/legacy/eina/src/lib/eina_convert.c b/src/lib/eina/eina_convert.c
index 7e397e0e6e..7e397e0e6e 100644
--- a/legacy/eina/src/lib/eina_convert.c
+++ b/src/lib/eina/eina_convert.c
diff --git a/legacy/eina/src/lib/eina_counter.c b/src/lib/eina/eina_counter.c
index 6ca94179c9..6ca94179c9 100644
--- a/legacy/eina/src/lib/eina_counter.c
+++ b/src/lib/eina/eina_counter.c
diff --git a/legacy/eina/src/lib/eina_cpu.c b/src/lib/eina/eina_cpu.c
index b5bb2cfc32..b5bb2cfc32 100644
--- a/legacy/eina/src/lib/eina_cpu.c
+++ b/src/lib/eina/eina_cpu.c
diff --git a/legacy/eina/src/lib/eina_error.c b/src/lib/eina/eina_error.c
index 428c4146b9..428c4146b9 100644
--- a/legacy/eina/src/lib/eina_error.c
+++ b/src/lib/eina/eina_error.c
diff --git a/legacy/eina/src/lib/eina_file.c b/src/lib/eina/eina_file.c
index d34f917b1b..d34f917b1b 100644
--- a/legacy/eina/src/lib/eina_file.c
+++ b/src/lib/eina/eina_file.c
diff --git a/legacy/eina/src/lib/eina_file_win32.c b/src/lib/eina/eina_file_win32.c
index c010963344..c010963344 100644
--- a/legacy/eina/src/lib/eina_file_win32.c
+++ b/src/lib/eina/eina_file_win32.c
diff --git a/legacy/eina/src/lib/eina_fp.c b/src/lib/eina/eina_fp.c
index ea1775c961..ea1775c961 100644
--- a/legacy/eina/src/lib/eina_fp.c
+++ b/src/lib/eina/eina_fp.c
diff --git a/legacy/eina/src/lib/eina_hamster.c b/src/lib/eina/eina_hamster.c
index cebc10b758..cebc10b758 100644
--- a/legacy/eina/src/lib/eina_hamster.c
+++ b/src/lib/eina/eina_hamster.c
diff --git a/legacy/eina/src/lib/eina_hash.c b/src/lib/eina/eina_hash.c
index 821d2254d6..821d2254d6 100644
--- a/legacy/eina/src/lib/eina_hash.c
+++ b/src/lib/eina/eina_hash.c
diff --git a/legacy/eina/src/lib/eina_inarray.c b/src/lib/eina/eina_inarray.c
index 1a127576e4..1a127576e4 100644
--- a/legacy/eina/src/lib/eina_inarray.c
+++ b/src/lib/eina/eina_inarray.c
diff --git a/legacy/eina/src/lib/eina_inlist.c b/src/lib/eina/eina_inlist.c
index c80f87b894..c80f87b894 100644
--- a/legacy/eina/src/lib/eina_inlist.c
+++ b/src/lib/eina/eina_inlist.c
diff --git a/legacy/eina/src/lib/eina_iterator.c b/src/lib/eina/eina_iterator.c
index d035873f73..d035873f73 100644
--- a/legacy/eina/src/lib/eina_iterator.c
+++ b/src/lib/eina/eina_iterator.c
diff --git a/legacy/eina/src/lib/eina_lalloc.c b/src/lib/eina/eina_lalloc.c
index b1e62b7420..b1e62b7420 100644
--- a/legacy/eina/src/lib/eina_lalloc.c
+++ b/src/lib/eina/eina_lalloc.c
diff --git a/legacy/eina/src/lib/eina_list.c b/src/lib/eina/eina_list.c
index 7ef219def9..7ef219def9 100644
--- a/legacy/eina/src/lib/eina_list.c
+++ b/src/lib/eina/eina_list.c
diff --git a/legacy/eina/src/lib/eina_log.c b/src/lib/eina/eina_log.c
index b9c8a9916e..b9c8a9916e 100644
--- a/legacy/eina/src/lib/eina_log.c
+++ b/src/lib/eina/eina_log.c
diff --git a/legacy/eina/src/lib/eina_magic.c b/src/lib/eina/eina_magic.c
index a42db2d643..a42db2d643 100644
--- a/legacy/eina/src/lib/eina_magic.c
+++ b/src/lib/eina/eina_magic.c
diff --git a/legacy/eina/src/lib/eina_main.c b/src/lib/eina/eina_main.c
index e6236b91f6..e6236b91f6 100644
--- a/legacy/eina/src/lib/eina_main.c
+++ b/src/lib/eina/eina_main.c
diff --git a/legacy/eina/src/lib/eina_matrixsparse.c b/src/lib/eina/eina_matrixsparse.c
index d287545136..d287545136 100644
--- a/legacy/eina/src/lib/eina_matrixsparse.c
+++ b/src/lib/eina/eina_matrixsparse.c
diff --git a/legacy/eina/src/lib/eina_mempool.c b/src/lib/eina/eina_mempool.c
index 385ea15928..385ea15928 100644
--- a/legacy/eina/src/lib/eina_mempool.c
+++ b/src/lib/eina/eina_mempool.c
diff --git a/legacy/eina/src/lib/eina_mmap.c b/src/lib/eina/eina_mmap.c
index b99a542939..b99a542939 100644
--- a/legacy/eina/src/lib/eina_mmap.c
+++ b/src/lib/eina/eina_mmap.c
diff --git a/legacy/eina/src/lib/eina_model.c b/src/lib/eina/eina_model.c
index 22ca71867e..22ca71867e 100644
--- a/legacy/eina/src/lib/eina_model.c
+++ b/src/lib/eina/eina_model.c
diff --git a/legacy/eina/src/lib/eina_module.c b/src/lib/eina/eina_module.c
index 736df0d33d..736df0d33d 100644
--- a/legacy/eina/src/lib/eina_module.c
+++ b/src/lib/eina/eina_module.c
diff --git a/legacy/eina/src/lib/eina_object.c b/src/lib/eina/eina_object.c
index f82aef39ba..f82aef39ba 100644
--- a/legacy/eina/src/lib/eina_object.c
+++ b/src/lib/eina/eina_object.c
diff --git a/legacy/eina/src/lib/eina_prefix.c b/src/lib/eina/eina_prefix.c
index c020a10cb1..c020a10cb1 100644
--- a/legacy/eina/src/lib/eina_prefix.c
+++ b/src/lib/eina/eina_prefix.c
diff --git a/legacy/eina/src/lib/eina_private.h b/src/lib/eina/eina_private.h
index 255959b120..255959b120 100644
--- a/legacy/eina/src/lib/eina_private.h
+++ b/src/lib/eina/eina_private.h
diff --git a/legacy/eina/src/lib/eina_quadtree.c b/src/lib/eina/eina_quadtree.c
index e163e6fe7a..e163e6fe7a 100644
--- a/legacy/eina/src/lib/eina_quadtree.c
+++ b/src/lib/eina/eina_quadtree.c
diff --git a/legacy/eina/src/lib/eina_rbtree.c b/src/lib/eina/eina_rbtree.c
index 394007f964..394007f964 100644
--- a/legacy/eina/src/lib/eina_rbtree.c
+++ b/src/lib/eina/eina_rbtree.c
diff --git a/legacy/eina/src/lib/eina_rectangle.c b/src/lib/eina/eina_rectangle.c
index 85cf310c2a..85cf310c2a 100644
--- a/legacy/eina/src/lib/eina_rectangle.c
+++ b/src/lib/eina/eina_rectangle.c
diff --git a/legacy/eina/src/lib/eina_safety_checks.c b/src/lib/eina/eina_safety_checks.c
index eed7c59ddc..eed7c59ddc 100644
--- a/legacy/eina/src/lib/eina_safety_checks.c
+++ b/src/lib/eina/eina_safety_checks.c
diff --git a/legacy/eina/src/lib/eina_sched.c b/src/lib/eina/eina_sched.c
index b8e70007b0..b8e70007b0 100644
--- a/legacy/eina/src/lib/eina_sched.c
+++ b/src/lib/eina/eina_sched.c
diff --git a/legacy/eina/src/lib/eina_share_common.c b/src/lib/eina/eina_share_common.c
index 776e429deb..776e429deb 100644
--- a/legacy/eina/src/lib/eina_share_common.c
+++ b/src/lib/eina/eina_share_common.c
diff --git a/legacy/eina/src/lib/eina_share_common.h b/src/lib/eina/eina_share_common.h
index 6bc11ef57b..6bc11ef57b 100644
--- a/legacy/eina/src/lib/eina_share_common.h
+++ b/src/lib/eina/eina_share_common.h
diff --git a/legacy/eina/src/lib/eina_simple_xml_parser.c b/src/lib/eina/eina_simple_xml_parser.c
index eeb5a96032..eeb5a96032 100644
--- a/legacy/eina/src/lib/eina_simple_xml_parser.c
+++ b/src/lib/eina/eina_simple_xml_parser.c
diff --git a/legacy/eina/src/lib/eina_str.c b/src/lib/eina/eina_str.c
index 9a1a369c3f..9a1a369c3f 100644
--- a/legacy/eina/src/lib/eina_str.c
+++ b/src/lib/eina/eina_str.c
diff --git a/legacy/eina/src/lib/eina_strbuf.c b/src/lib/eina/eina_strbuf.c
index 828d842455..828d842455 100644
--- a/legacy/eina/src/lib/eina_strbuf.c
+++ b/src/lib/eina/eina_strbuf.c
diff --git a/legacy/eina/src/lib/eina_strbuf_common.c b/src/lib/eina/eina_strbuf_common.c
index 64c2c14185..64c2c14185 100644
--- a/legacy/eina/src/lib/eina_strbuf_common.c
+++ b/src/lib/eina/eina_strbuf_common.c
diff --git a/legacy/eina/src/lib/eina_strbuf_common.h b/src/lib/eina/eina_strbuf_common.h
index 06a13533ff..06a13533ff 100644
--- a/legacy/eina/src/lib/eina_strbuf_common.h
+++ b/src/lib/eina/eina_strbuf_common.h
diff --git a/legacy/eina/src/lib/eina_strbuf_template_c.x b/src/lib/eina/eina_strbuf_template_c.x
index e8c3b617d3..e8c3b617d3 100644
--- a/legacy/eina/src/lib/eina_strbuf_template_c.x
+++ b/src/lib/eina/eina_strbuf_template_c.x
diff --git a/legacy/eina/src/lib/eina_stringshare.c b/src/lib/eina/eina_stringshare.c
index 0e6421458a..0e6421458a 100644
--- a/legacy/eina/src/lib/eina_stringshare.c
+++ b/src/lib/eina/eina_stringshare.c
diff --git a/legacy/eina/src/lib/eina_tiler.c b/src/lib/eina/eina_tiler.c
index b436ba6583..b436ba6583 100644
--- a/legacy/eina/src/lib/eina_tiler.c
+++ b/src/lib/eina/eina_tiler.c
diff --git a/legacy/eina/src/lib/eina_unicode.c b/src/lib/eina/eina_unicode.c
index 75059069c6..75059069c6 100644
--- a/legacy/eina/src/lib/eina_unicode.c
+++ b/src/lib/eina/eina_unicode.c
diff --git a/legacy/eina/src/lib/eina_ustrbuf.c b/src/lib/eina/eina_ustrbuf.c
index 7c1c2db246..7c1c2db246 100644
--- a/legacy/eina/src/lib/eina_ustrbuf.c
+++ b/src/lib/eina/eina_ustrbuf.c
diff --git a/legacy/eina/src/lib/eina_ustringshare.c b/src/lib/eina/eina_ustringshare.c
index 33be24216c..33be24216c 100644
--- a/legacy/eina/src/lib/eina_ustringshare.c
+++ b/src/lib/eina/eina_ustringshare.c
diff --git a/legacy/eina/src/lib/eina_value.c b/src/lib/eina/eina_value.c
index 9b132b7fe8..9b132b7fe8 100644
--- a/legacy/eina/src/lib/eina_value.c
+++ b/src/lib/eina/eina_value.c
diff --git a/legacy/eina/src/lib/eina_xattr.c b/src/lib/eina/eina_xattr.c
index d4ed13965f..d4ed13965f 100644
--- a/legacy/eina/src/lib/eina_xattr.c
+++ b/src/lib/eina/eina_xattr.c
diff --git a/src/modules/Makefile.am b/src/modules/Makefile.am
new file mode 100644
index 0000000000..b8f642fb72
--- /dev/null
+++ b/src/modules/Makefile.am
@@ -0,0 +1,3 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3SUBDIRS = eina
diff --git a/src/modules/eina/Makefile.am b/src/modules/eina/Makefile.am
new file mode 100644
index 0000000000..53e28b7bf9
--- /dev/null
+++ b/src/modules/eina/Makefile.am
@@ -0,0 +1,4 @@
1SUBDIRS = mp
2
3MAINTAINERCLEANFILES = \
4Makefile.in \ No newline at end of file
diff --git a/src/modules/eina/mp/Makefile.am b/src/modules/eina/mp/Makefile.am
new file mode 100644
index 0000000000..435d57a96a
--- /dev/null
+++ b/src/modules/eina/mp/Makefile.am
@@ -0,0 +1,45 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3SUBDIRS =
4
5if EINA_BUILD_BUDDY
6if !EINA_STATIC_BUILD_BUDDY
7SUBDIRS += buddy
8endif
9endif
10
11if EINA_BUILD_CHAINED_POOL
12if !EINA_STATIC_BUILD_CHAINED_POOL
13SUBDIRS += chained_pool
14endif
15endif
16
17if EINA_BUILD_EMEMOA_FIXED
18if !EINA_STATIC_BUILD_EMEMOA_FIXED
19SUBDIRS += ememoa_fixed
20endif
21endif
22
23if EINA_BUILD_EMEMOA_UNKNOWN
24if !EINA_STATIC_BUILD_EMEMOA_UNKNOWN
25SUBDIRS += ememoa_unknown
26endif
27endif
28
29if EINA_BUILD_FIXED_BITMAP
30if !EINA_STATIC_BUILD_FIXED_BITMAP
31SUBDIRS += fixed_bitmap
32endif
33endif
34
35if EINA_BUILD_ONE_BIG
36if !EINA_STATIC_BUILD_ONE_BIG
37SUBDIRS += one_big
38endif
39endif
40
41if EINA_BUILD_PASS_THROUGH
42if !EINA_STATIC_BUILD_PASS_THROUGH
43SUBDIRS += pass_through
44endif
45endif
diff --git a/src/modules/eina/mp/buddy/Makefile.am b/src/modules/eina/mp/buddy/Makefile.am
new file mode 100644
index 0000000000..e43db1aa87
--- /dev/null
+++ b/src/modules/eina/mp/buddy/Makefile.am
@@ -0,0 +1,27 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I. \
5-I$(top_srcdir)/src/include/eina \
6-I$(top_builddir)/src/include/eina \
7-I$(top_srcdir)/src/lib/eina \
8-I$(top_builddir)/src/lib/eina \
9@EFL_EINA_BUILD@
10
11controllerdir = $(libdir)/eina/modules/mp/buddy/$(MODULE_ARCH)
12controller_LTLIBRARIES = module.la
13
14module_la_SOURCES = eina_buddy.c
15
16module_la_CFLAGS = @EINA_CFLAGS@
17module_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LIBS@
18module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
19module_la_LIBTOOLFLAGS = --tag=disable-static
20
21install-data-hook:
22 rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES)
23uninstall-hook:
24 rm -f $(DESTDIR)$(controllerdir)/module.*
25
26clean-local:
27 rm -rf *.gcno
diff --git a/legacy/eina/src/modules/mp/buddy/eina_buddy.c b/src/modules/eina/mp/buddy/eina_buddy.c
index 7d830dbfbb..7d830dbfbb 100644
--- a/legacy/eina/src/modules/mp/buddy/eina_buddy.c
+++ b/src/modules/eina/mp/buddy/eina_buddy.c
diff --git a/src/modules/eina/mp/chained_pool/Makefile.am b/src/modules/eina/mp/chained_pool/Makefile.am
new file mode 100644
index 0000000000..4e93445815
--- /dev/null
+++ b/src/modules/eina/mp/chained_pool/Makefile.am
@@ -0,0 +1,28 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I. \
5-I$(top_srcdir)/src/include/eina \
6-I$(top_builddir)/src/include/eina \
7-I$(top_srcdir)/src/lib/eina \
8-I$(top_builddir)/src/lib/eina \
9@EFL_EINA_BUILD@ \
10@VALGRIND_CFLAGS@
11
12controllerdir = $(libdir)/eina/modules/mp/chained_pool/$(MODULE_ARCH)
13controller_LTLIBRARIES = module.la
14
15module_la_SOURCES = eina_chained_mempool.c
16
17module_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@
18module_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LIBS@
19module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EFL_PTHREAD_LIBS@
20module_la_LIBTOOLFLAGS = --tag=disable-static
21
22install-data-hook:
23 rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES)
24uninstall-hook:
25 rm -f $(DESTDIR)$(controllerdir)/module.*
26
27clean-local:
28 rm -rf *.gcno
diff --git a/legacy/eina/src/modules/mp/chained_pool/eina_chained_mempool.c b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
index e56df4cee6..e56df4cee6 100644
--- a/legacy/eina/src/modules/mp/chained_pool/eina_chained_mempool.c
+++ b/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
diff --git a/src/modules/eina/mp/ememoa_fixed/Makefile.am b/src/modules/eina/mp/ememoa_fixed/Makefile.am
new file mode 100644
index 0000000000..50a4115adf
--- /dev/null
+++ b/src/modules/eina/mp/ememoa_fixed/Makefile.am
@@ -0,0 +1,28 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I. \
5-I$(top_srcdir)/src/include/eina \
6-I$(top_builddir)/src/include/eina \
7-I$(top_srcdir)/src/lib/eina \
8-I$(top_builddir)/src/lib/eina \
9@EMEMOA_CFLAGS@ \
10@EFL_EINA_BUILD@
11
12controllerdir = $(libdir)/eina/modules/mp/ememoa_fixed/$(MODULE_ARCH)
13controller_LTLIBRARIES = module.la
14
15module_la_SOURCES = eina_ememoa_fixed.c
16
17module_la_CFLAGS = @EINA_CFLAGS@
18module_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la @EMEMOA_LIBS@ @EINA_LIBS@
19module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
20module_la_LIBTOOLFLAGS = --tag=disable-static
21
22install-data-hook:
23 rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES)
24uninstall-hook:
25 rm -f $(DESTDIR)$(controllerdir)/module.*
26
27clean-local:
28 rm -rf *.gcno
diff --git a/legacy/eina/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c b/src/modules/eina/mp/ememoa_fixed/eina_ememoa_fixed.c
index 0d02f80bbb..0d02f80bbb 100644
--- a/legacy/eina/src/modules/mp/ememoa_fixed/eina_ememoa_fixed.c
+++ b/src/modules/eina/mp/ememoa_fixed/eina_ememoa_fixed.c
diff --git a/src/modules/eina/mp/ememoa_unknown/Makefile.am b/src/modules/eina/mp/ememoa_unknown/Makefile.am
new file mode 100644
index 0000000000..9713137110
--- /dev/null
+++ b/src/modules/eina/mp/ememoa_unknown/Makefile.am
@@ -0,0 +1,28 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I. \
5-I$(top_srcdir)/src/include/eina \
6-I$(top_builddir)/src/include/eina \
7-I$(top_srcdir)/src/lib/eina \
8-I$(top_builddir)/src/lib/eina \
9@EMEMOA_CFLAGS@ \
10@EFL_EINA_BUILD@
11
12controllerdir = $(libdir)/eina/modules/mp/ememoa_unknown/$(MODULE_ARCH)
13controller_LTLIBRARIES = module.la
14
15module_la_SOURCES = eina_ememoa_unknown.c
16
17module_la_CFLAGS = @EINA_CFLAGS@
18module_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la @EMEMOA_LIBS@ @EINA_LIBS@
19module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
20module_la_LIBTOOLFLAGS = --tag=disable-static
21
22install-data-hook:
23 rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES)
24uninstall-hook:
25 rm -f $(DESTDIR)$(controllerdir)/module.*
26
27clean-local:
28 rm -rf *.gcno
diff --git a/legacy/eina/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c b/src/modules/eina/mp/ememoa_unknown/eina_ememoa_unknown.c
index 56b99f66c9..56b99f66c9 100644
--- a/legacy/eina/src/modules/mp/ememoa_unknown/eina_ememoa_unknown.c
+++ b/src/modules/eina/mp/ememoa_unknown/eina_ememoa_unknown.c
diff --git a/src/modules/eina/mp/fixed_bitmap/Makefile.am b/src/modules/eina/mp/fixed_bitmap/Makefile.am
new file mode 100644
index 0000000000..2143676008
--- /dev/null
+++ b/src/modules/eina/mp/fixed_bitmap/Makefile.am
@@ -0,0 +1,27 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I. \
5-I$(top_srcdir)/src/include/eina \
6-I$(top_builddir)/src/include/eina \
7-I$(top_srcdir)/src/lib/eina \
8-I$(top_builddir)/src/lib/eina \
9@EFL_EINA_BUILD@
10
11controllerdir = $(libdir)/eina/modules/mp/fixed_bitmap/$(MODULE_ARCH)
12controller_LTLIBRARIES = module.la
13
14module_la_SOURCES = eina_fixed_bitmap.c
15
16module_la_CFLAGS = @EINA_CFLAGS@
17module_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LIBS@
18module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
19module_la_LIBTOOLFLAGS = --tag=disable-static
20
21install-data-hook:
22 rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES)
23uninstall-hook:
24 rm -f $(DESTDIR)$(controllerdir)/module.*
25
26clean-local:
27 rm -rf *.gcno
diff --git a/legacy/eina/src/modules/mp/fixed_bitmap/eina_fixed_bitmap.c b/src/modules/eina/mp/fixed_bitmap/eina_fixed_bitmap.c
index e053e15790..e053e15790 100644
--- a/legacy/eina/src/modules/mp/fixed_bitmap/eina_fixed_bitmap.c
+++ b/src/modules/eina/mp/fixed_bitmap/eina_fixed_bitmap.c
diff --git a/src/modules/eina/mp/one_big/Makefile.am b/src/modules/eina/mp/one_big/Makefile.am
new file mode 100644
index 0000000000..6a5efa531e
--- /dev/null
+++ b/src/modules/eina/mp/one_big/Makefile.am
@@ -0,0 +1,28 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I. \
5-I$(top_srcdir)/src/include/eina \
6-I$(top_builddir)/src/include/eina \
7-I$(top_srcdir)/src/lib/eina \
8-I$(top_builddir)/src/lib/eina \
9@EFL_EINA_BUILD@ \
10@VALGRIND_CFLAGS@
11
12controllerdir = $(libdir)/eina/modules/mp/one_big/$(MODULE_ARCH)
13controller_LTLIBRARIES = module.la
14
15module_la_SOURCES = eina_one_big.c
16
17module_la_CFLAGS = @EINA_CFLAGS@ @EFL_PTHREAD_CFLAGS@
18module_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LIBS@
19module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version @EFL_PTHREAD_LIBS@
20module_la_LIBTOOLFLAGS = --tag=disable-static
21
22install-data-hook:
23 rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES)
24uninstall-hook:
25 rm -f $(DESTDIR)$(controllerdir)/module.*
26
27clean-local:
28 rm -rf *.gcno
diff --git a/legacy/eina/src/modules/mp/one_big/eina_one_big.c b/src/modules/eina/mp/one_big/eina_one_big.c
index 1159378dee..1159378dee 100644
--- a/legacy/eina/src/modules/mp/one_big/eina_one_big.c
+++ b/src/modules/eina/mp/one_big/eina_one_big.c
diff --git a/src/modules/eina/mp/pass_through/Makefile.am b/src/modules/eina/mp/pass_through/Makefile.am
new file mode 100644
index 0000000000..6d5f1687ee
--- /dev/null
+++ b/src/modules/eina/mp/pass_through/Makefile.am
@@ -0,0 +1,27 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3AM_CPPFLAGS = \
4-I. \
5-I$(top_srcdir)/src/include/eina \
6-I$(top_builddir)/src/include/eina \
7-I$(top_srcdir)/src/lib/eina \
8-I$(top_builddir)/src/lib/eina \
9@EFL_EINA_BUILD@
10
11controllerdir = $(libdir)//eina/modules/mp/pass_through/$(MODULE_ARCH)
12controller_LTLIBRARIES = module.la
13
14module_la_SOURCES = eina_pass_through.c
15
16module_la_CFLAGS = @EINA_CFLAGS@
17module_la_LIBADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LIBS@
18module_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
19module_la_LIBTOOLFLAGS = --tag=disable-static
20
21install-data-hook:
22 rm -f $(DESTDIR)$(controllerdir)/$(controller_LTLIBRARIES)
23uninstall-hook:
24 rm -f $(DESTDIR)$(controllerdir)/module.*
25
26clean-local:
27 rm -rf *.gcno
diff --git a/legacy/eina/src/modules/mp/pass_through/eina_pass_through.c b/src/modules/eina/mp/pass_through/eina_pass_through.c
index 196868ecba..196868ecba 100644
--- a/legacy/eina/src/modules/mp/pass_through/eina_pass_through.c
+++ b/src/modules/eina/mp/pass_through/eina_pass_through.c
diff --git a/src/scripts/Makefile.am b/src/scripts/Makefile.am
new file mode 100644
index 0000000000..b8f642fb72
--- /dev/null
+++ b/src/scripts/Makefile.am
@@ -0,0 +1,3 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3SUBDIRS = eina
diff --git a/src/scripts/eina/Makefile.am b/src/scripts/eina/Makefile.am
new file mode 100644
index 0000000000..6b150a3dad
--- /dev/null
+++ b/src/scripts/eina/Makefile.am
@@ -0,0 +1,5 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3bin_SCRIPTS = eina-bench-cmp
4
5EXTRA_DIST = $(bin_SCRIPTS)
diff --git a/legacy/eina/src/scripts/eina-bench-cmp b/src/scripts/eina/eina-bench-cmp
index 6ff2b508ac..6ff2b508ac 100755
--- a/legacy/eina/src/scripts/eina-bench-cmp
+++ b/src/scripts/eina/eina-bench-cmp
diff --git a/legacy/eina/src/tests/Ecore_Data.h b/src/tests/eina/Ecore_Data.h
index 50d42f1fe2..50d42f1fe2 100644
--- a/legacy/eina/src/tests/Ecore_Data.h
+++ b/src/tests/eina/Ecore_Data.h
diff --git a/legacy/eina/src/tests/Evas_Data.h b/src/tests/eina/Evas_Data.h
index 97848927b0..97848927b0 100644
--- a/legacy/eina/src/tests/Evas_Data.h
+++ b/src/tests/eina/Evas_Data.h
diff --git a/src/tests/eina/Makefile.am b/src/tests/eina/Makefile.am
new file mode 100644
index 0000000000..f6810e22c7
--- /dev/null
+++ b/src/tests/eina/Makefile.am
@@ -0,0 +1,142 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3benchdir = $(bindir)
4
5AM_CPPFLAGS = \
6-I$(top_srcdir)/src/lib \
7-I$(top_srcdir)/src/include \
8-I$(top_builddir)/src/include \
9-I$(top_builddir)/src/lib \
10-DPACKAGE_BIN_DIR=\"$(bindir)\" \
11-DPACKAGE_LIB_DIR=\"$(libdir)\" \
12-DPACKAGE_DATA_DIR=\"$(datadir)/$(PACKAGE)\" \
13-DPACKAGE_BUILD_DIR=\"`pwd`/$(top_builddir)\" \
14@CHECK_CFLAGS@ \
15@EINA_CFLAGS@ \
16@GLIB_CFLAGS@
17
18if EINA_HAVE_GLIB
19
20AM_CPPFLAGS += -DEINA_BENCH_HAVE_GLIB
21
22endif
23
24if EINA_ENABLE_BENCHMARK_E17
25
26AM_CPPFLAGS += -DEINA_ENABLE_BENCH_E17
27
28endif
29
30if EFL_ENABLE_TESTS
31
32check_PROGRAMS = eina_suite cxx_compile_test
33
34eina_suite_SOURCES = \
35eina_suite.c \
36eina_test_fp.c \
37eina_test_stringshare.c \
38eina_test_ustringshare.c\
39eina_test_ustr.c \
40eina_test_binshare.c \
41eina_test_binbuf.c \
42eina_test_inarray.c \
43eina_test_array.c \
44eina_test_clist.c \
45eina_test_error.c \
46eina_test_sched.c \
47eina_test_log.c \
48eina_test_magic.c \
49eina_test_inlist.c \
50eina_test_main.c \
51eina_test_counter.c \
52eina_test_lalloc.c \
53eina_test_hash.c \
54eina_test_iterator.c \
55eina_test_accessor.c \
56eina_test_module.c \
57eina_test_convert.c \
58eina_test_rbtree.c \
59eina_test_file.c \
60eina_test_benchmark.c \
61eina_test_mempool.c \
62eina_test_rectangle.c \
63eina_test_list.c \
64eina_test_matrixsparse.c \
65eina_test_tiler.c \
66eina_test_strbuf.c \
67eina_test_str.c \
68eina_test_quadtree.c \
69eina_test_simple_xml_parser.c \
70eina_test_value.c
71# eina_test_model.c
72
73eina_suite_LDADD = @CHECK_LIBS@ $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ -lm
74
75cxx_compile_test_SOURCES = cxx_compile_test.cxx
76cxx_compile_test_LDADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@
77
78module_dummydir = $(libdir)/eina/test
79module_dummy_LTLIBRARIES = module_dummy.la
80
81module_dummy_la_SOURCES = \
82eina_test_module_dummy.c
83
84module_dummy_la_CPPFLAGS = \
85-I$(top_srcdir)/src/lib \
86-I$(top_srcdir)/src/include \
87-I$(top_builddir)/src/include \
88-I$(top_builddir)/src/lib \
89@EFL_EINA_BUILD@
90module_dummy_la_LIBADD = $(top_builddir)/src/lib/libeina.la @EINA_LIBS@ -lm
91module_dummy_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -module -avoid-version
92module_dummy_la_LIBTOOLFLAGS = --tag=disable-static
93
94endif
95
96if EFL_ENABLE_BENCHMARK
97
98bench_PROGRAMS = eina_bench
99
100eina_bench_SOURCES = \
101eina_bench.c \
102eina_bench_sort.c \
103eina_bench_hash.c \
104eina_bench_stringshare.c \
105eina_bench_convert.c \
106eina_bench_mempool.c \
107eina_bench_stringshare_e17.c \
108eina_bench_array.c \
109eina_bench_rectangle_pool.c \
110ecore_list.c \
111ecore_strings.c \
112ecore_hash.c \
113ecore_sheap.c \
114evas_hash.c \
115evas_list.c \
116evas_mempool.c \
117evas_object_list.c \
118evas_stringshare.c \
119eina_bench_quad.c \
120eina_bench.h \
121eina_suite.h \
122Ecore_Data.h \
123Evas_Data.h \
124evas_mempool.h
125
126if CITYHASH_BENCH
127noinst_LTLIBRARIES = libcity.la
128libcity_la_SOURCES = city.cc
129
130nodist_EXTRA_eina_bench_SOURCES = dummy.cc
131eina_bench_LDADD = @GLIB_LIBS@ $(top_builddir)/src/lib/libeina.la libcity.la @EINA_LIBS@
132else
133eina_bench_LDADD = @GLIB_LIBS@ $(top_builddir)/src/lib/libeina.la @EINA_LIBS@
134
135endif
136
137endif
138
139EXTRA_DIST = strlog
140
141clean-local:
142 rm -rf *.gcno ..\#..\#src\#*.gcov *.gcda
diff --git a/legacy/eina/src/tests/city.cc b/src/tests/eina/city.cc
index 36ff93b4e5..36ff93b4e5 100644
--- a/legacy/eina/src/tests/city.cc
+++ b/src/tests/eina/city.cc
diff --git a/legacy/eina/src/tests/city.h b/src/tests/eina/city.h
index a9c297fee7..a9c297fee7 100644
--- a/legacy/eina/src/tests/city.h
+++ b/src/tests/eina/city.h
diff --git a/legacy/eina/src/tests/cxx_compile_test.cxx b/src/tests/eina/cxx_compile_test.cxx
index 7d8af769bc..7d8af769bc 100644
--- a/legacy/eina/src/tests/cxx_compile_test.cxx
+++ b/src/tests/eina/cxx_compile_test.cxx
diff --git a/legacy/eina/src/tests/ecore_hash.c b/src/tests/eina/ecore_hash.c
index f957d529cd..f957d529cd 100644
--- a/legacy/eina/src/tests/ecore_hash.c
+++ b/src/tests/eina/ecore_hash.c
diff --git a/legacy/eina/src/tests/ecore_list.c b/src/tests/eina/ecore_list.c
index 7da44178b0..7da44178b0 100644
--- a/legacy/eina/src/tests/ecore_list.c
+++ b/src/tests/eina/ecore_list.c
diff --git a/legacy/eina/src/tests/ecore_sheap.c b/src/tests/eina/ecore_sheap.c
index 448be97918..448be97918 100644
--- a/legacy/eina/src/tests/ecore_sheap.c
+++ b/src/tests/eina/ecore_sheap.c
diff --git a/legacy/eina/src/tests/ecore_strings.c b/src/tests/eina/ecore_strings.c
index d76e4c5f5e..d76e4c5f5e 100644
--- a/legacy/eina/src/tests/ecore_strings.c
+++ b/src/tests/eina/ecore_strings.c
diff --git a/legacy/eina/src/tests/eina_bench.c b/src/tests/eina/eina_bench.c
index 03aaaf9417..03aaaf9417 100644
--- a/legacy/eina/src/tests/eina_bench.c
+++ b/src/tests/eina/eina_bench.c
diff --git a/legacy/eina/src/tests/eina_bench.h b/src/tests/eina/eina_bench.h
index d575822b54..d575822b54 100644
--- a/legacy/eina/src/tests/eina_bench.h
+++ b/src/tests/eina/eina_bench.h
diff --git a/legacy/eina/src/tests/eina_bench_array.c b/src/tests/eina/eina_bench_array.c
index 425eddd94c..425eddd94c 100644
--- a/legacy/eina/src/tests/eina_bench_array.c
+++ b/src/tests/eina/eina_bench_array.c
diff --git a/legacy/eina/src/tests/eina_bench_convert.c b/src/tests/eina/eina_bench_convert.c
index aafe9ea3ba..aafe9ea3ba 100644
--- a/legacy/eina/src/tests/eina_bench_convert.c
+++ b/src/tests/eina/eina_bench_convert.c
diff --git a/legacy/eina/src/tests/eina_bench_hash.c b/src/tests/eina/eina_bench_hash.c
index 0429097c70..0429097c70 100644
--- a/legacy/eina/src/tests/eina_bench_hash.c
+++ b/src/tests/eina/eina_bench_hash.c
diff --git a/legacy/eina/src/tests/eina_bench_mempool.c b/src/tests/eina/eina_bench_mempool.c
index d7e2c62ade..d7e2c62ade 100644
--- a/legacy/eina/src/tests/eina_bench_mempool.c
+++ b/src/tests/eina/eina_bench_mempool.c
diff --git a/legacy/eina/src/tests/eina_bench_quad.c b/src/tests/eina/eina_bench_quad.c
index 8401fd4768..8401fd4768 100644
--- a/legacy/eina/src/tests/eina_bench_quad.c
+++ b/src/tests/eina/eina_bench_quad.c
diff --git a/legacy/eina/src/tests/eina_bench_rectangle_pool.c b/src/tests/eina/eina_bench_rectangle_pool.c
index 96d4b1bf0a..96d4b1bf0a 100644
--- a/legacy/eina/src/tests/eina_bench_rectangle_pool.c
+++ b/src/tests/eina/eina_bench_rectangle_pool.c
diff --git a/legacy/eina/src/tests/eina_bench_sort.c b/src/tests/eina/eina_bench_sort.c
index c3c9d9ff95..c3c9d9ff95 100644
--- a/legacy/eina/src/tests/eina_bench_sort.c
+++ b/src/tests/eina/eina_bench_sort.c
diff --git a/legacy/eina/src/tests/eina_bench_stringshare.c b/src/tests/eina/eina_bench_stringshare.c
index 22d18fa485..22d18fa485 100644
--- a/legacy/eina/src/tests/eina_bench_stringshare.c
+++ b/src/tests/eina/eina_bench_stringshare.c
diff --git a/legacy/eina/src/tests/eina_bench_stringshare_e17.c b/src/tests/eina/eina_bench_stringshare_e17.c
index 6ab0a807ea..6ab0a807ea 100644
--- a/legacy/eina/src/tests/eina_bench_stringshare_e17.c
+++ b/src/tests/eina/eina_bench_stringshare_e17.c
diff --git a/legacy/eina/src/tests/eina_suite.c b/src/tests/eina/eina_suite.c
index d69cd47083..d69cd47083 100644
--- a/legacy/eina/src/tests/eina_suite.c
+++ b/src/tests/eina/eina_suite.c
diff --git a/legacy/eina/src/tests/eina_suite.h b/src/tests/eina/eina_suite.h
index d399298128..d399298128 100644
--- a/legacy/eina/src/tests/eina_suite.h
+++ b/src/tests/eina/eina_suite.h
diff --git a/legacy/eina/src/tests/eina_test_accessor.c b/src/tests/eina/eina_test_accessor.c
index 3c85ef037c..3c85ef037c 100644
--- a/legacy/eina/src/tests/eina_test_accessor.c
+++ b/src/tests/eina/eina_test_accessor.c
diff --git a/legacy/eina/src/tests/eina_test_array.c b/src/tests/eina/eina_test_array.c
index 1929601834..1929601834 100644
--- a/legacy/eina/src/tests/eina_test_array.c
+++ b/src/tests/eina/eina_test_array.c
diff --git a/legacy/eina/src/tests/eina_test_benchmark.c b/src/tests/eina/eina_test_benchmark.c
index 4352c1622b..4352c1622b 100644
--- a/legacy/eina/src/tests/eina_test_benchmark.c
+++ b/src/tests/eina/eina_test_benchmark.c
diff --git a/legacy/eina/src/tests/eina_test_binbuf.c b/src/tests/eina/eina_test_binbuf.c
index d62072ebab..d62072ebab 100644
--- a/legacy/eina/src/tests/eina_test_binbuf.c
+++ b/src/tests/eina/eina_test_binbuf.c
diff --git a/legacy/eina/src/tests/eina_test_binshare.c b/src/tests/eina/eina_test_binshare.c
index b2e77ae55f..b2e77ae55f 100644
--- a/legacy/eina/src/tests/eina_test_binshare.c
+++ b/src/tests/eina/eina_test_binshare.c
diff --git a/legacy/eina/src/tests/eina_test_clist.c b/src/tests/eina/eina_test_clist.c
index 115afc233e..115afc233e 100644
--- a/legacy/eina/src/tests/eina_test_clist.c
+++ b/src/tests/eina/eina_test_clist.c
diff --git a/legacy/eina/src/tests/eina_test_convert.c b/src/tests/eina/eina_test_convert.c
index 8e7f58c26a..8e7f58c26a 100644
--- a/legacy/eina/src/tests/eina_test_convert.c
+++ b/src/tests/eina/eina_test_convert.c
diff --git a/legacy/eina/src/tests/eina_test_counter.c b/src/tests/eina/eina_test_counter.c
index 4d956fd353..4d956fd353 100644
--- a/legacy/eina/src/tests/eina_test_counter.c
+++ b/src/tests/eina/eina_test_counter.c
diff --git a/legacy/eina/src/tests/eina_test_error.c b/src/tests/eina/eina_test_error.c
index 57f69504cc..57f69504cc 100644
--- a/legacy/eina/src/tests/eina_test_error.c
+++ b/src/tests/eina/eina_test_error.c
diff --git a/legacy/eina/src/tests/eina_test_file.c b/src/tests/eina/eina_test_file.c
index a3ba998693..a3ba998693 100644
--- a/legacy/eina/src/tests/eina_test_file.c
+++ b/src/tests/eina/eina_test_file.c
diff --git a/legacy/eina/src/tests/eina_test_fp.c b/src/tests/eina/eina_test_fp.c
index bdb31000aa..bdb31000aa 100644
--- a/legacy/eina/src/tests/eina_test_fp.c
+++ b/src/tests/eina/eina_test_fp.c
diff --git a/legacy/eina/src/tests/eina_test_hash.c b/src/tests/eina/eina_test_hash.c
index aeeb655e7b..aeeb655e7b 100644
--- a/legacy/eina/src/tests/eina_test_hash.c
+++ b/src/tests/eina/eina_test_hash.c
diff --git a/legacy/eina/src/tests/eina_test_inarray.c b/src/tests/eina/eina_test_inarray.c
index 5f33f4710c..5f33f4710c 100644
--- a/legacy/eina/src/tests/eina_test_inarray.c
+++ b/src/tests/eina/eina_test_inarray.c
diff --git a/legacy/eina/src/tests/eina_test_inlist.c b/src/tests/eina/eina_test_inlist.c
index a8631e7080..a8631e7080 100644
--- a/legacy/eina/src/tests/eina_test_inlist.c
+++ b/src/tests/eina/eina_test_inlist.c
diff --git a/legacy/eina/src/tests/eina_test_iterator.c b/src/tests/eina/eina_test_iterator.c
index 84bb336933..84bb336933 100644
--- a/legacy/eina/src/tests/eina_test_iterator.c
+++ b/src/tests/eina/eina_test_iterator.c
diff --git a/legacy/eina/src/tests/eina_test_lalloc.c b/src/tests/eina/eina_test_lalloc.c
index 13fd6078a8..13fd6078a8 100644
--- a/legacy/eina/src/tests/eina_test_lalloc.c
+++ b/src/tests/eina/eina_test_lalloc.c
diff --git a/legacy/eina/src/tests/eina_test_list.c b/src/tests/eina/eina_test_list.c
index 0f48688a53..0f48688a53 100644
--- a/legacy/eina/src/tests/eina_test_list.c
+++ b/src/tests/eina/eina_test_list.c
diff --git a/legacy/eina/src/tests/eina_test_log.c b/src/tests/eina/eina_test_log.c
index e0f0363b9a..e0f0363b9a 100644
--- a/legacy/eina/src/tests/eina_test_log.c
+++ b/src/tests/eina/eina_test_log.c
diff --git a/legacy/eina/src/tests/eina_test_magic.c b/src/tests/eina/eina_test_magic.c
index d0a374e77c..d0a374e77c 100644
--- a/legacy/eina/src/tests/eina_test_magic.c
+++ b/src/tests/eina/eina_test_magic.c
diff --git a/legacy/eina/src/tests/eina_test_main.c b/src/tests/eina/eina_test_main.c
index 04364a15a2..04364a15a2 100644
--- a/legacy/eina/src/tests/eina_test_main.c
+++ b/src/tests/eina/eina_test_main.c
diff --git a/legacy/eina/src/tests/eina_test_matrixsparse.c b/src/tests/eina/eina_test_matrixsparse.c
index e07b1eead7..e07b1eead7 100644
--- a/legacy/eina/src/tests/eina_test_matrixsparse.c
+++ b/src/tests/eina/eina_test_matrixsparse.c
diff --git a/legacy/eina/src/tests/eina_test_mempool.c b/src/tests/eina/eina_test_mempool.c
index 7106afa943..7106afa943 100644
--- a/legacy/eina/src/tests/eina_test_mempool.c
+++ b/src/tests/eina/eina_test_mempool.c
diff --git a/legacy/eina/src/tests/eina_test_model.c b/src/tests/eina/eina_test_model.c
index 54a22581b0..54a22581b0 100644
--- a/legacy/eina/src/tests/eina_test_model.c
+++ b/src/tests/eina/eina_test_model.c
diff --git a/legacy/eina/src/tests/eina_test_module.c b/src/tests/eina/eina_test_module.c
index 56bdca7bc0..56bdca7bc0 100644
--- a/legacy/eina/src/tests/eina_test_module.c
+++ b/src/tests/eina/eina_test_module.c
diff --git a/legacy/eina/src/tests/eina_test_module_dummy.c b/src/tests/eina/eina_test_module_dummy.c
index d42b530f74..d42b530f74 100644
--- a/legacy/eina/src/tests/eina_test_module_dummy.c
+++ b/src/tests/eina/eina_test_module_dummy.c
diff --git a/legacy/eina/src/tests/eina_test_quadtree.c b/src/tests/eina/eina_test_quadtree.c
index 52faeec3cc..52faeec3cc 100644
--- a/legacy/eina/src/tests/eina_test_quadtree.c
+++ b/src/tests/eina/eina_test_quadtree.c
diff --git a/legacy/eina/src/tests/eina_test_rbtree.c b/src/tests/eina/eina_test_rbtree.c
index fabe2bfd2a..fabe2bfd2a 100644
--- a/legacy/eina/src/tests/eina_test_rbtree.c
+++ b/src/tests/eina/eina_test_rbtree.c
diff --git a/legacy/eina/src/tests/eina_test_rectangle.c b/src/tests/eina/eina_test_rectangle.c
index 581ab7613d..581ab7613d 100644
--- a/legacy/eina/src/tests/eina_test_rectangle.c
+++ b/src/tests/eina/eina_test_rectangle.c
diff --git a/legacy/eina/src/tests/eina_test_sched.c b/src/tests/eina/eina_test_sched.c
index ff83a7efcb..ff83a7efcb 100644
--- a/legacy/eina/src/tests/eina_test_sched.c
+++ b/src/tests/eina/eina_test_sched.c
diff --git a/legacy/eina/src/tests/eina_test_simple_xml_parser.c b/src/tests/eina/eina_test_simple_xml_parser.c
index 7093019e3f..7093019e3f 100644
--- a/legacy/eina/src/tests/eina_test_simple_xml_parser.c
+++ b/src/tests/eina/eina_test_simple_xml_parser.c
diff --git a/legacy/eina/src/tests/eina_test_str.c b/src/tests/eina/eina_test_str.c
index 7fefc26d76..7fefc26d76 100644
--- a/legacy/eina/src/tests/eina_test_str.c
+++ b/src/tests/eina/eina_test_str.c
diff --git a/legacy/eina/src/tests/eina_test_strbuf.c b/src/tests/eina/eina_test_strbuf.c
index 2205e3e53f..2205e3e53f 100644
--- a/legacy/eina/src/tests/eina_test_strbuf.c
+++ b/src/tests/eina/eina_test_strbuf.c
diff --git a/legacy/eina/src/tests/eina_test_stringshare.c b/src/tests/eina/eina_test_stringshare.c
index 0d34aec31c..0d34aec31c 100644
--- a/legacy/eina/src/tests/eina_test_stringshare.c
+++ b/src/tests/eina/eina_test_stringshare.c
diff --git a/legacy/eina/src/tests/eina_test_tiler.c b/src/tests/eina/eina_test_tiler.c
index f1ef8f0682..f1ef8f0682 100644
--- a/legacy/eina/src/tests/eina_test_tiler.c
+++ b/src/tests/eina/eina_test_tiler.c
diff --git a/legacy/eina/src/tests/eina_test_ustr.c b/src/tests/eina/eina_test_ustr.c
index 75126cc6f9..75126cc6f9 100644
--- a/legacy/eina/src/tests/eina_test_ustr.c
+++ b/src/tests/eina/eina_test_ustr.c
diff --git a/legacy/eina/src/tests/eina_test_ustringshare.c b/src/tests/eina/eina_test_ustringshare.c
index 1b1ffb262d..1b1ffb262d 100644
--- a/legacy/eina/src/tests/eina_test_ustringshare.c
+++ b/src/tests/eina/eina_test_ustringshare.c
diff --git a/legacy/eina/src/tests/eina_test_value.c b/src/tests/eina/eina_test_value.c
index 68ef5ec0c6..68ef5ec0c6 100644
--- a/legacy/eina/src/tests/eina_test_value.c
+++ b/src/tests/eina/eina_test_value.c
diff --git a/legacy/eina/src/tests/evas_hash.c b/src/tests/eina/evas_hash.c
index 33615afa78..33615afa78 100644
--- a/legacy/eina/src/tests/evas_hash.c
+++ b/src/tests/eina/evas_hash.c
diff --git a/legacy/eina/src/tests/evas_list.c b/src/tests/eina/evas_list.c
index 3df15eda87..3df15eda87 100644
--- a/legacy/eina/src/tests/evas_list.c
+++ b/src/tests/eina/evas_list.c
diff --git a/legacy/eina/src/tests/evas_mempool.c b/src/tests/eina/evas_mempool.c
index 7098214647..7098214647 100644
--- a/legacy/eina/src/tests/evas_mempool.c
+++ b/src/tests/eina/evas_mempool.c
diff --git a/legacy/eina/src/tests/evas_mempool.h b/src/tests/eina/evas_mempool.h
index 983c4346b1..983c4346b1 100644
--- a/legacy/eina/src/tests/evas_mempool.h
+++ b/src/tests/eina/evas_mempool.h
diff --git a/legacy/eina/src/tests/evas_object_list.c b/src/tests/eina/evas_object_list.c
index 8ba426771e..8ba426771e 100644
--- a/legacy/eina/src/tests/evas_object_list.c
+++ b/src/tests/eina/evas_object_list.c
diff --git a/legacy/eina/src/tests/evas_stringshare.c b/src/tests/eina/evas_stringshare.c
index 6e8797ca01..6e8797ca01 100644
--- a/legacy/eina/src/tests/evas_stringshare.c
+++ b/src/tests/eina/evas_stringshare.c
diff --git a/legacy/eina/src/tests/sample.gpx b/src/tests/eina/sample.gpx
index 713ec7df65..713ec7df65 100644
--- a/legacy/eina/src/tests/sample.gpx
+++ b/src/tests/eina/sample.gpx
diff --git a/legacy/eina/src/tests/strlog b/src/tests/eina/strlog
index d9fc2af190..d9fc2af190 100644
--- a/legacy/eina/src/tests/strlog
+++ b/src/tests/eina/strlog