HardenedBSD/lib/liblutok/Makefile
Warner Losh d0b2dbfa0e Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2023-08-16 11:55:03 -06:00

27 lines
407 B
Makefile

LIB_CXX= lutok
INTERNALLIB=
LIBADD= lua
.PATH: ${SRCTOP}/contrib/lutok
SRCS= c_gate.cpp \
debug.cpp \
exceptions.cpp \
operations.cpp \
stack_cleaner.cpp \
state.cpp
CFLAGS+= -I${SRCTOP}/contrib/lutok/include \
-I${SRCTOP}/lib/liblua \
-I${SRCTOP}/contrib/lua/src
WARNS?= 3
SHLIB_MAJOR= 0
# lutok uses auto_ptr
CFLAGS+= -Wno-deprecated-declarations
CXXSTD= c++11
.include <bsd.lib.mk>