summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian_Cxx_Helper.am
blob: 1b5ea61c474312bda537d830626b56de1c193490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
if HAVE_EOLIAN_CXX
EOLIAN_CXX = @eolian_cxx@
_EOLIAN_CXX_DEP = @eolian_cxx@
else
EOLIAN_CXX = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/eolian_cxx/eolian_cxx${EXEEXT}
_EOLIAN_CXX_DEP = bin/eolian_cxx/eolian_cxx${EXEEXT}
endif

AM_V_EOLCXX = $(am__v_EOLCXX_@AM_V@)
am__v_EOLCXX_ = $(am__v_EOLCXX_@AM_DEFAULT_V@)
am__v_EOLCXX_0 = @echo "  EOLCXX  " $@;

SUFFIXES += .eo.hh

%.eo.impl.hh %.eo.hh: %.eo $(_EOLIAN_CXX_DEP)
	$(AM_V_EOLCXX) \
	$(MKDIR_P) $(dir $@); \
	$(EOLIAN_CXX) $(EOLIAN_FLAGS) -o $@ $<