summaryrefslogtreecommitdiff
path: root/Makefile_Eolian_Helper.am
blob: a727096503e60e7126e99bf826609fad3ae38f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
EOLIAN_GEN = @eolian_gen@
_EOLIAN_GEN_DEP = @eolian_gen@

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

%.eo.c: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL)$(EOLIAN_GEN) --eo1 --legacy $(EOLIAN_FLAGS) --gc -o $@ $<

%.eo.h: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL)$(EOLIAN_GEN) --eo1 $(EOLIAN_FLAGS) --gh -o $@ $<

%.eo.legacy.h: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL)$(EOLIAN_GEN) --legacy $(EOLIAN_FLAGS) --gh -o $@ $<

CLEANFILES += $(BUILT_SOURCES)