summaryrefslogtreecommitdiff
path: root/src/Makefile_Edje.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2014-09-01 15:08:49 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2015-12-23 23:59:40 -0200
commita3db1dddd3ba67c81118f7f2c0bc753dc8aac551 (patch)
tree233ee1be7bfa299bff560207135d20940c4e411f /src/Makefile_Edje.am
parent1a3cb45f1cc7fdf8d481879e6bd7349d9cb0b3fa (diff)
efl-js: JavaScript Eolian binding
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
Diffstat (limited to 'src/Makefile_Edje.am')
-rw-r--r--src/Makefile_Edje.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index ca0eefc463..4fa0ecf09f 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -130,7 +130,7 @@ if HAVE_WIN32
130USE_EDJE_BIN_LIBS = -L$(top_builddir)/src/lib/evil @USE_EDJE_LIBS@ 130USE_EDJE_BIN_LIBS = -L$(top_builddir)/src/lib/evil @USE_EDJE_LIBS@
131else 131else
132USE_EDJE_BIN_LIBS = @USE_EDJE_LIBS@ 132USE_EDJE_BIN_LIBS = @USE_EDJE_LIBS@
133endif 133endif
134 134
135bin_PROGRAMS += \ 135bin_PROGRAMS += \
136bin/edje/edje_cc \ 136bin/edje/edje_cc \
@@ -334,3 +334,13 @@ installed_edjeluadir = $(datadir)/elua/modules/edje
334nodist_installed_edjelua_DATA = $(generated_edje_lua_all) 334nodist_installed_edjelua_DATA = $(generated_edje_lua_all)
335 335
336endif 336endif
337
338if HAVE_JS
339
340generated_edje_js_bindings = $(edje_eolian_files:%.eo=%.eo.js.cc)
341
342CLEANFILES += $(generated_edje_js_bindings)
343
344GENERATED_JS_BINDINGS += $(generated_edje_js_bindings)
345
346endif