tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=bfe92631c6f6339e46c1a22b4754e61065a5c3bc

commit bfe92631c6f6339e46c1a22b4754e61065a5c3bc
Author: Tom Hacohen <t...@stosb.com>
Date:   Fri May 29 14:46:02 2015 +0100

    Evas: Add a general evas types header.
---
 src/Makefile_Eolian_Helper.am | 7 ++++++-
 src/Makefile_Evas.am          | 9 +++++++--
 src/lib/evas/Evas_Common.h    | 2 ++
 src/lib/evas/evas_types.eot   | 0
 4 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/src/Makefile_Eolian_Helper.am b/src/Makefile_Eolian_Helper.am
index faa2c64..34ea60f 100644
--- a/src/Makefile_Eolian_Helper.am
+++ b/src/Makefile_Eolian_Helper.am
@@ -10,7 +10,7 @@ AM_V_EOL = $(am__v_EOL_@AM_V@)
 am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@)
 am__v_EOL_0 = @echo "  EOLIAN  " $@;
 
-SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h
+SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h .eot .eot.h
 
 %.eo.c: %.eo ${_EOLIAN_GEN_DEP}
        $(AM_V_EOL) \
@@ -22,6 +22,11 @@ SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h
        $(MKDIR_P) $(dir $@); \
        $(EOLIAN_GEN) --eo $(EOLIAN_FLAGS) --gh -o $@ $<
 
+%.eot.h: %.eot ${_EOLIAN_GEN_DEP}
+       $(AM_V_EOL) \
+       $(MKDIR_P) $(dir $@); \
+       $(EOLIAN_GEN) --eo $(EOLIAN_FLAGS) --gh -o $@ $<
+
 %.eo.legacy.h: %.eo ${_EOLIAN_GEN_DEP}
        $(AM_V_EOL) \
        $(MKDIR_P) $(dir $@); \
diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am
index 3a2f4af..3058a84 100644
--- a/src/Makefile_Evas.am
+++ b/src/Makefile_Evas.am
@@ -42,9 +42,13 @@ evas_eolian_files = \
        lib/evas/canvas/efl_vg_gradient_radial.eo \
        lib/evas/canvas/efl_vg_gradient_linear.eo
 
+evas_eolian_type_files = \
+    lib/evas/evas_types.eot
+
 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)
+                $(evas_eolian_files:%.eo=%.eo.legacy.h) \
+                $(evas_eolian_type_files:%.eot=%.eot.h)
 
 BUILT_SOURCES += \
                  $(evas_eolian_c) \
@@ -56,7 +60,8 @@ CLEANFILES += \
 
 evaseolianfilesdir = $(datadir)/eolian/include/evas-@VMAJ@
 evaseolianfiles_DATA = \
-              $(evas_eolian_files)
+              $(evas_eolian_files) \
+              $(evas_eolian_type_files)
 
 EXTRA_DIST += \
               ${evaseolianfiles_DATA}
diff --git a/src/lib/evas/Evas_Common.h b/src/lib/evas/Evas_Common.h
index c3c33f1..d2f0f62 100644
--- a/src/lib/evas/Evas_Common.h
+++ b/src/lib/evas/Evas_Common.h
@@ -2,6 +2,8 @@
 # error You shall not include this header directly
 #endif
 
+#include "evas_types.eot.h"
+
 /**
  * @def EVAS_VERSION_MAJOR
  * The major number of evas version
diff --git a/src/lib/evas/evas_types.eot b/src/lib/evas/evas_types.eot
new file mode 100644
index 0000000..e69de29

-- 


Reply via email to