summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian_Helper.am
blob: d6be928bdf1712a17f996a93160085fecc0372dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
if HAVE_EOLIAN_GEN
EOLIAN_GEN = @eolian_gen@
else
EOLIAN_GEN = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/eolian/eolian_gen${EXEEXT}
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