summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/meson.build')
-rw-r--r--src/lib/evas/canvas/meson.build48
1 files changed, 20 insertions, 28 deletions
diff --git a/src/lib/evas/canvas/meson.build b/src/lib/evas/canvas/meson.build
index c11d902..e0e6b33 100644
--- a/src/lib/evas/canvas/meson.build
+++ b/src/lib/evas/canvas/meson.build
@@ -1,31 +1,4 @@
1 1
2pub_legacy_eo_files = [
3 'evas_canvas.eo',
4 'evas_line.eo',
5 'evas_table.eo',
6 'evas_grid.eo',
7 'evas_box.eo',
8 'evas_text.eo',
9 'evas_textgrid.eo',
10 'evas_image.eo',
11]
12
13foreach eo_file : pub_legacy_eo_files
14 pub_eo_file_target += custom_target('eolian_gen_' + eo_file,
15 input : eo_file,
16 output : [eo_file + '.legacy.h',],
17 depfile : eo_file + '.d',
18 install : true,
19 install_dir : join_paths(dir_package_include, 'canvas'),
20 command : eolian_gen + [ '-I', meson.current_source_dir(), eolian_include_directories,
21 '-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
22 '-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'),
23 '-o', 'l:' + join_paths(meson.current_build_dir(), eo_file + '.legacy.h'),
24 '-o', 'd:' + join_paths(meson.current_build_dir(), eo_file + '.d'),
25 '-gchld', '@INPUT@'])
26
27endforeach
28
29pub_eo_files = [ 2pub_eo_files = [
30 'efl_canvas_polygon.eo', 3 'efl_canvas_polygon.eo',
31 'efl_canvas_image_internal.eo', 4 'efl_canvas_image_internal.eo',
@@ -130,6 +103,25 @@ endforeach
130 103
131pub_evas_eot_files += files(pub_eo_types_files) 104pub_evas_eot_files += files(pub_eo_types_files)
132 105
106evas_legacy_h = files([
107 'efl_canvas_event_grabber_eo.legacy.h',
108 'efl_canvas_group_eo.legacy.h',
109 'efl_canvas_object_eo.legacy.h',
110 'efl_canvas_text_eo.legacy.h',
111 'efl_canvas_vg_container_eo.legacy.h',
112 'efl_canvas_vg_node_eo.legacy.h',
113 'efl_canvas_vg_object_eo.legacy.h',
114 'efl_canvas_vg_shape_eo.legacy.h',
115 'evas_box_eo.legacy.h',
116 'evas_canvas_eo.legacy.h',
117 'evas_grid_eo.legacy.h',
118 'evas_image_eo.legacy.h',
119 'evas_line_eo.legacy.h',
120 'evas_table_eo.legacy.h',
121 'evas_text_eo.legacy.h',
122 'evas_textgrid_eo.legacy.h',
123])
124
133evas_src += files([ 125evas_src += files([
134 'evas_callbacks.c', 126 'evas_callbacks.c',
135 'evas_clip.c', 127 'evas_clip.c',
@@ -218,7 +210,7 @@ evas_src += files([
218 210
219evas_include_directories += include_directories('.') 211evas_include_directories += include_directories('.')
220 212
221install_headers('evas_textblock_legacy.h', 213install_headers(['evas_textblock_legacy.h', evas_legacy_h],
222 install_dir : join_paths(dir_package_include, 'canvas'), 214 install_dir : join_paths(dir_package_include, 'canvas'),
223) 215)
224 216