aboutsummaryrefslogblamecommitdiffstats
path: root/src/Makefile_Eolian_Cxx_Helper.am
blob: eb28a54e439d640377967c21050208b3b0f116ee (plain) (tree)
1
2
3
4
5
6



                              

                                                                                     







                                              




                                                                
                                             
                        
                           
                                              
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


#disable rules for subdir builds to avoid recursive dependencies
../%.eo.hh: %.eo $(_EOLIAN_CXX_DEP)
../%.eo.impl.hh: %.eo $(_EOLIAN_CXX_DEP)

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