summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian_Helper.am
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-02-26 15:42:15 +0000
committerDaniel Zaoui <daniel.zaoui@samsung.com>2014-03-03 14:09:57 +0200
commitb3beeb42448ad068eb77c13c9e3aa962332f7ab4 (patch)
treefb740935de143378366c11b6964feea46c48f2e9 /src/Makefile_Eolian_Helper.am
parent67dd5ef497ae08a2943d3fae64ec91c56701dc6e (diff)
Eolian: Updated Eolian_Helper.
In order to use, you need to do as follows: Add include /src/Makefile_Eolian_Helper.am To the Makefile.am that uses it. Put .eo files in extra dist, e.g: EXTRA_DIST = elm_code.eo Add all the files you'd like to generate in BUILT_SOURCES, e.g: BUILT_SOURCES = elm_code.eo.c elm_code.eo.h elm_code.eo.legacy.h
Diffstat (limited to 'src/Makefile_Eolian_Helper.am')
-rw-r--r--src/Makefile_Eolian_Helper.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Makefile_Eolian_Helper.am b/src/Makefile_Eolian_Helper.am
index 414f1fe..d6be928 100644
--- a/src/Makefile_Eolian_Helper.am
+++ b/src/Makefile_Eolian_Helper.am
@@ -7,3 +7,16 @@ endif
7AM_V_EOL = $(am__v_EOL_@AM_V@) 7AM_V_EOL = $(am__v_EOL_@AM_V@)
8am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@) 8am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@)
9am__v_EOL_0 = @echo " EOLIAN " $@; 9am__v_EOL_0 = @echo " EOLIAN " $@;
10
11#EOLIAN RELATED, THAT SHOULD BE PUT IN M4
12SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h
13
14.eo.eo.c:
15 $(AM_V_EOL)$(EOLIAN_GEN) --eo1 --legacy $(EOLIAN_FLAGS) --gc -o $@ $<
16
17.eo.eo.h:
18 $(AM_V_EOL)$(EOLIAN_GEN) --eo1 $(EOLIAN_FLAGS) --gh -o $@ $<
19
20.eo.eo.legacy.h:
21 $(AM_V_EOL)$(EOLIAN_GEN) --legacy $(EOLIAN_FLAGS) --gh -o $@ $<
22#END OF EOLIAN RELATED