summaryrefslogtreecommitdiff
path: root/src/Makefile_Elua_Helper.am
blob: ff2e5d0a1e1453884ba936f986a2c0c70a01e6df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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} bin/elua/apps/lualian.lua \
	bin/elua/modules/lualian.lua \
	bin/elua/modules/getopt.lua bin/elua/core/util.lua \
	bindings/luajit/eina/log.lua bindings/luajit/eina/iterator.lua \
	bindings/luajit/eolian.lua
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}
	$(AM_V_ELUA)$(ELUA_GEN) $(EOLIAN_FLAGS) -o $@ $<

CLEANFILES += $(BUILT_SOURCES)