aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Efl.am
blob: 5d4d9352e74980ae0c51d556e9cbda5fbb41b2a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
# Even though libefl is new, it contains definitions used by legacy APIs
efl_eolian_legacy_files = \
	lib/efl/interfaces/efl_gfx_fill.eo \
	lib/efl/interfaces/efl_gfx_entity.eo \
	lib/efl/interfaces/efl_gfx_color.eo \
	lib/efl/interfaces/efl_gfx_image.eo \
	lib/efl/interfaces/efl_gfx_frame_controller.eo \
	lib/efl/interfaces/efl_input_device.eo \
        lib/efl/interfaces/efl_ui_draggable.eo \
        lib/efl/interfaces/efl_ui_scrollable.eo \
        lib/efl/interfaces/efl_ui_scrollable_interactive.eo \
        lib/efl/interfaces/efl_ui_scrollbar.eo \
        lib/efl/interfaces/efl_ui_selectable.eo \
        lib/efl/interfaces/efl_ui_multi_selectable.eo \
        lib/efl/interfaces/efl_ui_zoom.eo \
	$(NULL)

efl_eolian_files = \
      lib/efl/interfaces/efl_canvas_scene.eo \
      lib/efl/interfaces/efl_canvas_pointer.eo \
      lib/efl/interfaces/efl_config.eo \
      lib/efl/interfaces/efl_control.eo \
      lib/efl/interfaces/efl_duplicate.eo \
      lib/efl/interfaces/efl_file.eo \
      lib/efl/interfaces/efl_file_save.eo \
      lib/efl/interfaces/efl_gfx_image_load_controller.eo \
      lib/efl/interfaces/efl_part.eo \
      lib/efl/interfaces/efl_playable.eo \
      lib/efl/interfaces/efl_player.eo \
      lib/efl/interfaces/efl_text.eo \
      lib/efl/interfaces/efl_text_font.eo \
      lib/efl/interfaces/efl_text_style.eo \
      lib/efl/interfaces/efl_text_format.eo \
      lib/efl/interfaces/efl_text_cursor.eo \
      lib/efl/interfaces/efl_text_annotate.eo \
      lib/efl/interfaces/efl_text_markup.eo \
      lib/efl/interfaces/efl_text_markup_interactive.eo \
      lib/efl/interfaces/efl_text_markup_util.eo \
      lib/efl/interfaces/efl_gfx_stack.eo \
      lib/efl/interfaces/efl_gfx_view.eo \
      lib/efl/interfaces/efl_gfx_buffer.eo \
      lib/efl/interfaces/efl_gfx_path.eo \
      lib/efl/interfaces/efl_gfx_shape.eo \
      lib/efl/interfaces/efl_gfx_gradient.eo \
      lib/efl/interfaces/efl_gfx_gradient_linear.eo \
      lib/efl/interfaces/efl_gfx_gradient_radial.eo \
      lib/efl/interfaces/efl_gfx_filter.eo \
      lib/efl/interfaces/efl_gfx_blur.eo \
      lib/efl/interfaces/efl_gfx_hint.eo \
      lib/efl/interfaces/efl_model.eo \
      lib/efl/interfaces/efl_gfx_image_orientable.eo \
      lib/efl/interfaces/efl_container.eo \
      lib/efl/interfaces/efl_content.eo \
      lib/efl/interfaces/efl_gfx_arrangement.eo \
      lib/efl/interfaces/efl_pack.eo \
      lib/efl/interfaces/efl_pack_layout.eo \
      lib/efl/interfaces/efl_pack_linear.eo \
      lib/efl/interfaces/efl_pack_table.eo \
      lib/efl/interfaces/efl_ui_i18n.eo \
      lib/efl/interfaces/efl_ui_direction.eo \
      lib/efl/interfaces/efl_ui_direction_readonly.eo \
      lib/efl/interfaces/efl_ui_drag.eo \
      lib/efl/interfaces/efl_ui_range_display.eo \
      lib/efl/interfaces/efl_ui_range_interactive.eo \
      lib/efl/interfaces/efl_ui_view.eo \
      lib/efl/interfaces/efl_ui_property_bind.eo \
      lib/efl/interfaces/efl_ui_factory.eo \
      lib/efl/interfaces/efl_ui_factory_bind.eo \
      lib/efl/interfaces/efl_screen.eo \
      lib/efl/interfaces/efl_io_closer.eo \
      lib/efl/interfaces/efl_io_positioner.eo \
      lib/efl/interfaces/efl_io_reader.eo \
      lib/efl/interfaces/efl_io_sizer.eo \
      lib/efl/interfaces/efl_io_writer.eo \
      lib/efl/interfaces/efl_io_buffer.eo \
      lib/efl/interfaces/efl_io_queue.eo \
      lib/efl/interfaces/efl_observer.eo \
      lib/efl/interfaces/efl_observable.eo \
      lib/efl/interfaces/efl_ui_autorepeat.eo \
      lib/efl/interfaces/efl_ui_format.eo \
      lib/efl/interfaces/efl_gfx_color_class.eo \
      lib/efl/interfaces/efl_gfx_text_class.eo \
      lib/efl/interfaces/efl_gfx_size_class.eo \
      lib/efl/interfaces/efl_interpolator.eo \
      lib/efl/interfaces/efl_cached_item.eo \
      $(efl_eolian_legacy_files) \
      $(NULL)

efl_eolian_type_files = \
	lib/efl/interfaces/efl_gfx_types.eot \
	lib/efl/interfaces/efl_ui_types.eot \
	lib/efl/interfaces/efl_input_types.eot \
	lib/efl/interfaces/efl_types.eot \
	lib/efl/interfaces/efl_text_types.eot \
	$(NULL)

efl_eolian_files_h = $(efl_eolian_files:%.eo=%.eo.h) \
                     $(efl_eolian_type_files:%.eot=%.eot.h)
efl_eolian_files_c = $(efl_eolian_files:%.eo=%.eo.c)

BUILT_SOURCES += \
                 $(efl_eolian_files_c) \
                 $(efl_eolian_files_h)

EXTRA_DIST2 += \
      lib/efl/Efl_Config.h \
      lib/efl/Efl_Config.h.in \
      lib/efl/Efl.h \
      lib/efl/interfaces/efl_file.h \
      lib/efl/interfaces/efl_common_internal.h \
      $(efl_eolian_files) \
      $(efl_eolian_type_files)

if INSTALL_EO_FILES
efleolianfilesdir = $(datadir)/eolian/include/efl-@VMAJ@
efleolianfiles_DATA = $(efl_eolian_files) $(efl_eolian_type_files)
endif

lib_LTLIBRARIES += lib/efl/libefl.la

lib_efl_libefl_la_SOURCES = \
lib/efl/interfaces/efl_interfaces_main.c \
lib/efl/interfaces/efl_mvvm_common.c \
lib/efl/interfaces/efl_gfx_path.c \
lib/efl/interfaces/efl_gfx_shape.c \
lib/efl/interfaces/efl_input_device.c \
lib/efl/interfaces/efl_io_closer.c \
lib/efl/interfaces/efl_io_positioner.c \
lib/efl/interfaces/efl_io_reader.c \
lib/efl/interfaces/efl_io_sizer.c \
lib/efl/interfaces/efl_io_writer.c \
lib/efl/interfaces/efl_io_buffer.c \
lib/efl/interfaces/efl_io_queue.c \
lib/efl/interfaces/efl_observer.c \
lib/efl/interfaces/efl_file.c \
lib/efl/interfaces/efl_ui_format.c \
lib/efl/interfaces/efl_gfx_color.c \
lib/efl/interfaces/efl_text_markup_util.c \
lib/efl/interfaces/efl_ui_direction_readonly.c \
$(NULL)

lib_efl_libefl_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl -I$(top_srcdir)/src/lib/efl @EFL_CFLAGS@ -DEFL_GFX_FILTER_BETA -DEFL_BUILD
lib_efl_libefl_la_LIBADD = @EFL_LIBS@
lib_efl_libefl_la_DEPENDENCIES = @EFL_INTERNAL_LIBS@
lib_efl_libefl_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@

installed_eflheadersdir = $(includedir)/efl-@VMAJ@
dist_installed_eflheaders_DATA = \
              lib/efl/Efl_Config.h \
              lib/efl/Efl_MVVM_Common.h \
              lib/efl/Efl.h

installed_eflinterfacesdir = $(includedir)/efl-@VMAJ@/interfaces
nodist_installed_eflinterfaces_DATA = \
	$(efl_eolian_files_h) \
	lib/efl/interfaces/efl_file.h

if HAVE_LUA_BINDINGS

efl_eolian_lua = $(efl_eolian_files:%.eo=%.eo.lua)

generated_efl_lua_all = $(efl_eolian_lua)

GENERATED_LUA_BINDINGS += $(generated_efl_lua_all)

installed_eflluadir = $(datadir)/elua/modules/efl
nodist_installed_efllua_DATA = $(generated_efl_lua_all)

endif

if HAVE_JS

generated_efl_js_bindings = $(efl_eolian_files:%.eo=%.eo.js.cc)

GENERATED_JS_BINDINGS += $(generated_efl_js_bindings)
endif

if HAVE_CXX
efl_eolian_cxx_hh = $(efl_eolian_files:%.eo=%.eo.hh)
efl_eolian_cxx_impl_hh = $(efl_eolian_files:%.eo=%.eo.impl.hh)
endif

### Binary

bin_PROGRAMS += \
bin/efl/efl_debugd \
bin/efl/efl_debug

bin_efl_efl_debugd_SOURCES = bin/efl/efl_debugd.c
bin_efl_efl_debugd_CPPFLAGS = -I$(top_builddir)/src/bin/efl @EINA_CFLAGS@ @ECORE_CFLAGS@ @ECORE_CON_CFLAGS@
bin_efl_efl_debugd_LDADD = @EFL_LIBS@ @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@
bin_efl_efl_debugd_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@

bin_efl_efl_debug_SOURCES = bin/efl/efl_debug.c
bin_efl_efl_debug_CPPFLAGS = -I$(top_builddir)/src/bin/efl @EINA_CFLAGS@ @ECORE_CFLAGS@ @ECORE_CON_CFLAGS@
bin_efl_efl_debug_LDADD = @EFL_LIBS@ @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@
bin_efl_efl_debug_DEPENDENCIES = @USE_EINA_INTERNAL_LIBS@ @USE_ECORE_INTERNAL_LIBS@ @USE_ECORE_CON_INTERNAL_LIBS@


if EFL_ENABLE_TESTS

check_PROGRAMS += tests/efl/efl_suite
TESTS += tests/efl/efl_suite

tests_efl_efl_suite_SOURCES = \
tests/efl/efl_suite.c \
tests/efl/efl_test_container_model.c \
tests/efl/efl_test_composite_model.c \
tests/efl/efl_test_view_model.c \
tests/efl/efl_suite.h

tests_efl_efl_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
-DPACKAGE_BUILD_DIR=\"$(abs_top_builddir)\" \
-DTESTS_SRC_DIR=\"$(top_srcdir)/src/tests/efl\" \
-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/efl\" \
@CHECK_CFLAGS@ \
@ECORE_CFLAGS@ \
@EFL_CFLAGS@


tests_efl_efl_suite_LDADD = @CHECK_LIBS@ \
@EFL_LIBS@ \
@USE_EFL_LIBS@ \
@USE_ECORE_LIBS@ -lecore

tests_efl_efl_suite_DEPENDENCIES = \
@USE_EFL_INTERNAL_LIBS@ \
@USE_ECORE_INTERNAL_LIBS@

endif