xref: /freebsd/lib/liblutok/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1LIB_CXX=	lutok
2INTERNALLIB=
3
4LIBADD=		lua
5
6.PATH: ${SRCTOP}/contrib/lutok
7SRCS=	c_gate.cpp		\
8	debug.cpp		\
9	exceptions.cpp		\
10	operations.cpp		\
11	stack_cleaner.cpp	\
12	state.cpp
13
14CFLAGS+=	-I${SRCTOP}/contrib/lutok/include \
15		-I${SRCTOP}/lib/liblua	\
16		-I${SRCTOP}/contrib/lua/src
17
18WARNS?=	3
19SHLIB_MAJOR=	0
20
21# lutok uses auto_ptr
22CFLAGS+=	-Wno-deprecated-declarations
23CXXSTD=		c++11
24
25.include <bsd.lib.mk>
26