summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ecore_con/meson.build')
-rw-r--r--src/lib/ecore_con/meson.build40
1 files changed, 8 insertions, 32 deletions
diff --git a/src/lib/ecore_con/meson.build b/src/lib/ecore_con/meson.build
index d1375e2..d46a8cd 100644
--- a/src/lib/ecore_con/meson.build
+++ b/src/lib/ecore_con/meson.build
@@ -17,36 +17,6 @@ if ipv6
17 config_h.set('HAVE_IPV6', 1) 17 config_h.set('HAVE_IPV6', 1)
18endif 18endif
19 19
20pub_legacy_eo_files = [
21 'ecore_con_eet_base.eo',
22 'ecore_con_eet_server_obj.eo',
23 'ecore_con_eet_client_obj.eo'
24]
25
26pub_eo_file_target = []
27foreach eo_file : pub_legacy_eo_files
28 pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
29 input : eo_file,
30 output : [eo_file + '.h'],
31 depfile : eo_file + '.d',
32 install : true,
33 install_dir : dir_package_include,
34 command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
35 '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
36 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
37 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
38 '-gchd', '@INPUT@'])
39 pub_eo_file_target += custom_target('eolian_gen_legacy_' + eo_file,
40 input : eo_file,
41 output : [eo_file + '.legacy.h'],
42 depfile : eo_file + '.legacy.d',
43 install : true,
44 install_dir : dir_package_include,
45 command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
46 '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'),
47 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.d'),
48 '-gld', '@INPUT@'])
49endforeach
50 20
51pub_eo_files = [ 21pub_eo_files = [
52 'efl_net_socket.eo', 22 'efl_net_socket.eo',
@@ -133,7 +103,13 @@ ecore_con_header_src = [
133 'Efl_Net.h', 103 'Efl_Net.h',
134 'Ecore_Con_Eet.h', 104 'Ecore_Con_Eet.h',
135 'Ecore_Con_Eet_Legacy.h', 105 'Ecore_Con_Eet_Legacy.h',
136 'Ecore_Con_Eet_Eo.h' 106 'Ecore_Con_Eet_Eo.h',
107 'ecore_con_eet_base_eo.h',
108 'ecore_con_eet_base_eo.legacy.h',
109 'ecore_con_eet_client_obj_eo.h',
110 'ecore_con_eet_client_obj_eo.legacy.h',
111 'ecore_con_eet_server_obj_eo.h',
112 'ecore_con_eet_server_obj_eo.legacy.h'
137] 113]
138 114
139ecore_con_src = [ 115ecore_con_src = [
@@ -224,7 +200,7 @@ ecore_con = declare_dependency(
224 dependencies: ecore_con_pub_deps, 200 dependencies: ecore_con_pub_deps,
225) 201)
226 202
227install_data(pub_eo_files + pub_eo_types_files + pub_legacy_eo_files, 203install_data(pub_eo_files + pub_eo_types_files,
228 install_dir: eolian_ecore_dir 204 install_dir: eolian_ecore_dir
229) 205)
230 206