aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Efl_Mono.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-12-11 12:06:54 -0200
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2017-12-11 14:45:57 -0200
commitff9293827f0770d9af54b2008a74fde6e083d383 (patch)
tree30c1ac0a82655b1d50981e9047302f18f517cb60 /src/Makefile_Efl_Mono.am
parentefl_loop: we are creating there efl classes (diff)
downloadefl-ff9293827f0770d9af54b2008a74fde6e083d383.tar.gz
efl-mono: Fix automake files in C# binding search with buggy mono version
Diffstat (limited to 'src/Makefile_Efl_Mono.am')
-rw-r--r--src/Makefile_Efl_Mono.am25
1 files changed, 16 insertions, 9 deletions
diff --git a/src/Makefile_Efl_Mono.am b/src/Makefile_Efl_Mono.am
index 7b90e1834f..adbf893233 100644
--- a/src/Makefile_Efl_Mono.am
+++ b/src/Makefile_Efl_Mono.am
@@ -180,8 +180,8 @@ lib_efl_mono_libefl_mono_dll_SOURCES = \
$(efl_eldbus_mono_files) \
$(efl_ecore_evas_mono_files)
-lib/efl_mono/libefl_mono.dll$(EXEEXT): $(lib_efl_mono_libefl_mono_dll_SOURCES) lib/efl_mono/$(am__dirstamp) $(efl_eolian_mono_files)
- @rm -f lib/efl_mono/libefl_mono.dll$(EXEEXT)
+lib/efl_mono/libefl_mono.dll: $(lib_efl_mono_libefl_mono_dll_SOURCES) lib/efl_mono/$(am__dirstamp) $(efl_eolian_mono_files) lib/efl_mono/libefl_mono.dll.config
+ @rm -f lib/efl_mono/libefl_mono.dll
$(AM_V_MCS) $(MCS) $(MCS_FLAGS) -out:$@ -t:library $(filter %.cs, $(^))
### MSBuild
@@ -319,9 +319,9 @@ tests/efl_mono/libefl_mono_native_test.c: tests/efl_mono/test_testing.eo.h tests
efl_mono_test_eolian_mono_files = tests/efl_mono/test_testing.eo.cs \
tests/efl_mono/test_numberwrapper.eo.cs
-tests/efl_mono/libefl_mono_test.dll$(EXEEXT): $(efl_mono_test_eolian_mono_files) tests/efl_mono/$(am__dirstamp) lib/efl_mono/libefl_mono.dll$(EXEEXT) tests/efl_mono/libefl_mono_native_test.la
- @rm -f tests/efl_mono/libefl_mono_test.dll$(EXEEXT)
- $(AM_V_MCS) $(MCS) $(MCS_FLAGS) -r:$(abs_builddir)/lib/efl_mono/libefl_mono.dll$(EXEEXT) -out:$@ -t:library $(filter %.cs, $(^))
+tests/efl_mono/libefl_mono_test.dll: $(efl_mono_test_eolian_mono_files) tests/efl_mono/$(am__dirstamp) lib/efl_mono/libefl_mono.dll tests/efl_mono/libefl_mono_native_test.la
+ @rm -f tests/efl_mono/libefl_mono_test.dll
+ $(AM_V_MCS) $(MCS) $(MCS_FLAGS) -r:$(abs_builddir)/lib/efl_mono/libefl_mono.dll -out:$@ -t:library $(filter %.cs, $(^))
# C Sharp test executable
AM_TESTS_ENVIRONMENT += MONO='mono'; export MONO;
@@ -332,7 +332,6 @@ AM_TESTS_ENVIRONMENT += PATH='$(PATH):$(TEST_PATHS):$(WIN_ADD_TEST_PATHS)'; expo
else
AM_TESTS_ENVIRONMENT += LD_LIBRARY_PATH='$(LD_LIBRARY_PATH):$(TEST_PATHS)'; export LD_LIBRARY_PATH;
endif
-AM_TESTS_ENVIRONMENT += EXEEXT='$(EXEEXT)'; export EXEEXT;
check_PROGRAMS += tests/efl_mono/efl_mono.exe
TESTS += tests/efl_mono/mono_test_driver.sh
@@ -351,9 +350,17 @@ tests_efl_mono_efl_mono_exe_SOURCES = \
tests/efl_mono/Value.cs \
tests/efl_mono/ValueEolian.cs
-tests/efl_mono/efl_mono.exe$(EXEEXT): $(tests_efl_mono_efl_mono_exe_SOURCES) tests/efl_mono/$(am__dirstamp) lib/efl_mono/libefl_mono.dll$(EXEEXT) tests/efl_mono/libefl_mono_test.dll$(EXEEXT)
- @rm -f tests/efl_mono/efl_mono_exe$(EXEEXT)
- $(AM_V_MCS) $(MCS) $(MCS_FLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll$(EXEEXT) -r:$(abs_top_builddir)/src/tests/efl_mono/libefl_mono_test.dll$(EXEEXT) -out:$@ $(filter %.cs, $(^))
+lib/efl_mono/libefl_mono.dll.config:
+ echo "<configuration>" > $@
+ echo " <dllmap dll=\"eina\" target=\"/home/felipe/dev/samsung/upstream/efl/build/src/lib/eina/.libs/libeina.so\"/>" >> $@
+ echo " <dllmap dll=\"eo\" target=\"/home/felipe/dev/samsung/upstream/efl/build/src/lib/eo/.libs/libeo.so\"/>" >> $@
+ echo " <dllmap dll=\"evas\" target=\"/home/felipe/dev/samsung/upstream/efl/build/src/lib/evas/.libs/libevas.so\"/>" >> $@
+ echo " <dllmap dll=\"elementary\" target=\"/home/felipe/dev/samsung/upstream/efl/build/src/lib/elementary/.libs/libelementary.so\"/>" >> $@
+ echo "</configuration>" >> $@
+
+tests/efl_mono/efl_mono.exe: $(tests_efl_mono_efl_mono_exe_SOURCES) tests/efl_mono/$(am__dirstamp) lib/efl_mono/libefl_mono.dll tests/efl_mono/libefl_mono_test.dll
+ @rm -f tests/efl_mono/efl_mono_exe
+ $(AM_V_MCS) $(MCS) $(MCS_FLAGS) -r:$(abs_top_builddir)/src/lib/efl_mono/libefl_mono.dll -r:$(abs_top_builddir)/src/tests/efl_mono/libefl_mono_test.dll -out:$@ $(filter %.cs, $(^))
# Rule for generating the .cs files
tests/efl_mono/%.eo.cs: tests/efl_mono/%.eo $(_EOLIAN_MONO_DEP)