summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian_Js.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile_Eolian_Js.am')
-rw-r--r--src/Makefile_Eolian_Js.am138
1 files changed, 0 insertions, 138 deletions
diff --git a/src/Makefile_Eolian_Js.am b/src/Makefile_Eolian_Js.am
deleted file mode 100644
index 7e4e760..0000000
--- a/src/Makefile_Eolian_Js.am
+++ /dev/null
@@ -1,138 +0,0 @@
1
2if HAVE_JS
3
4### Binary
5bin_PROGRAMS += bin/eolian_js/eolian_js
6
7bin_eolian_js_eolian_js_SOURCES = \
8 bin/eolian_js/main.cc
9
10bin_eolian_js_eolian_js_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
11-I$(top_srcdir)/src/bin/eolian_js \
12-I$(top_srcdir)/src/bindings/js/eina_js \
13-I$(top_srcdir)/src/bindings/js/eo_js \
14@EOLIAN_JS_CFLAGS@ \
15@EINA_CXX_CFLAGS@ \
16@EO_CXX_CFLAGS@ \
17@EFL_CFLAGS@ \
18@ECORE_CXX_CFLAGS@ \
19@EOLIAN_CXX_CFLAGS@
20
21bin_eolian_js_eolian_js_LDADD = @USE_EO_LIBS@ @USE_EOLIAN_LIBS@
22bin_eolian_js_eolian_js_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@ @USE_EOLIAN_INTERNAL_LIBS@
23
24# generate C++ bindings before compiling C++ files for JS binding
25if HAVE_AM_16
26bin/eolian_js/eolian_js-main.$(OBJEXT): $(efl_eolian_cxx_hh) $(efl_eolian_cxx_impl_hh)
27else
28bin/eolian_js/bin_eolian_js_eolian_js-main.$(OBJEXT): $(efl_eolian_cxx_hh) $(efl_eolian_cxx_impl_hh)
29endif
30include Makefile_Eolian_Js_Helper.am
31
32### Unit tests
33
34if EFL_ENABLE_TESTS
35if HAVE_NODEJS
36
37TESTS += tests/eolian_js/eolian_js_suite.sh
38
39check_LTLIBRARIES += tests/eolian_js/libeolian_js_suite.la
40
41tests/eolian_js/eolian_js_suite.sh: tests/eolian_js/eolian_js_suite_mod.node
42tests/eolian_js/eolian_js_suite_mod.node: tests/eolian_js/libeolian_js_suite.la
43 $(AM_V_CP)$(CP) $(top_builddir)/src/tests/eolian_js/.libs/libeolian_js_suite.so $(top_builddir)/src/tests/eolian_js/eolian_js_suite_mod.node
44
45tests_eolian_js_libeolian_js_suite_la_SOURCES = \
46tests/eolian_js/eolian_js_suite.cc \
47tests/eolian_js/eolian_js_test_eolian_js_binding.cc \
48tests/eolian_js/eolian_js_test_constructor_method_impl.c \
49tests/eolian_js/eolian_js_test_test_object_impl.c
50
51tests_eolian_js_libeolian_js_suite_la_CPPFLAGS = \
52-I$(top_builddir)/src/lib/efl \
53-I$(top_srcdir)/src/bin/eolian_js \
54-I$(top_srcdir)/src/bindings/js/eina_js \
55-I$(top_srcdir)/src/bindings/js/eo_js \
56-I$(top_builddir)/src/tests/eolian_js \
57-DTESTS_WD=\"`pwd`\" \
58-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eolian_js\" \
59-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eolian_js\" \
60-DPACKAGE_DATA_DIR=\"$(datadir)/eolian_js\" \
61-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian_js\" \
62@CHECK_CFLAGS@ @EOLIAN_CXX_CFLAGS@ @EINA_JS_CFLAGS@ @EO_JS_CFLAGS@ \
63@EOLIAN_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@ @ECORE_CFLAGS@ @EINA_CXX_CFLAGS@ \
64@EO_JS_CFLAGS@ @EO_CXX_CFLAGS@ @ECORE_CXX_CFLAGS@
65tests_eolian_js_libeolian_js_suite_la_LIBADD = \
66HECK_LIBS@ @USE_EO_LIBS@ @USE_EINA_LIBS@ @USE_EOLIAN_LIBS@ bindings/js/efl_js/libefl_js.la
67tests_eolian_js_libeolian_js_suite_la_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ @USE_EO_INTERNAL_LIBS@
68tests_eolian_js_libeolian_js_suite_la_CFLAGS = $(tests_eolian_js_libeolian_js_suite_la_CXXFLAGS)
69tests_eolian_js_libeolian_js_suite_la_LIBTOOLFLAGS = --tag=disable-static
70tests_eolian_js_libeolian_js_suite_la_LDFLAGS = -rpath $(abs_top_builddir)/src/tests/eolian_js -rpath $(abs_top_builddir)/src/bin/efl_js @EFL_LTLIBRARY_FLAGS@
71
72# if compiler_o_lo == yes, lo, otherwise $(OBJEXT)
73
74if HAVE_AM_16
75TESTS_EOLIAN_JS_OBJNAME =
76else
77TESTS_EOLIAN_JS_OBJNAME = tests_eolian_js_
78endif
79tests/eolian_js/$(TESTS_EOLIAN_JS_OBJNAME)libeolian_js_suite_la-eolian_js_test_eolian_js_binding.l$(OBJEXT): tests/eolian_js/constructor_method_class.eo.js.cc tests/eolian_js/constructor_method_class.eo.h tests/eolian_js/test_object.eo.js.cc tests/eolian_js/test_object.eo.h
80tests/eolian_js/$(TESTS_EOLIAN_JS_OBJNAME)libeolian_js_suite_la-eolian_js_test_constructor_method_impl.l$(OBJEXT): tests/eolian_js/constructor_method_class.eo.c
81tests/eolian_js/$(TESTS_EOLIAN_JS_OBJNAME)libeolian_js_suite_la-eolian_js_test_test_object_impl.l$(OBJEXT): tests/eolian_js/test_object.eo.c
82
83
84CLEANFILES += \
85tests/eolian_js/constructor_method_class.eo.js.cc \
86tests/eolian_js/constructor_method_class.eo.c \
87tests/eolian_js/constructor_method_class.eo.h \
88tests/eolian_js/test_object.eo.js.cc \
89tests/eolian_js/test_object.eo.c \
90tests/eolian_js/test_object.eo.h
91else
92check_PROGRAMS += tests/eolian_js/eolian_js_suite
93TESTS += tests/eolian_js/eolian_js_suite
94
95tests_eolian_js_eolian_js_suite_SOURCES = \
96tests/eolian_js/eolian_js_suite.cc \
97tests/eolian_js/eolian_js_test_eolian_js_binding.cc \
98tests/eolian_js/eolian_js_test_constructor_method_impl.c \
99tests/eolian_js/eolian_js_test_test_object_impl.c
100
101tests/eolian_js/$(TESTS_EOLIAN_JS_OBJNAME)eolian_js_suite-eolian_js_test_eolian_js_binding.$(OBJEXT): tests/eolian_js/constructor_method_class.eo.js.cc tests/eolian_js/constructor_method_class.eo.h tests/eolian_js/test_object.eo.js.cc tests/eolian_js/test_object.eo.h
102tests/eolian_js/$(TESTS_EOLIAN_JS_OBJNAME)eolian_js_suite-eolian_js_test_constructor_method_impl.$(OBJEXT): tests/eolian_js/constructor_method_class.eo.c
103tests/eolian_js/$(TESTS_EOLIAN_JS_OBJNAME)eolian_js_suite-eolian_js_test_test_object_impl.$(OBJEXT): tests/eolian_js/test_object.eo.c
104
105CLEANFILES += \
106tests/eolian_js/constructor_method_class.eo.js.cc \
107tests/eolian_js/constructor_method_class.eo.c \
108tests/eolian_js/constructor_method_class.eo.h \
109tests/eolian_js/test_object.eo.js.cc \
110tests/eolian_js/test_object.eo.c \
111tests/eolian_js/test_object.eo.h
112
113tests_eolian_js_eolian_js_suite_CPPFLAGS = \
114-I$(top_builddir)/src/lib/efl \
115-I$(top_srcdir)/src/bin/eolian_js \
116-I$(top_srcdir)/src/bindings/js/eina_js \
117-I$(top_srcdir)/src/bindings/js/eo_js \
118-I$(top_builddir)/src/tests/eolian_js \
119-I$(top_srcdir)/src/tests/efl_js \
120-DTESTS_WD=\"`pwd`\" \
121-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eolian_js\" \
122-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
123-DPACKAGE_DATA_DIR=\"$(datadir)/eolian_js\" \
124-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eolian_js\" \
125@CHECK_CFLAGS@ @EOLIAN_CXX_CFLAGS@ @EINA_JS_CFLAGS@ @EO_JS_CFLAGS@ @EFL_JS_CFLAGS@ \
126@EOLIAN_CFLAGS@ @EINA_CFLAGS@ @EO_CFLAGS@ @ECORE_CFLAGS@ @EINA_CXX_CFLAGS@ \
127@EO_JS_CFLAGS@ @EO_CXX_CFLAGS@ @EFL_JS_CFLAGS@ @ECORE_CXX_CFLAGS@
128
129tests_eolian_js_eolian_js_suite_LDADD = \
130@CHECK_LIBS@ @USE_EO_LIBS@ @USE_EINA_LIBS@ @USE_EOLIAN_LIBS@ @USE_EVAS_LIBS@ bin/efl_js/efl.node
131tests_eolian_js_eolian_js_suite_DEPENDENCIES = @USE_EOLIAN_INTERNAL_LIBS@ @USE_EVAS_INTERNAL_LIBS@
132endif
133endif
134
135endif
136
137
138