diff options
author | Tom Hacohen <tom@stosb.com> | 2015-05-29 14:46:02 +0100 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2015-05-29 14:46:16 +0100 |
commit | bfe92631c6f6339e46c1a22b4754e61065a5c3bc (patch) | |
tree | a9c167a17a116cbc6555c9382f1b591a2a0c23d9 | |
parent | 12f22950722ef884f3481a386d40539f01ec2b57 (diff) |
Evas: Add a general evas types header.
-rw-r--r-- | src/Makefile_Eolian_Helper.am | 7 | ||||
-rw-r--r-- | src/Makefile_Evas.am | 9 | ||||
-rw-r--r-- | src/lib/evas/Evas_Common.h | 2 | ||||
-rw-r--r-- | 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 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@) | |||
10 | am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@) | 10 | am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@) |
11 | am__v_EOL_0 = @echo " EOLIAN " $@; | 11 | am__v_EOL_0 = @echo " EOLIAN " $@; |
12 | 12 | ||
13 | SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h | 13 | SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h .eot .eot.h |
14 | 14 | ||
15 | %.eo.c: %.eo ${_EOLIAN_GEN_DEP} | 15 | %.eo.c: %.eo ${_EOLIAN_GEN_DEP} |
16 | $(AM_V_EOL) \ | 16 | $(AM_V_EOL) \ |
@@ -22,6 +22,11 @@ SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h | |||
22 | $(MKDIR_P) $(dir $@); \ | 22 | $(MKDIR_P) $(dir $@); \ |
23 | $(EOLIAN_GEN) --eo $(EOLIAN_FLAGS) --gh -o $@ $< | 23 | $(EOLIAN_GEN) --eo $(EOLIAN_FLAGS) --gh -o $@ $< |
24 | 24 | ||
25 | %.eot.h: %.eot ${_EOLIAN_GEN_DEP} | ||
26 | $(AM_V_EOL) \ | ||
27 | $(MKDIR_P) $(dir $@); \ | ||
28 | $(EOLIAN_GEN) --eo $(EOLIAN_FLAGS) --gh -o $@ $< | ||
29 | |||
25 | %.eo.legacy.h: %.eo ${_EOLIAN_GEN_DEP} | 30 | %.eo.legacy.h: %.eo ${_EOLIAN_GEN_DEP} |
26 | $(AM_V_EOL) \ | 31 | $(AM_V_EOL) \ |
27 | $(MKDIR_P) $(dir $@); \ | 32 | $(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 = \ | |||
42 | lib/evas/canvas/efl_vg_gradient_radial.eo \ | 42 | lib/evas/canvas/efl_vg_gradient_radial.eo \ |
43 | lib/evas/canvas/efl_vg_gradient_linear.eo | 43 | lib/evas/canvas/efl_vg_gradient_linear.eo |
44 | 44 | ||
45 | evas_eolian_type_files = \ | ||
46 | lib/evas/evas_types.eot | ||
47 | |||
45 | evas_eolian_c = $(evas_eolian_files:%.eo=%.eo.c) | 48 | evas_eolian_c = $(evas_eolian_files:%.eo=%.eo.c) |
46 | evas_eolian_h = $(evas_eolian_files:%.eo=%.eo.h) \ | 49 | evas_eolian_h = $(evas_eolian_files:%.eo=%.eo.h) \ |
47 | $(evas_eolian_files:%.eo=%.eo.legacy.h) | 50 | $(evas_eolian_files:%.eo=%.eo.legacy.h) \ |
51 | $(evas_eolian_type_files:%.eot=%.eot.h) | ||
48 | 52 | ||
49 | BUILT_SOURCES += \ | 53 | BUILT_SOURCES += \ |
50 | $(evas_eolian_c) \ | 54 | $(evas_eolian_c) \ |
@@ -56,7 +60,8 @@ CLEANFILES += \ | |||
56 | 60 | ||
57 | evaseolianfilesdir = $(datadir)/eolian/include/evas-@VMAJ@ | 61 | evaseolianfilesdir = $(datadir)/eolian/include/evas-@VMAJ@ |
58 | evaseolianfiles_DATA = \ | 62 | evaseolianfiles_DATA = \ |
59 | $(evas_eolian_files) | 63 | $(evas_eolian_files) \ |
64 | $(evas_eolian_type_files) | ||
60 | 65 | ||
61 | EXTRA_DIST += \ | 66 | EXTRA_DIST += \ |
62 | ${evaseolianfiles_DATA} | 67 | ${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 @@ | |||
2 | # error You shall not include this header directly | 2 | # error You shall not include this header directly |
3 | #endif | 3 | #endif |
4 | 4 | ||
5 | #include "evas_types.eot.h" | ||
6 | |||
5 | /** | 7 | /** |
6 | * @def EVAS_VERSION_MAJOR | 8 | * @def EVAS_VERSION_MAJOR |
7 | * The major number of evas version | 9 | * 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 | |||