summaryrefslogtreecommitdiff
path: root/src/Makefile.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.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.am')
-rw-r--r--src/Makefile.am16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 6ac8dc7..248711b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,6 +15,7 @@ check_PROGRAMS =
15TESTS = 15TESTS =
16EXTRA_DIST = 16EXTRA_DIST =
17 17
18GENERATED_JS_BINDINGS =
18 19
19EFL_INSTALL_EXEC_HOOK= 20EFL_INSTALL_EXEC_HOOK=
20 21
@@ -76,6 +77,21 @@ include Makefile_Eio_Cxx.am
76include Makefile_Elua.am 77include Makefile_Elua.am
77include Makefile_Elocation.am 78include Makefile_Elocation.am
78 79
80if HAVE_JS
81AM_V_CP = $(am__v_CP_@AM_V@)
82am__v_CP_ = $(am__v_CP_@AM_DEFAULT_V@)
83am__v_CP_0 = @echo " CP " $@;
84CP = cp
85if EFL_ENABLE_TESTS
86if HAVE_NODEJS
87AM_TESTS_ENVIRONMENT = NODE_PATH='$(abs_builddir)/lib/efl_js:$(abs_builddir)/tests/eolian_js:$(abs_builddir)/tests/efl_js'; export NODE_PATH;
88endif
89endif
90endif
91
92include Makefile_Eolian_Js.am
93include Makefile_Efl_Js.am
94
79.PHONY: benchmark examples 95.PHONY: benchmark examples
80 96
81BENCHMARK_SUBDIRS = \ 97BENCHMARK_SUBDIRS = \