stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=c55625aec47dc208619d9fad509b095ae5f724cb

commit c55625aec47dc208619d9fad509b095ae5f724cb
Author: Stefan Schmidt <ste...@osg.samsung.com>
Date:   Mon Mar 7 23:48:57 2016 +0100

    Revert "eina: rely on GNU make to find file at their correct location."
    
    This reverts commit e26fcbb1dc588c5130e477bf832c59386b1c1951.
    
    This reverts one of three parts of the try to get sub directory
    compilation back into eina. It breaks our distcheck though and I
    talked to Cedric about it and he prefers to revert these as we might
    need to go another route to bring this functionality back. Details
    will come to the mailing list.
---
 src/Makefile_Eina.am          |   2 -
 src/lib/eina/Makefile.am      |   5 +-
 src/lib/eina/Makefile_File.am | 323 +++++++++++++++++++++---------------------
 3 files changed, 164 insertions(+), 166 deletions(-)

diff --git a/src/Makefile_Eina.am b/src/Makefile_Eina.am
index 11e22c4..31162e5 100644
--- a/src/Makefile_Eina.am
+++ b/src/Makefile_Eina.am
@@ -9,8 +9,6 @@ dist_installed_einamainheaders_DATA = \
 lib/eina/Eina.h \
 lib/eina/eina_config.h
 
-installed_einaheadersdir = $(includedir)/eina-@VMAJ@/eina
-dist_installed_einaheaders_DATA = $(EINA_H)
 lib_eina_libeina_la_SOURCES = $(EINA_S)
 
 EINA_MODULE_COMMON_CFLAGS = \
diff --git a/src/lib/eina/Makefile.am b/src/lib/eina/Makefile.am
index 01e06ec..ee789b1 100644
--- a/src/lib/eina/Makefile.am
+++ b/src/lib/eina/Makefile.am
@@ -6,10 +6,7 @@ include Makefile_File.am
 
 lib_LTLIBRARIES = libeina.la
 
-installed_einaheadersdir = $(includedir)/eina-@VMAJ@/eina
-dist_installed_einaheaders_DATA = $(notdir $(EINA_H))
-
-libeina_la_SOURCES = $(notdir $(EINA_S))
+libeina_la_SOURCES = $(EINA_S)
 libeina_la_CPPFLAGS = $(EINA_FLAGS)
 libeina_la_LIBADD = @EINA_LIBS@ @UNWIND_LIBS@
 libeina_la_DEPENDENCIES = @EINA_INTERNAL_LIBS@
diff --git a/src/lib/eina/Makefile_File.am b/src/lib/eina/Makefile_File.am
index c89daeb..b47bcbd 100644
--- a/src/lib/eina/Makefile_File.am
+++ b/src/lib/eina/Makefile_File.am
@@ -7,178 +7,181 @@ EINA_FLAGS = -I$(top_builddir)/src/lib/efl \
 @VALGRIND_CFLAGS@
 
 EINA_H = \
-lib/eina/eina_safety_checks.h \
-lib/eina/eina_error.h \
-lib/eina/eina_log.h \
-lib/eina/eina_inline_log.x \
-lib/eina/eina_fp.h \
-lib/eina/eina_inline_f32p32.x \
-lib/eina/eina_inline_f16p16.x \
-lib/eina/eina_inline_f8p24.x \
-lib/eina/eina_inline_fp.x \
-lib/eina/eina_hash.h \
-lib/eina/eina_inline_hash.x \
-lib/eina/eina_lalloc.h \
-lib/eina/eina_clist.h \
-lib/eina/eina_inline_clist.x \
-lib/eina/eina_inarray.h \
-lib/eina/eina_inlist.h \
-lib/eina/eina_inline_inlist.x \
-lib/eina/eina_list.h \
-lib/eina/eina_file.h \
-lib/eina/eina_inline_file.x \
-lib/eina/eina_mempool.h \
-lib/eina/eina_module.h \
-lib/eina/eina_rectangle.h \
-lib/eina/eina_types.h \
-lib/eina/eina_array.h \
-lib/eina/eina_counter.h \
-lib/eina/eina_inline_array.x \
-lib/eina/eina_magic.h \
-lib/eina/eina_stringshare.h \
-lib/eina/eina_binshare.h \
-lib/eina/eina_binbuf.h \
-lib/eina/eina_ustringshare.h \
-lib/eina/eina_inline_stringshare.x \
-lib/eina/eina_inline_ustringshare.x \
-lib/eina/eina_inline_list.x \
-lib/eina/eina_accessor.h \
-lib/eina/eina_convert.h \
-lib/eina/eina_rbtree.h \
-lib/eina/eina_benchmark.h \
-lib/eina/eina_inline_rbtree.x \
-lib/eina/eina_inline_mempool.x \
-lib/eina/eina_inline_rectangle.x \
-lib/eina/eina_inline_trash.x \
-lib/eina/eina_thread.h \
-lib/eina/eina_trash.h \
-lib/eina/eina_iterator.h \
-lib/eina/eina_main.h \
-lib/eina/eina_cpu.h \
-lib/eina/eina_inline_cpu.x \
-lib/eina/eina_sched.h \
-lib/eina/eina_tiler.h \
-lib/eina/eina_hamster.h \
-lib/eina/eina_matrixsparse.h \
-lib/eina/eina_inline_tiler.x \
-lib/eina/eina_str.h \
-lib/eina/eina_inline_str.x \
-lib/eina/eina_strbuf.h \
-lib/eina/eina_ustrbuf.h \
-lib/eina/eina_unicode.h \
-lib/eina/eina_quadtree.h \
-lib/eina/eina_simple_xml_parser.h \
-lib/eina/eina_lock.h \
-lib/eina/eina_prefix.h \
-lib/eina/eina_refcount.h \
-lib/eina/eina_mmap.h \
-lib/eina/eina_xattr.h \
-lib/eina/eina_value.h \
-lib/eina/eina_inline_value.x \
-lib/eina/eina_value_util.h \
-lib/eina/eina_inline_value_util.x \
-lib/eina/eina_inline_lock_barrier.x \
-lib/eina/eina_inline_lock_posix.x \
-lib/eina/eina_tmpstr.h \
-lib/eina/eina_alloca.h \
-lib/eina/eina_cow.h \
-lib/eina/eina_inline_unicode.x \
-lib/eina/eina_thread_queue.h \
-lib/eina/eina_matrix.h \
-lib/eina/eina_quad.h \
-lib/eina/eina_crc.h \
-lib/eina/eina_inline_crc.x \
-lib/eina/eina_evlog.h \
-lib/eina/eina_util.h \
-lib/eina/eina_quaternion.h \
-lib/eina/eina_vector.h \
-lib/eina/eina_inline_vector.x \
-lib/eina/eina_bezier.h
+$(top_srcdir)/src/lib/eina/eina_safety_checks.h \
+$(top_srcdir)/src/lib/eina/eina_error.h \
+$(top_srcdir)/src/lib/eina/eina_log.h \
+$(top_srcdir)/src/lib/eina/eina_inline_log.x \
+$(top_srcdir)/src/lib/eina/eina_fp.h \
+$(top_srcdir)/src/lib/eina/eina_inline_f32p32.x \
+$(top_srcdir)/src/lib/eina/eina_inline_f16p16.x \
+$(top_srcdir)/src/lib/eina/eina_inline_f8p24.x \
+$(top_srcdir)/src/lib/eina/eina_inline_fp.x \
+$(top_srcdir)/src/lib/eina/eina_hash.h \
+$(top_srcdir)/src/lib/eina/eina_inline_hash.x \
+$(top_srcdir)/src/lib/eina/eina_lalloc.h \
+$(top_srcdir)/src/lib/eina/eina_clist.h \
+$(top_srcdir)/src/lib/eina/eina_inline_clist.x \
+$(top_srcdir)/src/lib/eina/eina_inarray.h \
+$(top_srcdir)/src/lib/eina/eina_inlist.h \
+$(top_srcdir)/src/lib/eina/eina_inline_inlist.x \
+$(top_srcdir)/src/lib/eina/eina_list.h \
+$(top_srcdir)/src/lib/eina/eina_file.h \
+$(top_srcdir)/src/lib/eina/eina_inline_file.x \
+$(top_srcdir)/src/lib/eina/eina_mempool.h \
+$(top_srcdir)/src/lib/eina/eina_module.h \
+$(top_srcdir)/src/lib/eina/eina_rectangle.h \
+$(top_srcdir)/src/lib/eina/eina_types.h \
+$(top_srcdir)/src/lib/eina/eina_array.h \
+$(top_srcdir)/src/lib/eina/eina_counter.h \
+$(top_srcdir)/src/lib/eina/eina_inline_array.x \
+$(top_srcdir)/src/lib/eina/eina_magic.h \
+$(top_srcdir)/src/lib/eina/eina_stringshare.h \
+$(top_srcdir)/src/lib/eina/eina_binshare.h \
+$(top_srcdir)/src/lib/eina/eina_binbuf.h \
+$(top_srcdir)/src/lib/eina/eina_ustringshare.h \
+$(top_srcdir)/src/lib/eina/eina_inline_stringshare.x \
+$(top_srcdir)/src/lib/eina/eina_inline_ustringshare.x \
+$(top_srcdir)/src/lib/eina/eina_inline_list.x \
+$(top_srcdir)/src/lib/eina/eina_accessor.h \
+$(top_srcdir)/src/lib/eina/eina_convert.h \
+$(top_srcdir)/src/lib/eina/eina_rbtree.h \
+$(top_srcdir)/src/lib/eina/eina_benchmark.h \
+$(top_srcdir)/src/lib/eina/eina_inline_rbtree.x \
+$(top_srcdir)/src/lib/eina/eina_inline_mempool.x \
+$(top_srcdir)/src/lib/eina/eina_inline_rectangle.x \
+$(top_srcdir)/src/lib/eina/eina_inline_trash.x \
+$(top_srcdir)/src/lib/eina/eina_thread.h \
+$(top_srcdir)/src/lib/eina/eina_trash.h \
+$(top_srcdir)/src/lib/eina/eina_iterator.h \
+$(top_srcdir)/src/lib/eina/eina_main.h \
+$(top_srcdir)/src/lib/eina/eina_cpu.h \
+$(top_srcdir)/src/lib/eina/eina_inline_cpu.x \
+$(top_srcdir)/src/lib/eina/eina_sched.h \
+$(top_srcdir)/src/lib/eina/eina_tiler.h \
+$(top_srcdir)/src/lib/eina/eina_hamster.h \
+$(top_srcdir)/src/lib/eina/eina_matrixsparse.h \
+$(top_srcdir)/src/lib/eina/eina_inline_tiler.x \
+$(top_srcdir)/src/lib/eina/eina_str.h \
+$(top_srcdir)/src/lib/eina/eina_inline_str.x \
+$(top_srcdir)/src/lib/eina/eina_strbuf.h \
+$(top_srcdir)/src/lib/eina/eina_ustrbuf.h \
+$(top_srcdir)/src/lib/eina/eina_unicode.h \
+$(top_srcdir)/src/lib/eina/eina_quadtree.h \
+$(top_srcdir)/src/lib/eina/eina_simple_xml_parser.h \
+$(top_srcdir)/src/lib/eina/eina_lock.h \
+$(top_srcdir)/src/lib/eina/eina_prefix.h \
+$(top_srcdir)/src/lib/eina/eina_refcount.h \
+$(top_srcdir)/src/lib/eina/eina_mmap.h \
+$(top_srcdir)/src/lib/eina/eina_xattr.h \
+$(top_srcdir)/src/lib/eina/eina_value.h \
+$(top_srcdir)/src/lib/eina/eina_inline_value.x \
+$(top_srcdir)/src/lib/eina/eina_value_util.h \
+$(top_srcdir)/src/lib/eina/eina_inline_value_util.x \
+$(top_srcdir)/src/lib/eina/eina_inline_lock_barrier.x \
+$(top_srcdir)/src/lib/eina/eina_inline_lock_posix.x \
+$(top_srcdir)/src/lib/eina/eina_tmpstr.h \
+$(top_srcdir)/src/lib/eina/eina_alloca.h \
+$(top_srcdir)/src/lib/eina/eina_cow.h \
+$(top_srcdir)/src/lib/eina/eina_inline_unicode.x \
+$(top_srcdir)/src/lib/eina/eina_thread_queue.h \
+$(top_srcdir)/src/lib/eina/eina_matrix.h \
+$(top_srcdir)/src/lib/eina/eina_quad.h \
+$(top_srcdir)/src/lib/eina/eina_crc.h \
+$(top_srcdir)/src/lib/eina/eina_inline_crc.x \
+$(top_srcdir)/src/lib/eina/eina_evlog.h \
+$(top_srcdir)/src/lib/eina/eina_util.h \
+$(top_srcdir)/src/lib/eina/eina_quaternion.h \
+$(top_srcdir)/src/lib/eina/eina_vector.h \
+$(top_srcdir)/src/lib/eina/eina_inline_vector.x \
+$(top_srcdir)/src/lib/eina/eina_bezier.h
 
 EINA_S = \
-lib/eina/eina_abi.c \
-lib/eina/eina_accessor.c \
-lib/eina/eina_array.c \
-lib/eina/eina_benchmark.c \
-lib/eina/eina_binbuf.c \
-lib/eina/eina_binshare.c \
-lib/eina/eina_convert.c \
-lib/eina/eina_counter.c \
-lib/eina/eina_cow.c \
-lib/eina/eina_cpu.c \
-lib/eina/eina_crc.c \
-lib/eina/eina_debug.c \
-lib/eina/eina_debug_bt.c \
-lib/eina/eina_debug_bt_file.c \
-lib/eina/eina_debug_chunk.c \
-lib/eina/eina_debug_monitor.c \
-lib/eina/eina_debug_proto.c \
-lib/eina/eina_debug_thread.c \
-lib/eina/eina_error.c \
-lib/eina/eina_evlog.c \
-lib/eina/eina_file_common.h \
-lib/eina/eina_file_common.c \
-lib/eina/eina_fp.c \
-lib/eina/eina_hamster.c \
-lib/eina/eina_hash.c \
-lib/eina/eina_inarray.c \
-lib/eina/eina_inlist.c \
-lib/eina/eina_iterator.c \
-lib/eina/eina_lalloc.c \
-lib/eina/eina_list.c \
-lib/eina/eina_log.c \
-lib/eina/eina_magic.c \
-lib/eina/eina_main.c \
-lib/eina/eina_matrix.c \
-lib/eina/eina_matrixsparse.c \
-lib/eina/eina_mempool.c \
-lib/eina/eina_mmap.c \
-lib/eina/eina_module.c \
-lib/eina/eina_prefix.c \
-lib/eina/eina_quad.c \
-lib/eina/eina_quadtree.c \
-lib/eina/eina_rbtree.c \
-lib/eina/eina_rectangle.c \
-lib/eina/eina_safety_checks.c \
-lib/eina/eina_sched.c \
-lib/eina/eina_share_common.c \
-lib/eina/eina_simple_xml_parser.c \
-lib/eina/eina_str.c \
-lib/eina/eina_strbuf.c \
-lib/eina/eina_strbuf_common.c \
-lib/eina/eina_stringshare.c \
-lib/eina/eina_thread.c \
-lib/eina/eina_thread_queue.c \
-lib/eina/eina_tiler.c \
-lib/eina/eina_tmpstr.c \
-lib/eina/eina_unicode.c \
-lib/eina/eina_ustrbuf.c \
-lib/eina/eina_ustringshare.c \
-lib/eina/eina_util.c \
-lib/eina/eina_value.c \
-lib/eina/eina_value_util.c \
-lib/eina/eina_xattr.c \
-lib/eina/eina_debug.h \
-lib/eina/eina_private.h \
-lib/eina/eina_share_common.h \
-lib/eina/eina_strbuf_common.h \
-lib/eina/eina_quaternion.c \
-lib/eina/eina_bezier.c
+$(top_srcdir)/src/lib/eina/eina_abi.c \
+$(top_srcdir)/src/lib/eina/eina_accessor.c \
+$(top_srcdir)/src/lib/eina/eina_array.c \
+$(top_srcdir)/src/lib/eina/eina_benchmark.c \
+$(top_srcdir)/src/lib/eina/eina_binbuf.c \
+$(top_srcdir)/src/lib/eina/eina_binshare.c \
+$(top_srcdir)/src/lib/eina/eina_convert.c \
+$(top_srcdir)/src/lib/eina/eina_counter.c \
+$(top_srcdir)/src/lib/eina/eina_cow.c \
+$(top_srcdir)/src/lib/eina/eina_cpu.c \
+$(top_srcdir)/src/lib/eina/eina_crc.c \
+$(top_srcdir)/src/lib/eina/eina_debug.c \
+$(top_srcdir)/src/lib/eina/eina_debug_bt.c \
+$(top_srcdir)/src/lib/eina/eina_debug_bt_file.c \
+$(top_srcdir)/src/lib/eina/eina_debug_chunk.c \
+$(top_srcdir)/src/lib/eina/eina_debug_monitor.c \
+$(top_srcdir)/src/lib/eina/eina_debug_proto.c \
+$(top_srcdir)/src/lib/eina/eina_debug_thread.c \
+$(top_srcdir)/src/lib/eina/eina_error.c \
+$(top_srcdir)/src/lib/eina/eina_evlog.c \
+$(top_srcdir)/src/lib/eina/eina_file_common.h \
+$(top_srcdir)/src/lib/eina/eina_file_common.c \
+$(top_srcdir)/src/lib/eina/eina_fp.c \
+$(top_srcdir)/src/lib/eina/eina_hamster.c \
+$(top_srcdir)/src/lib/eina/eina_hash.c \
+$(top_srcdir)/src/lib/eina/eina_inarray.c \
+$(top_srcdir)/src/lib/eina/eina_inlist.c \
+$(top_srcdir)/src/lib/eina/eina_iterator.c \
+$(top_srcdir)/src/lib/eina/eina_lalloc.c \
+$(top_srcdir)/src/lib/eina/eina_list.c \
+$(top_srcdir)/src/lib/eina/eina_log.c \
+$(top_srcdir)/src/lib/eina/eina_magic.c \
+$(top_srcdir)/src/lib/eina/eina_main.c \
+$(top_srcdir)/src/lib/eina/eina_matrix.c \
+$(top_srcdir)/src/lib/eina/eina_matrixsparse.c \
+$(top_srcdir)/src/lib/eina/eina_mempool.c \
+$(top_srcdir)/src/lib/eina/eina_mmap.c \
+$(top_srcdir)/src/lib/eina/eina_module.c \
+$(top_srcdir)/src/lib/eina/eina_prefix.c \
+$(top_srcdir)/src/lib/eina/eina_quad.c \
+$(top_srcdir)/src/lib/eina/eina_quadtree.c \
+$(top_srcdir)/src/lib/eina/eina_rbtree.c \
+$(top_srcdir)/src/lib/eina/eina_rectangle.c \
+$(top_srcdir)/src/lib/eina/eina_safety_checks.c \
+$(top_srcdir)/src/lib/eina/eina_sched.c \
+$(top_srcdir)/src/lib/eina/eina_share_common.c \
+$(top_srcdir)/src/lib/eina/eina_simple_xml_parser.c \
+$(top_srcdir)/src/lib/eina/eina_str.c \
+$(top_srcdir)/src/lib/eina/eina_strbuf.c \
+$(top_srcdir)/src/lib/eina/eina_strbuf_common.c \
+$(top_srcdir)/src/lib/eina/eina_stringshare.c \
+$(top_srcdir)/src/lib/eina/eina_thread.c \
+$(top_srcdir)/src/lib/eina/eina_thread_queue.c \
+$(top_srcdir)/src/lib/eina/eina_tiler.c \
+$(top_srcdir)/src/lib/eina/eina_tmpstr.c \
+$(top_srcdir)/src/lib/eina/eina_unicode.c \
+$(top_srcdir)/src/lib/eina/eina_ustrbuf.c \
+$(top_srcdir)/src/lib/eina/eina_ustringshare.c \
+$(top_srcdir)/src/lib/eina/eina_util.c \
+$(top_srcdir)/src/lib/eina/eina_value.c \
+$(top_srcdir)/src/lib/eina/eina_value_util.c \
+$(top_srcdir)/src/lib/eina/eina_xattr.c \
+$(top_srcdir)/src/lib/eina/eina_debug.h \
+$(top_srcdir)/src/lib/eina/eina_private.h \
+$(top_srcdir)/src/lib/eina/eina_share_common.h \
+$(top_srcdir)/src/lib/eina/eina_strbuf_common.h \
+$(top_srcdir)/src/lib/eina/eina_quaternion.c \
+$(top_srcdir)/src/lib/eina/eina_bezier.c
 
 if HAVE_WIN32
-EINA_S += lib/eina/eina_file_win32.c
+EINA_S += $(top_srcdir)/src/lib/eina/eina_file_win32.c
 else
-EINA_S += lib/eina/eina_file.c
+EINA_S += $(top_srcdir)/src/lib/eina/eina_file.c
 endif
 
 if EINA_STATIC_BUILD_CHAINED_POOL
-EINA_S += modules/eina/mp/chained_pool/eina_chained_mempool.c
+EINA_S += $(top_srcdir)/src/modules/eina/mp/chained_pool/eina_chained_mempool.c
 endif
 
 if EINA_STATIC_BUILD_ONE_BIG
-EINA_S += modules/eina/mp/one_big/eina_one_big.c
+EINA_S += $(top_srcdir)/src/modules/eina/mp/one_big/eina_one_big.c
 endif
 
 if EINA_STATIC_BUILD_PASS_THROUGH
-EINA_S += modules/eina/mp/pass_through/eina_pass_through.c
+EINA_S += $(top_srcdir)/src/modules/eina/mp/pass_through/eina_pass_through.c
 endif
+
+installed_einaheadersdir = $(includedir)/eina-@VMAJ@/eina
+dist_installed_einaheaders_DATA = $(EINA_H)

-- 


Reply via email to