LUAC = luac
LUAC_OPTIONS = -s
-LUCI_INSTALLDIR = /usr/lib/lua/luci
\ No newline at end of file
+LUA_TARGET ?= source
+
+LUA_MODULEDIR = /usr/lib/lua
+LUA_LIBRARYDIR = /usr/lib/lua
+
+LUCI_MODULEDIR = $(LUA_MODULEDIR)/luci
+LUCI_LIBRARYDIR = $(LUA_LIBRARYDIR)/luci
+
+UVL_SCHEMEDIR = host/lib/uci/schema
+
+HTDOCS = /www
+
+LUA=$(shell which lua)
+XSLTPROC=$(shell which xsltproc)