summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile_Eolian_Helper.am24
-rw-r--r--configure.ac1
-rw-r--r--src/lib/Makefile.am2
3 files changed, 27 insertions, 0 deletions
diff --git a/Makefile_Eolian_Helper.am b/Makefile_Eolian_Helper.am
new file mode 100644
index 000000000..6106379c1
--- /dev/null
+++ b/Makefile_Eolian_Helper.am
@@ -0,0 +1,24 @@
1if HAVE_EOLIAN_GEN
2EOLIAN_GEN = @eolian_gen@
3_EOLIAN_GEN_DEP =
4else
5EOLIAN_GEN = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/eolian/eolian_gen${EXEEXT}
6_EOLIAN_GEN_DEP = bin/eolian/eolian_gen${EXEEXT}
7endif
8
9AM_V_EOL = $(am__v_EOL_@AM_V@)
10am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@)
11am__v_EOL_0 = @echo " EOLIAN " $@;
12
13SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h
14
15%.eo.c: %.eo ${_EOLIAN_GEN_DEP}
16 $(AM_V_EOL)$(EOLIAN_GEN) --eo1 --legacy $(EOLIAN_FLAGS) --gc -o $@ $<
17
18%.eo.h: %.eo ${_EOLIAN_GEN_DEP}
19 $(AM_V_EOL)$(EOLIAN_GEN) --eo1 $(EOLIAN_FLAGS) --gh -o $@ $<
20
21%.eo.legacy.h: %.eo ${_EOLIAN_GEN_DEP}
22 $(AM_V_EOL)$(EOLIAN_GEN) --legacy $(EOLIAN_FLAGS) --gh -o $@ $<
23
24CLEANFILES += $(BUILT_SOURCES)
diff --git a/configure.ac b/configure.ac
index 99d8e3b65..4a95272b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -649,6 +649,7 @@ AC_SUBST(requirement_elm)
649 649
650EFL_WITH_BIN([eet], [eet-eet], [eet]) 650EFL_WITH_BIN([eet], [eet-eet], [eet])
651EFL_WITH_BIN([edje], [edje-cc], [edje_cc]) 651EFL_WITH_BIN([edje], [edje-cc], [edje_cc])
652EFL_WITH_BIN([eolian], [eolian-codegen], [eolian_codegen])
652EFL_WITH_BIN([elementary], [elementary-codegen], [elementary_codegen]) 653EFL_WITH_BIN([elementary], [elementary-codegen], [elementary_codegen])
653EFL_WITH_BIN([elementary], [elm-prefs-cc], [elm_prefs_cc]) 654EFL_WITH_BIN([elementary], [elm-prefs-cc], [elm_prefs_cc])
654 655
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 1d046c4e5..9bea7ba6c 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -1,6 +1,8 @@
1AUTOMAKE_OPTIONS = 1.4 foreign 1AUTOMAKE_OPTIONS = 1.4 foreign
2MAINTAINERCLEANFILES = Makefile.in 2MAINTAINERCLEANFILES = Makefile.in
3 3
4include ../../Makefile_Eolian_Helper.am
5
4AM_CPPFLAGS = \ 6AM_CPPFLAGS = \
5-DELM_INTERNAL_API_ARGESFSDFEFC=1 \ 7-DELM_INTERNAL_API_ARGESFSDFEFC=1 \
6-DMODULES_PATH=\"$(libdir)/elementary/modules\" \ 8-DMODULES_PATH=\"$(libdir)/elementary/modules\" \