Lines Matching +full:install +full:- +full:module
14 # LUA_SRCS.mod sources for each module (by default: "${mod:S/./_/g}.lua")
17 # DPADD.mod additional dependencies for a specific module
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
75 CFLAGS+= -fPIC
80 ${LUAC} -o ${.TARGET} ${.IMPSRC}
89 LDADD+=-L${LIBDO.${_lib}} -l${_lib}
101 .error Module "${_M}" has too many source files
105 ## The module has Lua source and needs to be compiled
112 lua-all: ${LUA_TARG.${_M}}
116 ## The module has Lua source and can be installed directly
122 ## The module has other language source and we must build ${_M}.so
131 LUA_LDOPTS= -Wl,--warn-shared-textrel
133 LUA_LDOPTS+= -Wl,-x
135 LUA_LDOPTS+= -Wl,-X
142 lua-lint: ${LUA_LOBJ.${_M}}
143 lua-all: ${LUA_TARG.${_M}}
146 rm -f ${.TARGET}
147 ${CC} ${LUA_LDOPTS} -shared ${LUA_OBJS.${_M}} \
148 -Wl,-soname,${LUA_NAME.${_M}} -o ${.TARGET} \
154 LDADD+= -llua
157 ## module install rules
158 lua-install: ${DESTDIR}${LUA_DEST.${_M}}/${LUA_NAME.${_M}}
161 ${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \