jaehyun pushed a commit to branch master.

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

commit 663a5ec27ab67dacd9e4b439e8fcb8120c3240e7
Author: Jaehyun Cho <jae_hyun....@samsung.com>
Date:   Fri May 24 17:46:16 2019 +0900

    efl_mono: fix autogen make check error
    
    Previously, autogen make check error happened because
    some .eo.h files were not generated but were included in
    libefl_mono_native_test.h.
    
    Now, all .eo.c and .eo.h files are generated.
    Also CLEANFILES are fixed to include all the generated files.
---
 src/Makefile_Efl_Mono.am | 38 +++++++++++++++++++++-----------------
 1 file changed, 21 insertions(+), 17 deletions(-)

diff --git a/src/Makefile_Efl_Mono.am b/src/Makefile_Efl_Mono.am
index 5f6d0bbe2d..10ceb5040d 100644
--- a/src/Makefile_Efl_Mono.am
+++ b/src/Makefile_Efl_Mono.am
@@ -62,14 +62,17 @@ lib_efl_mono_libefl_mono_dll_sources = \
        $(efl_eina_mono_files) \
        $(efl_eldbus_mono_files)
 
-efl_mono_test_files = \
+efl_mono_test_eolian_files = \
        tests/efl_mono/dummy_test_object.eo \
        tests/efl_mono/dummy_test_iface.eo \
        tests/efl_mono/dummy_inherit_iface.eo \
        tests/efl_mono/dummy_inherit_helper.eo \
        tests/efl_mono/dummy_child.eo \
        tests/efl_mono/dummy_part_holder.eo \
-       tests/efl_mono/dummy_numberwrapper.eo \
+       tests/efl_mono/dummy_numberwrapper.eo
+
+efl_mono_test_files = \
+       $(efl_mono_test_eolian_files) \
        tests/efl_mono/mono_test_driver.sh
 
 EXTRA_DIST2 += \
@@ -398,6 +401,9 @@ tests_efl_mono_libefl_mono_native_test_la_SOURCES = \
        tests/efl_mono/dummy_part_holder.c \
        tests/efl_mono/dummy_test_object.c
 
+efl_mono_test_eolian_c = $(efl_mono_test_eolian_files:%.eo=%.eo.c)
+efl_mono_test_eolian_h = $(efl_mono_test_eolian_files:%.eo=%.eo.h)
+
 tests_efl_mono_libefl_mono_native_test_la_CPPFLAGS =  \
 -I$(builddir)/tests/efl_mono \
 @CHECK_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@ @ECORE_CFLAGS@ @ELDBUS_CFLAGS@
@@ -408,35 +414,33 @@ tests_efl_mono_libefl_mono_native_test_la_DEPENDENCIES = 
@USE_EINA_INTERNAL_LIBS
 tests_efl_mono_libefl_mono_native_test_la_LIBTOOLFLAGS = --tag=disable-static
 
 tests/efl_mono/dummy_child.c: \
-       tests/efl_mono/dummy_child.eo.c \
-       tests/efl_mono/dummy_child.eo.h \
+       $(efl_mono_test_eolian_c) \
+       $(efl_mono_test_eolian_h) \
        tests/efl_mono/libefl_mono_native_test.h
 
 tests/efl_mono/dummy_inherit_helper.c: \
-       tests/efl_mono/dummy_inherit_helper.eo.c \
-       tests/efl_mono/dummy_inherit_helper.eo.h \
+       $(efl_mono_test_eolian_c) \
+       $(efl_mono_test_eolian_h) \
        tests/efl_mono/libefl_mono_native_test.h
 
 tests/efl_mono/dummy_interfaces.c: \
-       tests/efl_mono/dummy_test_iface.eo.c \
-       tests/efl_mono/dummy_test_iface.eo.h \
-       tests/efl_mono/dummy_inherit_iface.eo.c \
-       tests/efl_mono/dummy_inherit_iface.eo.h \
+       $(efl_mono_test_eolian_c) \
+       $(efl_mono_test_eolian_h) \
        tests/efl_mono/libefl_mono_native_test.h
 
 tests/efl_mono/dummy_numberwrapper.c: \
-       tests/efl_mono/dummy_numberwrapper.eo.c \
-       tests/efl_mono/dummy_numberwrapper.eo.h \
+       $(efl_mono_test_eolian_c) \
+       $(efl_mono_test_eolian_h) \
        tests/efl_mono/libefl_mono_native_test.h
 
 tests/efl_mono/dummy_part_holder.c: \
-       tests/efl_mono/dummy_part_holder.eo.c \
-       tests/efl_mono/dummy_part_holder.eo.h \
+       $(efl_mono_test_eolian_c) \
+       $(efl_mono_test_eolian_h) \
        tests/efl_mono/libefl_mono_native_test.h
 
 tests/efl_mono/dummy_test_object.c: \
-       tests/efl_mono/dummy_test_object.eo.c \
-       tests/efl_mono/dummy_test_object.eo.h \
+       $(efl_mono_test_eolian_c) \
+       $(efl_mono_test_eolian_h) \
        tests/efl_mono/libefl_mono_native_test.h
 
 # Intermediate C Sharp test DLL
@@ -526,7 +530,7 @@ tests/efl_mono/%.eo.cs: tests/efl_mono/%.eo 
$(_EOLIAN_MONO_DEP)
        $(MKDIR_P) $(dir $@); \
        $(EOLIAN_MONO) $(EOLIAN_FLAGS) $(EOLIAN_MONO_FLAGS) --dllimport 
"@DLIB_PREFIX_MONO@efl_mono_native_test@DLIB_SUFFIX_MONO@" -o $@ $(ALL_EO_REFS) 
$<
 
-CLEANFILES += tests/efl_mono/libefl_mono_test.dll 
tests/efl_mono/dummy_test_object.eo.cs tests/efl_mono/dummy_child.eo.cs 
tests/efl_mono/dummy_numberwrapper.eo.cs tests/efl_mono/dummy_test_object.eo.c 
tests/efl_mono/dummy_child.eo.c tests/efl_mono/dummy_numberwrapper.eo.c 
tests/efl_mono/dummy_test_object.eo.h tests/efl_mono/dummy_child.eo.h 
tests/efl_mono/dummy_part_holder.eo.cs tests/efl_mono/dummy_part_holder.eo.c 
tests/efl_mono/dummy_part_holder.eo.h tests/efl_mono/dummy_numberwrapper [...]
+CLEANFILES += tests/efl_mono/libefl_mono_test.dll 
$(efl_mono_test_eolian_mono_files) $(efl_mono_test_eolian_c) 
$(efl_mono_test_eolian_h) tests/efl_mono/efl_mono.config
 
 endif
 

-- 


Reply via email to