summaryrefslogtreecommitdiff
path: root/src/examples/efl_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-04-11 20:03:32 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2018-04-12 21:23:42 -0300
commit4214311a76bfd27774186b0a93882689d8bdbd4b (patch)
tree0ea69e7575ba483092fc4d18aff3408b6feb3da7 /src/examples/efl_mono
parent87c58a460a0f39477461ef93e6ce8b63f994c873 (diff)
examples: Improve efl_mono and eolian_cxx build
The examples were either not build or using repeated rules due to _EOLIAN_DEP_GEN not being set correctly was Makefile_Eolian_Helper.am assumes it being inclueded from src/, while each example folder has its own .am inside its folder.
Diffstat (limited to 'src/examples/efl_mono')
-rw-r--r--src/examples/efl_mono/Makefile.am12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/examples/efl_mono/Makefile.am b/src/examples/efl_mono/Makefile.am
index 3bd5308..7d3f02a 100644
--- a/src/examples/efl_mono/Makefile.am
+++ b/src/examples/efl_mono/Makefile.am
@@ -4,6 +4,11 @@ include $(top_srcdir)/src/Makefile_Eolian_Helper.am
4include $(top_srcdir)/src/Makefile_Eolian_Mono_Helper.am 4include $(top_srcdir)/src/Makefile_Eolian_Mono_Helper.am
5include $(top_srcdir)/src/Makefile_Efl_Mono_MSBuild_Gen_Helper.am 5include $(top_srcdir)/src/Makefile_Efl_Mono_MSBuild_Gen_Helper.am
6 6
7# Eolian_Files_Helper
8# Thus we need to override it here in order to make its pattern
9# rules work properly.
10_EOLIAN_GEN_DEP = ../../bin/eolian/eolian_gen${EXEEXT}
11
7SRCS = example_numberwrapper.c 12SRCS = example_numberwrapper.c
8EXTRA_FILES = example_numberwrapper.eo 13EXTRA_FILES = example_numberwrapper.eo
9EXTRA_PROGRAMS = 14EXTRA_PROGRAMS =
@@ -38,13 +43,6 @@ COMMON_FLAGS += \
38-fPIC -DPIC 43-fPIC -DPIC
39endif 44endif
40 45
41
42# %.eo.c: %.eo
43# $(AM_V_EOL)$(EOLIAN_GEN) $(EOLIAN_FLAGS) -gc -o c:$@ $<
44
45# %.eo.h: %.eo
46# $(AM_V_EOL)$(EOLIAN_GEN) $(EOLIAN_FLAGS) -gh -o h:$@ $<
47
48example_numberwrapper.c: example_numberwrapper.eo.h example_numberwrapper.eo.c 46example_numberwrapper.c: example_numberwrapper.eo.h example_numberwrapper.eo.c
49 47
50noinst_lib_LTLIBRARIES = libexample_numberwrapper.la 48noinst_lib_LTLIBRARIES = libexample_numberwrapper.la