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
This commit is contained in:
Tom Hacohen 2014-02-26 15:42:15 +00:00 committed by Daniel Zaoui
parent 67dd5ef497
commit b3beeb4244
1 changed files with 13 additions and 0 deletions

View File

@ -7,3 +7,16 @@ endif
AM_V_EOL = $(am__v_EOL_@AM_V@)
am__v_EOL_ = $(am__v_EOL_@AM_DEFAULT_V@)
am__v_EOL_0 = @echo " EOLIAN " $@;
#EOLIAN RELATED, THAT SHOULD BE PUT IN M4
SUFFIXES = .eo .eo.c .eo.h .eo.legacy.h
.eo.eo.c:
$(AM_V_EOL)$(EOLIAN_GEN) --eo1 --legacy $(EOLIAN_FLAGS) --gc -o $@ $<
.eo.eo.h:
$(AM_V_EOL)$(EOLIAN_GEN) --eo1 $(EOLIAN_FLAGS) --gh -o $@ $<
.eo.eo.legacy.h:
$(AM_V_EOL)$(EOLIAN_GEN) --legacy $(EOLIAN_FLAGS) --gh -o $@ $<
#END OF EOLIAN RELATED