aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile_Eolian_Cxx_Helper.am
diff options
context:
space:
mode:
authorSavio Sena <savio@expertisesolutions.com.br>2014-05-09 17:51:39 -0300
committerSavio Sena <savio@expertisesolutions.com.br>2014-07-21 20:53:12 -0300
commitcd4d2867242c31c1fec2dfb56187c28710b2bb81 (patch)
treecdc81c0bc2b786fa489175a716d074b8e6906446 /Makefile_Eolian_Cxx_Helper.am
parentFixes order of typedefs (diff)
downloadelementary-cd4d2867242c31c1fec2dfb56187c28710b2bb81.tar.gz
autotools: Add eolian-cxx to elementary.
Conflicts: src/lib/Makefile.am
Diffstat (limited to 'Makefile_Eolian_Cxx_Helper.am')
-rw-r--r--Makefile_Eolian_Cxx_Helper.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile_Eolian_Cxx_Helper.am b/Makefile_Eolian_Cxx_Helper.am
new file mode 100644
index 000000000..12ac58e17
--- /dev/null
+++ b/Makefile_Eolian_Cxx_Helper.am
@@ -0,0 +1,19 @@
+
+if HAVE_EOLIAN_CXX
+EOLIAN_CXX = @eolian_cxx@
+_EOLIAN_CXX_DEP = @eolian_cxx@
+else
+EOLIAN_CXX = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/eolian_cxx/eolian_cxx${EXEEXT}
+_EOLIAN_CXX_DEP = bin/eolian_cxx/eolian_cxx${EXEEXT}
+endif
+
+AM_V_EOLCXX = $(am__v_EOLCXX_@AM_V@)
+am__v_EOLCXX_ = $(am__v_EOLCXX_@AM_DEFAULT_V@)
+am__v_EOLCXX_0 = @echo " EOLCXX " $@;
+
+SUFFIXES += .eo.hh
+
+%.eo.hh: %.eo $(_EOLIAN_CXX_DEP)
+ $(AM_V_EOLCXX)$(EOLIAN_CXX) $(EOLIAN_FLAGS) -o $@ $<
+
+CLEANFILES += $(BUILT_SOURCES)