aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Eolian_Js_Helper.am
blob: fc60a8db0d740be8245e966178100c2511dd76a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if HAVE_EOLIAN_JS
#EOLIAN_JS = @eolian_js@
#_EOLIAN_JS_DEP = @eolian_js@
#else
EOLIAN_JS = EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/eolian_js/eolian_js${EXEEXT}
_EOLIAN_JS_DEP = bin/eolian_js/eolian_js${EXEEXT}
#endif

AM_V_EOLJS = $(am__v_EOLJS_@AM_V@)
am__v_EOLJS_ = $(am__v_EOLJS_@AM_DEFAULT_V@)
am__v_EOLJS_0 = @echo "  EOLJS  " $@;

SUFFIXES += .eo.js.cc

%.eo.js.cc: %.eo $(_EOLIAN_JS_DEP)
	$(AM_V_EOLJS)$(EOLIAN_JS) $(EOLIAN_FLAGS) -o $@ $<