summaryrefslogtreecommitdiff
path: root/src/Makefile_Elua_Helper.am
blob: 870a7723d3ace5b6e076d6ffb6a85021b33b3562 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 \
	$(top_builddir)/src/bin/elua/elua${EXEEXT} \
	-I$(ELUA_BINDINGS_DIR) -C$(ELUA_CORE_DIR) -M$(ELUA_MODULES_DIR) \
	-A$(ELUA_APPS_DIR) lualian
_ELUA_GEN_DEP = bin/elua/elua${EXEEXT} scripts/elua/apps/lualian.lua \
	scripts/elua/modules/lualian.lua \
	scripts/elua/modules/getopt.lua scripts/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) -I$(srcdir) -o $@ $<

CLEANFILES += $(BUILT_SOURCES)