summaryrefslogtreecommitdiff
path: root/src/Makefile_Elua_Helper.am
blob: d6f383c9274a758dd22bdb2e5a0e5787c1611c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
if HAVE_ELUA_BIN
ELUA_GEN = @elua_bin@ :lualian
_ELUA_GEN_DEP = @elua_bin@
else
ELUA_GEN = ELUA_EOLIAN_LIBRARY_PATH=$(top_builddir)/src/lib/eolian/.libs \
	EFL_RUN_IN_TREE=1 $(top_builddir)/src/bin/elua/elua${EXEEXT} :lualian
_ELUA_GEN_DEP = bin/elua/elua${EXEEXT}
endif

AM_V_ELUA = $(am__v_ELUA_@AM_V@)
am__v_ELUA_ = $(am__v_ELUA_@AM_DEFAULT_V@)
am__v_ELUA_0 = @echo "  ELUA    " $@;

SUFFIXES += .lua

%.eo.lua: %.eo ${_ELUA_GEN_DEP} bin/elua/modules/lualian.lua
	$(AM_V_ELUA)$(ELUA_GEN) $(EOLIAN_FLAGS) -o $@ $<

CLEANFILES += $(BUILT_SOURCES)