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