aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Evas.am
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-10-02 16:52:45 +0100
committerTom Hacohen <tom@stosb.com>2014-10-02 16:54:08 +0100
commit23143148f1a02b605bbdbc839e6d0c60dd6df300 (patch)
tree009be6d0f8516a87cd9090033cdbfe176b5ea6d2 /src/Makefile_Evas.am
parentevas: tests tgv file decoding. (diff)
downloadefl-23143148f1a02b605bbdbc839e6d0c60dd6df300.tar.gz
Build system: Clean up the generation of sources from eolian.
This cleans up a lot of the build system. This makes everything consistent, clean, less redundant and also fixes the issue of make clean not cleaning up generated files.
Diffstat (limited to 'src/Makefile_Evas.am')
-rw-r--r--src/Makefile_Evas.am196
1 files changed, 44 insertions, 152 deletions
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index 12919ae48b..44fa5340c4 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -1,116 +1,53 @@
### Library
+evas_eolian_files = \
+ lib/evas/canvas/evas_object.eo \
+ lib/evas/canvas/evas_line.eo \
+ lib/evas/canvas/evas_polygon.eo \
+ lib/evas/canvas/evas_rectangle.eo \
+ lib/evas/canvas/evas_text.eo \
+ lib/evas/canvas/evas_textblock.eo \
+ lib/evas/canvas/evas_textgrid.eo \
+ lib/evas/canvas/evas_signal_interface.eo \
+ lib/evas/canvas/evas_object_smart.eo \
+ lib/evas/canvas/evas_smart_clipped.eo \
+ lib/evas/canvas/evas_table.eo \
+ lib/evas/canvas/evas_common_interface.eo \
+ lib/evas/canvas/evas_canvas.eo \
+ lib/evas/canvas/evas_grid.eo \
+ lib/evas/canvas/evas_image.eo \
+ lib/evas/canvas/evas_out.eo \
+ lib/evas/canvas/evas_draggable_interface.eo \
+ lib/evas/canvas/evas_clickable_interface.eo \
+ lib/evas/canvas/evas_scrollable_interface.eo \
+ lib/evas/canvas/evas_selectable_interface.eo \
+ lib/evas/canvas/evas_zoomable_interface.eo \
+ lib/evas/canvas/evas_box.eo\
+ lib/evas/canvas/evas_3d_camera.eo\
+ lib/evas/canvas/evas_3d_texture.eo\
+ lib/evas/canvas/evas_3d_material.eo\
+ lib/evas/canvas/evas_3d_light.eo\
+ lib/evas/canvas/evas_3d_mesh.eo\
+ lib/evas/canvas/evas_3d_node.eo\
+ lib/evas/canvas/evas_3d_scene.eo\
+ lib/evas/canvas/evas_3d_object.eo
+
+evas_eolian_c = $(evas_eolian_files:%.eo=%.eo.c)
+evas_eolian_h = $(evas_eolian_files:%.eo=%.eo.h) \
+ $(evas_eolian_files:%.eo=%.eo.legacy.h)
+
BUILT_SOURCES += \
- lib/evas/canvas/evas_line.eo.c \
- lib/evas/canvas/evas_line.eo.h \
- lib/evas/canvas/evas_line.eo.legacy.h \
- lib/evas/canvas/evas_polygon.eo.c \
- lib/evas/canvas/evas_polygon.eo.h \
- lib/evas/canvas/evas_polygon.eo.legacy.h \
- lib/evas/canvas/evas_rectangle.eo.c \
- lib/evas/canvas/evas_rectangle.eo.h \
- lib/evas/canvas/evas_rectangle.eo.legacy.h \
- lib/evas/canvas/evas_text.eo.c \
- lib/evas/canvas/evas_text.eo.h \
- lib/evas/canvas/evas_text.eo.legacy.h \
- lib/evas/canvas/evas_textblock.eo.c \
- lib/evas/canvas/evas_textblock.eo.h \
- lib/evas/canvas/evas_textblock.eo.legacy.h \
- lib/evas/canvas/evas_textgrid.eo.c \
- lib/evas/canvas/evas_textgrid.eo.h \
- lib/evas/canvas/evas_textgrid.eo.legacy.h \
- lib/evas/canvas/evas_signal_interface.eo.c \
- lib/evas/canvas/evas_signal_interface.eo.h \
- lib/evas/canvas/evas_object_smart.eo.c \
- lib/evas/canvas/evas_object_smart.eo.h \
- lib/evas/canvas/evas_object_smart.eo.legacy.h \
- lib/evas/canvas/evas_smart_clipped.eo.c \
- lib/evas/canvas/evas_smart_clipped.eo.h \
- lib/evas/canvas/evas_smart_clipped.eo.legacy.h \
- lib/evas/canvas/evas_table.eo.c \
- lib/evas/canvas/evas_table.eo.h \
- lib/evas/canvas/evas_table.eo.legacy.h \
- lib/evas/canvas/evas_common_interface.eo.c \
- lib/evas/canvas/evas_common_interface.eo.h \
- lib/evas/canvas/evas_common_interface.eo.legacy.h \
- lib/evas/canvas/evas_object.eo.c \
- lib/evas/canvas/evas_object.eo.h \
- lib/evas/canvas/evas_object.eo.legacy.h \
- lib/evas/canvas/evas_canvas.eo.c \
- lib/evas/canvas/evas_canvas.eo.h \
- lib/evas/canvas/evas_canvas.eo.legacy.h \
- lib/evas/canvas/evas_grid.eo.c \
- lib/evas/canvas/evas_grid.eo.h \
- lib/evas/canvas/evas_grid.eo.legacy.h \
- lib/evas/canvas/evas_image.eo.c \
- lib/evas/canvas/evas_image.eo.h \
- lib/evas/canvas/evas_image.eo.legacy.h \
- lib/evas/canvas/evas_out.eo.c \
- lib/evas/canvas/evas_out.eo.h \
- lib/evas/canvas/evas_out.eo.legacy.h \
- lib/evas/canvas/evas_draggable_interface.eo.c \
- lib/evas/canvas/evas_draggable_interface.eo.h \
- lib/evas/canvas/evas_clickable_interface.eo.c \
- lib/evas/canvas/evas_clickable_interface.eo.h \
- lib/evas/canvas/evas_scrollable_interface.eo.c \
- lib/evas/canvas/evas_scrollable_interface.eo.h \
- lib/evas/canvas/evas_selectable_interface.eo.c \
- lib/evas/canvas/evas_selectable_interface.eo.h \
- lib/evas/canvas/evas_zoomable_interface.eo.c \
- lib/evas/canvas/evas_zoomable_interface.eo.h \
- lib/evas/canvas/evas_box.eo.c \
- lib/evas/canvas/evas_box.eo.h \
- lib/evas/canvas/evas_box.eo.legacy.h \
- lib/evas/canvas/evas_3d_camera.eo.c\
- lib/evas/canvas/evas_3d_camera.eo.h\
- lib/evas/canvas/evas_3d_texture.eo.c\
- lib/evas/canvas/evas_3d_texture.eo.h\
- lib/evas/canvas/evas_3d_material.eo.c\
- lib/evas/canvas/evas_3d_material.eo.h\
- lib/evas/canvas/evas_3d_light.eo.c\
- lib/evas/canvas/evas_3d_light.eo.h\
- lib/evas/canvas/evas_3d_mesh.eo.c\
- lib/evas/canvas/evas_3d_mesh.eo.h\
- lib/evas/canvas/evas_3d_node.eo.c\
- lib/evas/canvas/evas_3d_node.eo.h\
- lib/evas/canvas/evas_3d_scene.eo.c\
- lib/evas/canvas/evas_3d_scene.eo.h\
- lib/evas/canvas/evas_3d_object.eo.c\
- lib/evas/canvas/evas_3d_object.eo.h
+ $(evas_eolian_c) \
+ $(evas_eolian_h)
+
+CLEANFILES += \
+ $(evas_eolian_c) \
+ $(evas_eolian_h)
evaseolianfilesdir = $(datadir)/eolian/include/evas-@VMAJ@
evaseolianfiles_DATA = \
- lib/evas/canvas/evas_object.eo \
- lib/evas/canvas/evas_line.eo \
- lib/evas/canvas/evas_polygon.eo \
- lib/evas/canvas/evas_rectangle.eo \
- lib/evas/canvas/evas_text.eo \
- lib/evas/canvas/evas_textblock.eo \
- lib/evas/canvas/evas_textgrid.eo \
- lib/evas/canvas/evas_signal_interface.eo \
- lib/evas/canvas/evas_object_smart.eo \
- lib/evas/canvas/evas_smart_clipped.eo \
- lib/evas/canvas/evas_table.eo \
- lib/evas/canvas/evas_common_interface.eo \
- lib/evas/canvas/evas_canvas.eo \
- lib/evas/canvas/evas_grid.eo \
- lib/evas/canvas/evas_image.eo \
- lib/evas/canvas/evas_out.eo \
- lib/evas/canvas/evas_draggable_interface.eo \
- lib/evas/canvas/evas_clickable_interface.eo \
- lib/evas/canvas/evas_scrollable_interface.eo \
- lib/evas/canvas/evas_selectable_interface.eo \
- lib/evas/canvas/evas_zoomable_interface.eo \
- lib/evas/canvas/evas_box.eo\
- lib/evas/canvas/evas_3d_camera.eo\
- lib/evas/canvas/evas_3d_texture.eo\
- lib/evas/canvas/evas_3d_material.eo\
- lib/evas/canvas/evas_3d_light.eo\
- lib/evas/canvas/evas_3d_mesh.eo\
- lib/evas/canvas/evas_3d_node.eo\
- lib/evas/canvas/evas_3d_scene.eo\
- lib/evas/canvas/evas_3d_object.eo
+ $(evas_eolian_files)
EXTRA_DIST += \
${evaseolianfiles_DATA}
@@ -129,52 +66,7 @@ lib/evas/Evas_Loader.h
installed_evascanvasheadersdir = $(includedir)/evas-@VMAJ@/canvas
nodist_installed_evascanvasheaders_DATA = \
- lib/evas/canvas/evas_line.eo.h \
- lib/evas/canvas/evas_polygon.eo.h \
- lib/evas/canvas/evas_rectangle.eo.h \
- lib/evas/canvas/evas_text.eo.h \
- lib/evas/canvas/evas_textblock.eo.h \
- lib/evas/canvas/evas_textgrid.eo.h \
- lib/evas/canvas/evas_signal_interface.eo.h \
- lib/evas/canvas/evas_object_smart.eo.h \
- lib/evas/canvas/evas_smart_clipped.eo.h \
- lib/evas/canvas/evas_table.eo.h \
- lib/evas/canvas/evas_common_interface.eo.h \
- lib/evas/canvas/evas_object.eo.h \
- lib/evas/canvas/evas_canvas.eo.h \
- lib/evas/canvas/evas_grid.eo.h \
- lib/evas/canvas/evas_image.eo.h \
- lib/evas/canvas/evas_out.eo.h \
- lib/evas/canvas/evas_draggable_interface.eo.h \
- lib/evas/canvas/evas_clickable_interface.eo.h \
- lib/evas/canvas/evas_scrollable_interface.eo.h \
- lib/evas/canvas/evas_selectable_interface.eo.h \
- lib/evas/canvas/evas_zoomable_interface.eo.h \
- lib/evas/canvas/evas_box.eo.h \
- lib/evas/canvas/evas_line.eo.legacy.h \
- lib/evas/canvas/evas_polygon.eo.legacy.h \
- lib/evas/canvas/evas_rectangle.eo.legacy.h \
- lib/evas/canvas/evas_text.eo.legacy.h \
- lib/evas/canvas/evas_textblock.eo.legacy.h \
- lib/evas/canvas/evas_textgrid.eo.legacy.h \
- lib/evas/canvas/evas_table.eo.legacy.h \
- lib/evas/canvas/evas_object_smart.eo.legacy.h \
- lib/evas/canvas/evas_smart_clipped.eo.legacy.h \
- lib/evas/canvas/evas_common_interface.eo.legacy.h \
- lib/evas/canvas/evas_object.eo.legacy.h \
- lib/evas/canvas/evas_grid.eo.legacy.h \
- lib/evas/canvas/evas_image.eo.legacy.h \
- lib/evas/canvas/evas_out.eo.legacy.h \
- lib/evas/canvas/evas_box.eo.legacy.h \
- lib/evas/canvas/evas_canvas.eo.legacy.h \
- lib/evas/canvas/evas_3d_camera.eo.h \
- lib/evas/canvas/evas_3d_light.eo.h \
- lib/evas/canvas/evas_3d_material.eo.h \
- lib/evas/canvas/evas_3d_mesh.eo.h \
- lib/evas/canvas/evas_3d_node.eo.h \
- lib/evas/canvas/evas_3d_object.eo.h \
- lib/evas/canvas/evas_3d_scene.eo.h \
- lib/evas/canvas/evas_3d_texture.eo.h
+ $(evas_eolian_h)
noinst_HEADERS = \
lib/evas/include/evas_inline.x \