Lines Matching refs:lua
1 # $NetBSD: bsd.lua.mk,v 1.10 2023/06/03 21:24:57 lukem Exp $
9 # LUA_LIBDIR ${LIBDIR}/lua/${LUA_VERSION}
14 # LUA_SRCS.mod sources for each module (by default: "${mod:S/./_/g}.lua")
20 # HAVE_LUAC if defined, .lua source files will be compiled with ${LUAC}
30 # currently make(depend) and make(tags) do not support .lua sources; We
38 # The Lua binary searches /usr/share/lua/5.4/ at this time and we could
39 # install .lua modules there which would mean slightly less duplication
41 # being installed so we just install everything under /usr/lib/lua/5.4/
53 realinstall: .PHONY lua-install
54 realall: .PHONY lua-all
55 lint: .PHONY lua-lint
57 lua-install: .PHONY
59 lua-all: .PHONY
61 lua-lint: .PHONY
68 LUA_LIBDIR?= ${LIBDIR}/lua/${LUA_VERSION}
77 .SUFFIXES: .lua .luac
78 .lua.luac:
96 LUA_SRCS.${_M}?=${_M:S/./_/g}.lua
99 .if !empty(LUA_SRCS.${_M}:M*.lua)
112 lua-all: ${LUA_TARG.${_M}}
118 LUA_NAME.${_M}=${_M:S/./\//g:T}.lua
123 LUA_OBJS.${_M}=${LUA_SRCS.${_M}:N*.lua:R:S/$/.o/g}
142 lua-lint: ${LUA_LOBJ.${_M}}
143 lua-all: ${LUA_TARG.${_M}}
158 lua-install: ${DESTDIR}${LUA_DEST.${_M}}/${LUA_NAME.${_M}}