73577bf01d
libjail is pretty small, so it makes for a good proof of concept demonstrating how a system library can be wrapped to create a loadable Lua module for flua. * Introduce 3lua section for man pages * Add libjail module Reviewed by: kevans, manpages Relnotes: yes Differential Revision: https://reviews.freebsd.org/D26080
17 lines
201 B
Makefile
17 lines
201 B
Makefile
# $FreeBSD$
|
|
|
|
SHLIB_NAME= jail.so
|
|
SHLIBDIR= ${LIBDIR}/flua
|
|
|
|
SRCS+= lua_jail.c
|
|
|
|
CFLAGS+= \
|
|
-I${SRCTOP}/contrib/lua/src \
|
|
-I${SRCTOP}/lib/liblua \
|
|
|
|
LIBADD+= jail
|
|
|
|
MAN= jail.3lua
|
|
|
|
.include <bsd.lib.mk>
|