aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eolian_Files_Helper.am
blob: 35bf1318ccd1d2d325bead5b93a4668dc04db84e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

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 .eot .eot.h


#disable rules for subdir builds to avoid recursive dependencies
../%.eo.c: %.eo ${_EOLIAN_GEN_DEP}
../%.eo.h: %.eo ${_EOLIAN_GEN_DEP}
../%.eot.h: %.eot ${_EOLIAN_GEN_DEP}
../%.eo.legacy.h: %.eo ${_EOLIAN_GEN_DEP}

%.eo.c: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(@D); \
	$(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gc -o c:$@ $<

%.eo.h: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(@D); \
	$(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gh -o h:$@ $<

%.eot.h: %.eot ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(@D); \
	$(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gh -o h:$@ $<

%.eo.legacy.h: %.eo ${_EOLIAN_GEN_DEP}
	$(AM_V_EOL) \
	$(MKDIR_P) $(@D); \
	$(EOLIAN_GEN) $(EOLIAN_FLAGS) $(EOLIAN_GEN_FLAGS) -gl -o l:$@ $<