aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2015-05-29 14:46:02 +0100
committerTom Hacohen <tom@stosb.com>2015-05-29 14:46:16 +0100
commitbfe92631c6f6339e46c1a22b4754e61065a5c3bc (patch)
treea9c167a17a116cbc6555c9382f1b591a2a0c23d9 /src
parentEfl gfx shape: Use correct class names in .eo file. (diff)
downloadefl-bfe92631c6f6339e46c1a22b4754e61065a5c3bc.tar.gz
Evas: Add a general evas types header.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile_Eolian_Helper.am7
-rw-r--r--src/Makefile_Evas.am9
-rw-r--r--src/lib/evas/Evas_Common.h2
-rw-r--r--src/lib/evas/evas_types.eot0
4 files changed, 15 insertions, 3 deletions
diff --git a/src/Makefile_Eolian_Helper.am b/src/Makefile_Eolian_Helper.am
index faa2c643bf..34ea60fc3a 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 3a2f4af055..3058a84f2f 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 c3c33f1cc7..d2f0f6268b 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 0000000000..e69de29bb2
--- /dev/null
+++ b/src/lib/evas/evas_types.eot