summaryrefslogtreecommitdiff
path: root/src/Makefile_Cxx.am
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-23 12:01:30 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-05-23 15:05:50 -0300
commite3c8b280c639058c54f5576f189d0dc288105fc7 (patch)
treee313fa05bd9d2b2cb88623f6adea2c3b396b66e8 /src/Makefile_Cxx.am
parent930f39b91b12b311f40cd96b4cf2e85085b01832 (diff)
c++: Reorganized C++ binding generation
Moved all generation to a single Makefile_Cxx.am file instead of throughout the whole project. And fixed C++ generation on Elementary after elm merge.
Diffstat (limited to 'src/Makefile_Cxx.am')
-rw-r--r--src/Makefile_Cxx.am351
1 files changed, 351 insertions, 0 deletions
diff --git a/src/Makefile_Cxx.am b/src/Makefile_Cxx.am
new file mode 100644
index 0000000000..809ce99d8a
--- /dev/null
+++ b/src/Makefile_Cxx.am
@@ -0,0 +1,351 @@
1if HAVE_CXX11
2
3### Eo C++
4CLEANFILES += $(eo_eolian_cxx_hh) $(eo_eolian_cxx_impl_hh)
5
6installed_eocxxheadersdir = $(includedir)/eo-cxx-@VMAJ@/
7nodist_installed_eocxxheaders_DATA = $(eo_eolian_cxx_hh) $(eo_eolian_cxx_impl)
8dist_installed_eocxxheaders_DATA = \
9bindings/cxx/eo_cxx/eo_concrete.hh \
10bindings/cxx/eo_cxx/eo_event.hh \
11bindings/cxx/eo_cxx/eo_init.hh \
12bindings/cxx/eo_cxx/eo_wref.hh \
13bindings/cxx/eo_cxx/eo_inherit.hh \
14bindings/cxx/eo_cxx/eo_ops.hh \
15bindings/cxx/eo_cxx/eo_private.hh \
16bindings/cxx/eo_cxx/eo_inherit_bindings.hh \
17bindings/cxx/eo_cxx/eo_cxx_interop.hh \
18bindings/cxx/eo_cxx/Eo.hh
19
20### Elementary C++
21installed_elementarycxxmainheadersdir = $(includedir)/elementary-cxx-@VMAJ@/
22nodist_installed_elementarycxxmainheaders_DATA = $(elementary_eolian_cxx_hh) $(elementary_eolian_cxx_impl) \
23lib/elementary/Elementary.hh
24
25lib/elementary/Elementary.hh: $(elementary_eolian_cxx_hh)
26 @echo @ECHO_E@ "#ifndef EFL_CXX_ELEMENTARY_HH\n#define EFL_CXX_ELEMENTARY_HH\n" > $(top_builddir)/src/lib/elementary/Elementary.hh
27 @echo @ECHO_E@ "#if defined(ELEMENTARY_H) || defined(ELM_WIDGET_H)" >> $(top_builddir)/src/lib/elementary/Elementary.hh
28 @echo @ECHO_E@ "#error Do not include Elm C API headers before including Elementary.hh" >> $(top_builddir)/src/lib/elementary/Elementary.hh
29 @echo @ECHO_E@ "#endif" >> $(top_builddir)/src/lib/elementary/Elementary.hh
30 @echo @ECHO_E@ "" >> $(top_builddir)/src/lib/elementary/Elementary.hh
31 @echo @ECHO_E@ "#ifndef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/elementary/Elementary.hh
32 @echo @ECHO_E@ "#define EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/elementary/Elementary.hh
33 @echo @ECHO_E@ "#endif\n" >> $(top_builddir)/src/lib/elementary/Elementary.hh
34 @echo @ECHO_E@ "#ifndef ELM_INTERNAL_API_ARGESFSDFEFC" >> $(top_builddir)/src/lib/elementary/Elementary.hh
35 @echo @ECHO_E@ "#define ELM_INTERNAL_API_ARGESFSDFEFC" >> $(top_builddir)/src/lib/elementary/Elementary.hh
36 @echo @ECHO_E@ "#endif\n" >> $(top_builddir)/src/lib/elementary/Elementary.hh
37 @echo @ECHO_E@ "extern \"C\" {" >> $(top_builddir)/src/lib/elementary/Elementary.hh
38 @echo @ECHO_E@ "#include \"Elementary.h\"" >> $(top_builddir)/src/lib/elementary/Elementary.hh
39 @echo @ECHO_E@ "#include \"elm_widget.h\"" >> $(top_builddir)/src/lib/elementary/Elementary.hh
40 @echo @ECHO_E@ "}" >> $(top_builddir)/src/lib/elementary/Elementary.hh
41 @echo @ECHO_E@ "" >> $(top_builddir)/src/lib/elementary/Elementary.hh
42 @for i in $(elementary_eolian_cxx_hh); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/elementary/Elementary.hh; done
43 @echo @ECHO_E@ "#endif\n" >> $(top_builddir)/src/lib/elementary/Elementary.hh
44
45CLEANFILES += $(elementary_eolian_cxx_hh) $(elementary_eolian_cxx_impl) lib/elementary/Elementary.hh
46
47### Efl C++
48installed_eflcxxmainheadersdir = $(includedir)/efl-cxx-@VMAJ@/
49nodist_installed_eflcxxmainheaders_DATA = $(efl_eolian_cxx_hh) $(efl_eolian_cxx_impl) lib/efl/Efl.hh
50
51lib/efl/Efl.hh: $(efl_eolian_cxx_hh)
52 @echo @ECHO_E@ "#ifndef EFL_CXX_HH\n#define EFL_CXX_HH\n" > $(top_builddir)/src/lib/efl/Efl.hh
53 @echo @ECHO_E@ "#ifdef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/efl/Efl.hh
54 @for i in $(efl_eolian_cxx_hh); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/efl/Efl.hh; done
55 @echo @ECHO_E@ "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/efl/Efl.hh
56
57CLEANFILES += $(efl_eolian_cxx_hh) $(efl_eolian_cxx_impl) lib/efl/Efl.hh
58
59### Evas C++
60installed_evascxxmainheadersdir = $(includedir)/evas-cxx-@VMAJ@/
61nodist_installed_evascxxmainheaders_DATA = lib/evas/Evas.hh
62
63installed_evascxxcanvasheadersdir = $(includedir)/evas-cxx-@VMAJ@/canvas
64nodist_installed_evascxxcanvasheaders_DATA = $(evas_eolian_cxx_hh) $(evas_eolian_cxx_impl)
65
66lib/evas/Evas.hh: $(evas_eolian_cxx_hh)
67 @echo @ECHO_E@ "#ifndef EFL_CXX_EVAS_HH\n#define EFL_CXX_EVAS_HH\n" > $(top_builddir)/src/lib/evas/Evas.hh
68 @echo @ECHO_E@ "#ifdef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/evas/Evas.hh
69 @for i in $(evas_eolian_cxx_hh); do echo "#include <canvas/$$(basename $$i)>" >> $(top_builddir)/src/lib/evas/Evas.hh; done
70 @echo @ECHO_E@ "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/evas/Evas.hh
71
72CLEANFILES += $(evas_eolian_cxx_hh) $(evas_eolian_cxx_impl) lib/evas/Evas.hh
73
74### Eldbus C++
75installed_eldbuscxxmainheadersdir = $(includedir)/eldbus_cxx-@VMAJ@
76nodist_installed_eldbuscxxmainheaders_DATA = $(eldbus_eolian_cxx_hh) $(eldbus_eolian_cxx_impl) lib/eldbus/Eldbus_Model.hh
77dist_installed_eldbuscxxmainheaders_DATA = \
78bindings/cxx/eldbus_cxx/eldbus_basic.hh \
79bindings/cxx/eldbus_cxx/eldbus_error.hh \
80bindings/cxx/eldbus_cxx/eldbus_freedesktop.hh \
81bindings/cxx/eldbus_cxx/Eldbus.hh \
82bindings/cxx/eldbus_cxx/eldbus_integer_sequence.hh \
83bindings/cxx/eldbus_cxx/eldbus_message_arguments.hh \
84bindings/cxx/eldbus_cxx/eldbus_message.hh \
85bindings/cxx/eldbus_cxx/eldbus_proxy_call.hh \
86bindings/cxx/eldbus_cxx/eldbus_raw_tuple.hh \
87bindings/cxx/eldbus_cxx/eldbus_service.hh \
88bindings/cxx/eldbus_cxx/eldbus_signature_traits.hh
89
90lib/eldbus/Eldbus_Model.hh: $(eldbus_eolian_cxx_hh)
91 @echo @ECHO_E@ "#ifndef EFL_CXX_ELDBUS_MODEL_HH\n#define EFL_CXX_ELDBUS_MODEL_HH\n" > $(top_builddir)/src/lib/eldbus/Eldbus_Model.hh
92 @echo @ECHO_E@ "#include <Eldbus_Model.h>" >> $(top_builddir)/src/lib/eldbus/Eldbus_Model.hh
93 @echo @ECHO_E@ "#ifdef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/eldbus/Eldbus_Model.hh
94 @for i in $(eldbus_eolian_cxx_hh); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/eldbus/Eldbus_Model.hh; done
95 @echo @ECHO_E@ "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/eldbus/Eldbus_Model.hh
96
97CLEANFILES += $(eldbus_eolian_cxx_hh) $(eldbus_eolian_cxx_impl) lib/eldbus/Eldbus_Model.hh
98
99### Eet C++
100installed_eetcxxheadersdir = $(includedir)/eet-cxx-@VMAJ@
101dist_installed_eetcxxheaders_DATA = \
102bindings/cxx/eet_cxx/eet_composite.hh \
103bindings/cxx/eet_cxx/eet_register.hh \
104bindings/cxx/eet_cxx/eet_type.hh \
105bindings/cxx/eet_cxx/Eet.hh
106
107### Generated headers src/lib/edje
108installed_edjecxxmainheadersdir = $(includedir)/edje-cxx-@VMAJ@/
109nodist_installed_edjecxxmainheaders_DATA = $(edje_eolian_cxx_hh) $(edje_eolian_cxx_impl) lib/edje/Edje.hh
110
111lib/edje/Edje.hh: $(edje_eolian_cxx_hh)
112 @echo @ECHO_E@ "#ifndef EFL_CXX_EDJE_HH\n#define EFL_CXX_EDJE_HH\n" > $(top_builddir)/src/lib/edje/Edje.hh
113 @echo @ECHO_E@ "#ifdef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/edje/Edje.hh
114 @for i in $(edje_eolian_cxx_hh); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/edje/Edje.hh; done
115 @echo @ECHO_E@ "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/edje/Edje.hh
116
117CLEANFILES += $(edje_eolian_cxx_hh) $(edje_eolian_cxx_impl) lib/edje/Edje.hh
118
119### Ecore src/lib/ecore
120installed_ecorecxxheadersdir = $(includedir)/ecore-cxx-@VMAJ@
121nodist_installed_ecorecxxheaders_DATA = $(ecore_eolian_cxx_hh) $(ecore_eolian_cxx_impl) \
122bindings/cxx/ecore_cxx/Ecore.hh \
123lib/ecore/Ecore.eo.hh
124
125lib/ecore/Ecore.eo.hh: $(ecore_eolian_cxx_hh)
126 @echo @ECHO_E@ "#ifndef EFL_CXX_ECORE_HH\n#define EFL_CXX_ECORE_HH\n" > $(top_builddir)/src/lib/ecore/Ecore.eo.hh
127 @echo @ECHO_E@ "#ifdef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/ecore/Ecore.eo.hh
128 @for i in $(ecore_eolian_cxx_hh); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/ecore/Ecore.eo.hh; done
129 @echo @ECHO_E@ "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/ecore/Ecore.eo.hh
130
131CLEANFILES += $(ecore_eolian_cxx_hh) $(ecore_eolian_cxx_impl) llib/ecore/Ecore.eo.hh
132
133## Eina src/lib/eina
134installed_einacxxheadersdir = $(includedir)/eina-cxx-@VMAJ@
135dist_installed_einacxxheaders_DATA = \
136bindings/cxx/eina_cxx/eina_accessor.hh \
137bindings/cxx/eina_cxx/eina_array.hh \
138bindings/cxx/eina_cxx/eina_clone_allocators.hh \
139bindings/cxx/eina_cxx/eina_error.hh \
140bindings/cxx/eina_cxx/eina_eo_concrete_fwd.hh \
141bindings/cxx/eina_cxx/eina_fold.hh \
142bindings/cxx/eina_cxx/eina_function.hh \
143bindings/cxx/eina_cxx/eina_inarray.hh \
144bindings/cxx/eina_cxx/eina_inlist.hh \
145bindings/cxx/eina_cxx/eina_integer_sequence.hh \
146bindings/cxx/eina_cxx/eina_iterator.hh \
147bindings/cxx/eina_cxx/eina_lists_auxiliary.hh \
148bindings/cxx/eina_cxx/eina_list.hh \
149bindings/cxx/eina_cxx/eina_log.hh \
150bindings/cxx/eina_cxx/eina_logical.hh \
151bindings/cxx/eina_cxx/eina_optional.hh \
152bindings/cxx/eina_cxx/eina_pp.hh \
153bindings/cxx/eina_cxx/eina_ptrarray.hh \
154bindings/cxx/eina_cxx/eina_ptrlist.hh \
155bindings/cxx/eina_cxx/eina_range_types.hh \
156bindings/cxx/eina_cxx/eina_ref.hh \
157bindings/cxx/eina_cxx/eina_stringshare.hh \
158bindings/cxx/eina_cxx/eina_string_view.hh \
159bindings/cxx/eina_cxx/eina_thread.hh \
160bindings/cxx/eina_cxx/eina_throw.hh \
161bindings/cxx/eina_cxx/eina_tuple.hh \
162bindings/cxx/eina_cxx/eina_tuple_c.hh \
163bindings/cxx/eina_cxx/eina_tuple_unwrap.hh \
164bindings/cxx/eina_cxx/eina_type_traits.hh \
165bindings/cxx/eina_cxx/eina_value.hh \
166bindings/cxx/eina_cxx/Eina.hh
167
168### Eio
169installed_eiocxxmainheadersdir = $(includedir)/eio-cxx-@VMAJ@/
170nodist_installed_eiocxxmainheaders_DATA = $(eio_eolian_cxx_hh) $(eio_eolian_cxx_impl) lib/eio/Eio.hh
171
172lib/eio/Eio.hh: $(eio_eolian_cxx_hh)
173 @echo @ECHO_E@ "#ifndef EFL_CXX_EIO_HH\n#define EFL_CXX_EIO_HH\n" > $(top_builddir)/src/lib/eio/Eio.hh
174 @echo @ECHO_E@ "#ifdef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/eio/Eio.hh
175 @for i in $(eio_eolian_cxx_hh); do echo "#include <$$(basename $$i)>" >> $(top_builddir)/src/lib/eio/Eio.hh; done
176 @echo @ECHO_E@ "#endif\n\n#endif\n" >> $(top_builddir)/src/lib/eio/Eio.hh
177
178CLEANFILES += $(eio_eolian_cxx_hh) $(eio_eolian_cxx_impl) lib/eio/Eio.hh
179
180### Tests
181
182if EFL_ENABLE_TESTS
183
184### Tests for Eina
185check_PROGRAMS += tests/eina_cxx/eina_cxx_suite
186TESTS += tests/eina_cxx/eina_cxx_suite
187
188tests_eina_cxx_eina_cxx_suite_SOURCES = \
189tests/eina_cxx/eina_cxx_suite.cc \
190tests/eina_cxx/eina_cxx_test_inlist.cc \
191tests/eina_cxx/eina_cxx_test_log.cc \
192tests/eina_cxx/eina_cxx_test_inarray.cc \
193tests/eina_cxx/eina_cxx_test_iterator.cc \
194tests/eina_cxx/eina_cxx_test_ptrarray.cc \
195tests/eina_cxx/eina_cxx_test_ptrlist.cc \
196tests/eina_cxx/eina_cxx_test_stringshare.cc \
197tests/eina_cxx/eina_cxx_test_error.cc \
198tests/eina_cxx/eina_cxx_test_accessor.cc \
199tests/eina_cxx/eina_cxx_test_thread.cc \
200tests/eina_cxx/eina_cxx_test_optional.cc \
201tests/eina_cxx/eina_cxx_test_value.cc \
202tests/eina_cxx/simple.c \
203tests/eina_cxx/eina_cxx_suite.h
204
205tests/eina_cxx/tests_eina_cxx_eina_cxx_suite-eina_cxx_test_accessor.$(OBJEXT): tests/eina_cxx/simple.eo.hh tests/eina_cxx/simple.eo.h
206tests/eina_cxx/tests_eina_cxx_eina_cxx_suite-eina_cxx_test_ptrarray.$(OBJEXT): tests/eina_cxx/simple.eo.hh tests/eina_cxx/simple.eo.h
207tests/eina_cxx/tests_eina_cxx_eina_cxx_suite-eina_cxx_test_ptrlist.$(OBJEXT): tests/eina_cxx/simple.eo.hh tests/eina_cxx/simple.eo.h
208tests/eina_cxx/tests_eina_cxx_eina_cxx_suite-eina_cxx_test_iterator.$(OBJEXT): tests/eina_cxx/simple.eo.hh tests/eina_cxx/simple.eo.h
209
210tests/eina_cxx/tests_eina_cxx_eina_cxx_suite-simple.$(OBJEXT): tests/eina_cxx/simple.eo.c tests/eina_cxx/simple.eo.h
211
212CLEANFILES += \
213tests/eina_cxx/simple.eo.c \
214tests/eina_cxx/simple.eo.h \
215tests/eina_cxx/simple.eo.hh \
216tests/eina_cxx/simple.eo.impl.hh
217
218tests_eina_cxx_eina_cxx_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
219-DTESTS_WD=\"`pwd`\" \
220-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eina_cxx\" \
221-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eina_cxx\" \
222-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eina_cxx\" \
223-I$(top_builddir)/src/lib/efl \
224-I$(top_builddir)/src/lib/efl/interfaces \
225-I$(top_srcdir)/src/bin/eina_cxx \
226-I$(top_builddir)/src/tests/eina_cxx \
227@CHECK_CFLAGS@ \
228@EO_CFLAGS@ \
229@ECORE_CFLAGS@ \
230@EO_CXX_CFLAGS@ \
231@EINA_CXX_CFLAGS@
232tests_eina_cxx_eina_cxx_suite_LDADD = @CHECK_LIBS@ @USE_EINA_LIBS@ @USE_EO_LIBS@
233tests_eina_cxx_eina_cxx_suite_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ @USE_EO_INTERNAL_LIBS@
234
235EXTRA_DIST += \
236tests/eina_cxx/simple.eo
237
238### Tests for ecore
239
240check_PROGRAMS += tests/ecore_cxx/ecore_cxx_suite tests/ecore_cxx/cxx_compile_test
241TESTS += tests/ecore_cxx/ecore_cxx_suite tests/ecore_cxx/cxx_compile_test
242
243tests_ecore_cxx_ecore_cxx_suite_SOURCES = \
244tests/ecore_cxx/ecore_cxx_suite.cc \
245tests/ecore_cxx/ecore_cxx_test_safe_call.cc \
246tests/ecore_cxx/ecore_cxx_suite.h
247
248tests_ecore_cxx_ecore_cxx_suite_CPPFLAGS = \
249-I$(top_builddir)/src/lib/efl \
250-I$(top_builddir)/src/lib/efl/interfaces \
251-I$(top_builddir)/src/lib/ecore \
252-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ecore_cxx\" \
253-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/ecore_cxx\" \
254@CHECK_CFLAGS@ @ECORE_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ @EVAS_CXX_CFLAGS@ @EINA_CFLAGS@ \
255@ECORE_CFLAGS@ @EVAS_CFLAGS@ @EO_CFLAGS@ @EO_CXX_CFLAGS@
256
257tests_ecore_cxx_ecore_cxx_suite_LDADD = @CHECK_LIBS@ @USE_ECORE_LIBS@
258tests_ecore_cxx_ecore_cxx_suite_DEPENDENCIES = @USE_ECORE_INTERNAL_LIBS@
259
260tests_ecore_cxx_cxx_compile_test_SOURCES = tests/ecore_cxx/cxx_compile_test.cc
261tests_ecore_cxx_cxx_compile_test_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
262-I$(top_builddir)/src/lib/efl \
263-I$(top_builddir)/src/lib/efl/interfaces \
264-I$(top_builddir)/src/lib/ecore \
265-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/ecore_cxx\" \
266-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/ecore_cxx\" \
267@CHECK_CFLAGS@ @ECORE_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ @EINA_CFLAGS@ \
268@ECORE_CFLAGS@ @EO_CFLAGS@ @EO_CXX_CFLAGS@
269
270tests_ecore_cxx_cxx_compile_test_LDADD = @CHECK_LIBS@ @USE_ECORE_LIBS@
271tests_ecore_cxx_cxx_compile_test_DEPENDENCIES = @USE_ECORE_INTERNAL_LIBS@
272
273### Tests for Eet
274check_PROGRAMS += tests/eet_cxx/eet_cxx_suite
275TESTS += tests/eet_cxx/eet_cxx_suite
276
277tests_eet_cxx_eet_cxx_suite_SOURCES = \
278tests/eet_cxx/eet_cxx_suite.cc \
279tests/eet_cxx/eet_cxx_test_descriptors.cc \
280tests/eet_cxx/eet_cxx_suite.h
281
282tests_eet_cxx_eet_cxx_suite_CPPFLAGS = \
283-I$(top_builddir)/src/lib/efl \
284-DTESTS_WD=\"`pwd`\" \
285-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/eet_cxx\" \
286-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)/src/tests/eet_cxx\" \
287-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eet_cxx\" \
288@EO_CFLAGS@ @CHECK_CFLAGS@ @EET_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ @EET_CFLAGS@ @EINA_CFLAGS@
289tests_eet_cxx_eet_cxx_suite_LDADD = @CHECK_LIBS@ @USE_EET_LIBS@
290tests_eet_cxx_eet_cxx_suite_DEPENDENCIES = @USE_EET_INTERNAL_LIBS@
291
292### Tests for eldbus
293check_PROGRAMS += tests/eldbus_cxx/eldbus_cxx_suite
294TESTS += tests/eldbus_cxx/eldbus_cxx_suite
295
296tests_eldbus_cxx_eldbus_cxx_suite_SOURCES = \
297tests/eldbus_cxx/eldbus_cxx_suite.cc \
298tests/eldbus_cxx/eldbus_cxx_test_eldbus_connect.cc \
299tests/eldbus_cxx/eldbus_cxx_test_eldbus_client.cc \
300tests/eldbus_cxx/eldbus_cxx_suite.h
301
302tests_eldbus_cxx_eldbus_cxx_suite_CPPFLAGS = \
303-I$(top_builddir)/src/bindings/cxx/eina_cxx \
304-I$(top_srcdir)/src/bindings/cxx/eina_cxx \
305-I$(top_builddir)/src/bindings/cxx/ecore_cxx \
306-I$(top_srcdir)/src/bindings/cxx/ecore_cxx \
307-I$(top_builddir)/src/bindings/cxx/eldbus_cxx \
308-I$(top_srcdir)/src/bindings/cxx/eldbus_cxx \
309-I$(top_builddir)/src/lib/efl \
310-I$(top_builddir)/src/lib/efl/interfaces \
311-I$(top_builddir)/src/lib/ecore \
312-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eldbus\" \
313@CHECK_CFLAGS@ @ECORE_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ @EINA_CFLAGS@ \
314@ECORE_CFLAGS@ @EO_CFLAGS@ @EO_CXX_CFLAGS@ @ELDBUS_CFLAGS@
315
316tests_eldbus_cxx_eldbus_cxx_suite_LDADD = @CHECK_LIBS@ @USE_ELDBUS_LIBS@
317tests_eldbus_cxx_eldbus_cxx_suite_DEPENDENCIES = @USE_ELDBUS_INTERNAL_LIBS@
318
319### Tests for Evas
320check_PROGRAMS += tests/evas_cxx/cxx_compile_test
321TESTS += tests/evas_cxx/cxx_compile_test
322
323tests_evas_cxx_cxx_compile_test_SOURCES = tests/evas_cxx/cxx_compile_test.cc
324tests_evas_cxx_cxx_compile_test_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
325 -I$(top_builddir)/src/lib/efl/interfaces/ \
326 -I$(top_builddir)/src/lib/evas/canvas/ \
327 -I$(top_builddir)/src/lib/evas/include/ \
328 -DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/evas_cxx\" \
329 -DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/evas_cxx\" \
330 @CHECK_CFLAGS@ @ECORE_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ @EVAS_CXX_CFLAGS@ @EO_CXX_CFLAGS@ \
331 @ECORE_CFLAGS@ @EINA_CFLAGS@ @EVAS_CFLAGS@ @EO_CFLAGS@
332tests_evas_cxx_cxx_compile_test_LDADD = @CHECK_LIBS@ @USE_EVAS_LIBS@
333tests_evas_cxx_cxx_compile_test_DEPENDENCIES = @USE_EVAS_INTERNAL_LIBS@
334
335### Tests for Elementary
336check_PROGRAMS += tests/elementary_cxx/cxx_compile_test
337TESTS += tests/elementary_cxx/cxx_compile_test
338
339tests_elementary_cxx_cxx_compile_test_SOURCES = tests/elementary_cxx/cxx_compile_test.cc
340tests_elementary_cxx_cxx_compile_test_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
341-I$(top_builddir)/src/lib/evas/canvas/ \
342-I$(top_builddir)/src/lib/efl/interfaces/ \
343-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/elementary_cxx\" \
344-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/elementary_cxx\" \
345@CHECK_CFLAGS@ @ECORE_CXX_CFLAGS@ @EINA_CXX_CFLAGS@ @EVAS_CXX_CFLAGS@ @ELEMENTARY_CXX_CFLAGS@ @EO_CXX_CFLAGS@ \
346@ECORE_CFLAGS@ @EINA_CFLAGS@ @EVAS_CFLAGS@ @ELEMENTARY_CFLAGS@ @EO_CFLAGS@
347tests_elementary_cxx_cxx_compile_test_LDADD = @CHECK_LIBS@ @USE_ELEMENTARY_LIBS@
348tests_elementary_cxx_cxx_compile_test_DEPENDENCIES = @USE_ELEMENTARY_INTERNAL_LIBS@
349
350endif
351endif