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