summaryrefslogtreecommitdiff
path: root/src/Makefile_Eo.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile_Eo.am')
-rw-r--r--src/Makefile_Eo.am255
1 files changed, 0 insertions, 255 deletions
diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am
deleted file mode 100644
index 19179a7..0000000
--- a/src/Makefile_Eo.am
+++ /dev/null
@@ -1,255 +0,0 @@
1
2### Library
3
4eo_eolian_files = \
5 lib/eo/efl_object.eo \
6 lib/eo/efl_class.eo \
7 lib/eo/efl_object_override.eo
8
9eo_eolian_c = $(eo_eolian_files:%.eo=%.eo.c)
10eo_eolian_h = $(eo_eolian_files:%.eo=%.eo.h)
11
12BUILT_SOURCES += \
13 $(eo_eolian_c) \
14 $(eo_eolian_h)
15
16lib_LTLIBRARIES += lib/eo/libeo.la \
17 lib/eo/libeo_dbg.la
18
19installed_eomainheadersdir = $(includedir)/eo-@VMAJ@
20dist_installed_eomainheaders_DATA = lib/eo/Eo.h
21
22nodist_installed_eomainheaders_DATA = \
23 $(eo_eolian_h)
24
25lib_eo_libeo_la_SOURCES = \
26lib/eo/eo.c \
27lib/eo/eo_ptr_indirection.c \
28lib/eo/eo_ptr_indirection.h \
29lib/eo/eo_base_class.c \
30lib/eo/eo_class_class.c \
31lib/eo/eo_add_fallback.c \
32lib/eo/eo_add_fallback.h \
33lib/eo/eo_internal.h \
34lib/eo/eo_private.h
35
36lib_eo_libeo_la_CPPFLAGS = \
37-I$(top_builddir)/src/lib/efl \
38-DEFL_BUILD \
39@EO_CFLAGS@ \
40@VALGRIND_CFLAGS@
41lib_eo_libeo_la_LIBADD = @EO_LIBS@
42lib_eo_libeo_la_DEPENDENCIES = @EO_INTERNAL_LIBS@
43lib_eo_libeo_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
44
45### The Eo debug build
46lib_eo_libeo_dbg_la_SOURCES = $(lib_eo_libeo_la_SOURCES)
47lib_eo_libeo_dbg_la_CPPFLAGS = $(lib_eo_libeo_la_CPPFLAGS) -DEO_DEBUG -DEFL_BUILD
48lib_eo_libeo_dbg_la_LIBADD = $(lib_eo_libeo_la_LIBADD)
49lib_eo_libeo_dbg_la_DEPENDENCIES = $(lib_eo_libeo_la_DEPENDENCIES)
50lib_eo_libeo_dbg_la_LDFLAGS = $(lib_eo_libeo_la_LDFLAGS)
51
52bin_SCRIPTS += scripts/eo/eo_debug
53
54######
55if INSTALL_EO_FILES
56eoeolianfilesdir = $(datadir)/eolian/include/eo-@VMAJ@
57eoeolianfiles_DATA = \
58 $(eo_eolian_files) \
59 lib/eo/eina_types.eot # We don't generate .c/.h on purpose
60endif
61EXTRA_DIST2 += \
62$(eo_eolian_files) \
63lib/eo/eina_types.eot
64
65### Unit tests
66
67if EFL_ENABLE_TESTS
68check_PROGRAMS += \
69tests/eo/test_access \
70tests/eo/test_composite_objects \
71tests/eo/test_constructors \
72tests/eo/test_function_overrides \
73tests/eo/test_interface \
74tests/eo/test_mixin \
75tests/eo/test_signals \
76tests/eo/test_children \
77tests/eo/eo_suite_add_fallback \
78tests/eo/eo_suite
79
80tests_eo_test_children_SOURCES = \
81tests/eo/children/children_main.c \
82tests/eo/children/children_simple.c \
83tests/eo/children/children_simple.h
84tests_eo_test_children_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EO_CFLAGS@
85tests_eo_test_children_LDADD = @USE_EO_LIBS@
86tests_eo_test_children_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@
87TESTS += tests/eo/test_children
88
89tests_eo_test_access_SOURCES = \
90tests/eo/access/access_inherit.c \
91tests/eo/access/access_inherit.h \
92tests/eo/access/access_main.c \
93tests/eo/access/access_simple.c \
94tests/eo/access/access_simple.h \
95tests/eo/access/access_simple_protected.h
96tests_eo_test_access_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EO_CFLAGS@
97tests_eo_test_access_LDADD = @USE_EO_LIBS@
98tests_eo_test_access_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@
99TESTS += tests/eo/test_access
100
101tests_eo_test_composite_objects_SOURCES = \
102tests/eo/composite_objects/composite_objects_comp.c \
103tests/eo/composite_objects/composite_objects_comp.h \
104tests/eo/composite_objects/composite_objects_main.c \
105tests/eo/composite_objects/composite_objects_simple.c \
106tests/eo/composite_objects/composite_objects_simple.h
107tests_eo_test_composite_objects_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EO_CFLAGS@
108tests_eo_test_composite_objects_LDADD = @USE_EO_LIBS@
109tests_eo_test_composite_objects_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@
110TESTS += tests/eo/test_composite_objects
111
112tests_eo_test_constructors_SOURCES = \
113tests/eo/constructors/constructors_main.c \
114tests/eo/constructors/constructors_mixin.c \
115tests/eo/constructors/constructors_mixin.h \
116tests/eo/constructors/constructors_simple.c \
117tests/eo/constructors/constructors_simple.h \
118tests/eo/constructors/constructors_simple2.c \
119tests/eo/constructors/constructors_simple2.h \
120tests/eo/constructors/constructors_simple3.c \
121tests/eo/constructors/constructors_simple3.h \
122tests/eo/constructors/constructors_simple4.c \
123tests/eo/constructors/constructors_simple4.h \
124tests/eo/constructors/constructors_simple5.c \
125tests/eo/constructors/constructors_simple5.h \
126tests/eo/constructors/constructors_simple6.c \
127tests/eo/constructors/constructors_simple6.h \
128tests/eo/constructors/constructors_simple7.c \
129tests/eo/constructors/constructors_simple7.h
130tests_eo_test_constructors_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EO_CFLAGS@
131tests_eo_test_constructors_LDADD = @USE_EO_LIBS@
132tests_eo_test_constructors_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@
133TESTS += tests/eo/test_constructors
134
135tests_eo_eo_suite_SOURCES = \
136tests/eo/suite/eo_test_class_simple.c \
137tests/eo/suite/eo_test_class_simple.h \
138tests/eo/suite/eo_test_class_singleton.c \
139tests/eo/suite/eo_test_class_singleton.h \
140tests/eo/suite/eo_test_domain.c \
141tests/eo/suite/eo_test_domain.h \
142tests/eo/suite/eo_suite.c \
143tests/eo/suite/eo_suite.h \
144tests/eo/suite/eo_error_msgs.h \
145tests/eo/suite/eo_error_msgs.c \
146tests/eo/suite/eo_test_class_errors.c \
147tests/eo/suite/eo_test_class_behaviour_errors.c \
148tests/eo/suite/eo_test_call_errors.c \
149tests/eo/suite/eo_test_general.c \
150tests/eo/suite/eo_test_value.c \
151tests/eo/suite/eo_test_event.c \
152tests/eo/suite/eo_test_threaded_calls.c \
153tests/eo/suite/eo_test_init.c \
154tests/eo/suite/eo_test_lifecycle.c \
155tests/eo/suite/eo_test_reflection.c
156
157tests_eo_eo_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
158-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
159-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/eo\" \
160@CHECK_CFLAGS@ \
161@EO_CFLAGS@ \
162@VALGRIND_CFLAGS@
163
164tests_eo_eo_suite_LDADD = @CHECK_LIBS@ @USE_EO_LIBS@
165tests_eo_eo_suite_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@
166
167TESTS += tests/eo/eo_suite
168
169tests_eo_eo_suite_add_fallback_SOURCES = $(tests_eo_eo_suite_SOURCES)
170tests_eo_eo_suite_add_fallback_CPPFLAGS = $(tests_eo_eo_suite_CPPFLAGS) \
171 -D_EO_ADD_FALLBACK_FORCE=1
172tests_eo_eo_suite_add_fallback_LDADD = $(tests_eo_eo_suite_LDADD)
173tests_eo_eo_suite_add_fallback_DEPENDENCIES = $(tests_eo_eo_suite_DEPENDENCIES)
174
175TESTS += tests/eo/eo_suite_add_fallback
176
177tests_eo_test_function_overrides_SOURCES = \
178tests/eo/function_overrides/function_overrides_inherit.c \
179tests/eo/function_overrides/function_overrides_inherit.h \
180tests/eo/function_overrides/function_overrides_inherit2.c \
181tests/eo/function_overrides/function_overrides_inherit2.h \
182tests/eo/function_overrides/function_overrides_inherit3.c \
183tests/eo/function_overrides/function_overrides_inherit3.h \
184tests/eo/function_overrides/function_overrides_main.c \
185tests/eo/function_overrides/function_overrides_simple.c \
186tests/eo/function_overrides/function_overrides_simple.h
187tests_eo_test_function_overrides_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EO_CFLAGS@
188tests_eo_test_function_overrides_LDADD = @USE_EO_LIBS@
189tests_eo_test_function_overrides_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@
190TESTS += tests/eo/test_function_overrides
191
192tests_eo_test_interface_SOURCES = \
193tests/eo/interface/interface_interface.c \
194tests/eo/interface/interface_interface.h \
195tests/eo/interface/interface_interface2.c \
196tests/eo/interface/interface_interface2.h \
197tests/eo/interface/interface_main.c \
198tests/eo/interface/interface_simple.c \
199tests/eo/interface/interface_simple.h
200tests_eo_test_interface_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EO_CFLAGS@
201tests_eo_test_interface_LDADD = @USE_EO_LIBS@
202tests_eo_test_interface_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@
203TESTS += tests/eo/test_interface
204
205tests_eo_test_mixin_SOURCES = \
206tests/eo/mixin/mixin_inherit.c \
207tests/eo/mixin/mixin_inherit.h \
208tests/eo/mixin/mixin_main.c \
209tests/eo/mixin/mixin_mixin.c \
210tests/eo/mixin/mixin_mixin.h \
211tests/eo/mixin/mixin_mixin2.c \
212tests/eo/mixin/mixin_mixin2.h \
213tests/eo/mixin/mixin_mixin3.c \
214tests/eo/mixin/mixin_mixin3.h \
215tests/eo/mixin/mixin_mixin4.c \
216tests/eo/mixin/mixin_mixin4.h \
217tests/eo/mixin/mixin_simple.c \
218tests/eo/mixin/mixin_simple.h
219tests_eo_test_mixin_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EO_CFLAGS@
220tests_eo_test_mixin_LDADD = @USE_EO_LIBS@
221tests_eo_test_mixin_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@
222TESTS += tests/eo/test_mixin
223
224tests_eo_test_signals_SOURCES = \
225tests/eo/signals/signals_main.c \
226tests/eo/signals/signals_simple.c \
227tests/eo/signals/signals_simple.h
228tests_eo_test_signals_CPPFLAGS = -I$(top_builddir)/src/lib/efl @EO_CFLAGS@
229tests_eo_test_signals_LDADD = @USE_EO_LIBS@
230tests_eo_test_signals_DEPENDENCIES = @USE_EO_INTERNAL_LIBS@
231TESTS += tests/eo/test_signals
232
233endif
234
235
236EXTRA_DIST2 += \
237tests/eo/eunit_tests.h \
238tests/eo/suite/eo_test_reflection_complex_class_structure.c \
239tests/eo/suite/eo_test_reflection_complex_class_structure.h \
240lib/eo/eo_ptr_indirection.x
241
242if HAVE_JS
243
244generated_eo_js_bindings = $(eo_eolian_files:%.eo=%.eo.js.cc)
245
246GENERATED_JS_BINDINGS += $(generated_eo_js_bindings)
247
248endif
249
250if HAVE_CXX
251
252eo_eolian_cxx_hh = $(eo_eolian_files:%.eo=%.eo.hh)
253eo_eolian_cxx_impl_hh = $(eo_eolian_files:%.eo=%.eo.impl.hh)
254
255endif