summaryrefslogtreecommitdiff
path: root/src/lib/ecore/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore/meson.build')
-rw-r--r--src/lib/ecore/meson.build24
1 files changed, 5 insertions, 19 deletions
diff --git a/src/lib/ecore/meson.build b/src/lib/ecore/meson.build
index 2e44804..a40c45a 100644
--- a/src/lib/ecore/meson.build
+++ b/src/lib/ecore/meson.build
@@ -2,10 +2,8 @@ ecore_deps = [intl]
2ecore_pub_deps = [eina, eo, efl] 2ecore_pub_deps = [eina, eo, efl]
3 3
4pub_legacy_eo_files = [ 4pub_legacy_eo_files = [
5 'ecore_exe.eo',
6 'ecore_event_message.eo', 5 'ecore_event_message.eo',
7 'ecore_event_message_handler.eo', 6 'ecore_event_message_handler.eo',
8 'efl_loop_timer.eo'
9] 7]
10 8
11pub_eo_file_target = [] 9pub_eo_file_target = []
@@ -21,16 +19,6 @@ foreach eo_file : pub_legacy_eo_files
21 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), 19 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
22 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'), 20 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
23 '-gchd', '@INPUT@']) 21 '-gchd', '@INPUT@'])
24 pub_eo_file_target += custom_target('eolian_gen_legacy_' + eo_file,
25 input : eo_file,
26 output : [eo_file + '.legacy.h'],
27 depfile : eo_file + '.legacy.d',
28 install : true,
29 install_dir : dir_package_include,
30 command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
31 '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'),
32 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.d'),
33 '-gld', '@INPUT@'])
34endforeach 22endforeach
35 23
36pub_eo_files = [ 24pub_eo_files = [
@@ -70,7 +58,6 @@ pub_eo_files = [
70 'efl_loop_model.eo', 58 'efl_loop_model.eo',
71 'efl_generic_model.eo', 59 'efl_generic_model.eo',
72 'efl_container_model.eo', 60 'efl_container_model.eo',
73 'efl_container_model_item.eo',
74 'efl_boolean_model.eo', 61 'efl_boolean_model.eo',
75 'efl_select_model.eo', 62 'efl_select_model.eo',
76 'efl_composite_model.eo', 63 'efl_composite_model.eo',
@@ -78,6 +65,7 @@ pub_eo_files = [
78 'efl_core_env.eo', 65 'efl_core_env.eo',
79 'efl_core_proc_env.eo', 66 'efl_core_proc_env.eo',
80 'efl_core_command_line.eo', 67 'efl_core_command_line.eo',
68 'efl_loop_timer.eo',
81] 69]
82 70
83foreach eo_file : pub_eo_files 71foreach eo_file : pub_eo_files
@@ -94,9 +82,6 @@ foreach eo_file : pub_eo_files
94 '-gchd', '@INPUT@']) 82 '-gchd', '@INPUT@'])
95endforeach 83endforeach
96 84
97# special handling, because this is already eo API and legacy API
98pub_eo_files += ['efl_loop_timer.eo']
99
100pub_eo_types_files = [] 85pub_eo_types_files = []
101 86
102eolian_include_directories += ['-I', meson.current_source_dir()] 87eolian_include_directories += ['-I', meson.current_source_dir()]
@@ -108,7 +93,10 @@ ecore_header_src = [
108 'Ecore_Eo.h', 93 'Ecore_Eo.h',
109 'Efl_Core.h', 94 'Efl_Core.h',
110 'efl_general.h', 95 'efl_general.h',
111 'Ecore_Getopt.h' 96 'Ecore_Getopt.h',
97 'ecore_exe_eo.h',
98 'ecore_exe_eo.legacy.h',
99 'efl_loop_timer_eo.legacy.h',
112] 100]
113 101
114ecore_src = [ 102ecore_src = [
@@ -150,8 +138,6 @@ ecore_src = [
150 'efl_loop_model.c', 138 'efl_loop_model.c',
151 'efl_generic_model.c', 139 'efl_generic_model.c',
152 'efl_container_model.c', 140 'efl_container_model.c',
153 'efl_container_model_item.c',
154 'efl_container_model_private.h',
155 'efl_composite_model.c', 141 'efl_composite_model.c',
156 'efl_boolean_model.c', 142 'efl_boolean_model.c',
157 'efl_select_model.c', 143 'efl_select_model.c',