From a3db1dddd3ba67c81118f7f2c0bc753dc8aac551 Mon Sep 17 00:00:00 2001 From: Felipe Magno de Almeida Date: Mon, 1 Sep 2014 15:08:49 -0300 Subject: efl-js: JavaScript Eolian binding MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To configure efl sources with bindings to use in nodejs add ––with-js=nodejs in configure flags to generate node files $ configure --with-js=nodejs and compile normally with: $ make $ make install To use, you have to require efl: efl = require('efl') The bindings is divided in two parts: generated and manually written. The generation uses the Eolian library for parsing Eo files and generate C++ code that is compiled against V8 interpreter library to create a efl.node file that can be required in a node.js instance. @feature --- src/Makefile_Ecore_Js.am | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/Makefile_Ecore_Js.am (limited to 'src/Makefile_Ecore_Js.am') diff --git a/src/Makefile_Ecore_Js.am b/src/Makefile_Ecore_Js.am new file mode 100644 index 0000000000..df5ac2f5b1 --- /dev/null +++ b/src/Makefile_Ecore_Js.am @@ -0,0 +1,19 @@ + +### Library + +if HAVE_JS +installed_ecorejsheadersdir = $(includedir)/ecore-js-@VMAJ@ +dist_installed_ecorejsheaders_DATA = \ +bindings/js/ecore_js/Ecore_Js.hh \ +bindings/js/ecore_js/ecore_js_init.hh \ +bindings/js/ecore_js/ecore_js_mainloop.hh \ +bindings/js/ecore_js/ecore_js_timer.hh \ +bindings/js/ecore_js/ecore_js_event.hh \ +bindings/js/ecore_js/ecore_js_job.hh \ +bindings/js/ecore_js/ecore_js_idle.hh \ +bindings/js/ecore_js/ecore_js_animator.hh \ +bindings/js/ecore_js/ecore_js_poller.hh \ +bindings/js/ecore_js/ecore_js_throttle.hh \ +bindings/js/ecore_js/ecore_js_file.hh +endif + -- cgit v1.2.1