5 LUASRC?= ${SRCTOP}/contrib/lua/src
10 MAN= # No manpage; this is internal.
12 CWARNFLAGS.gcc+= -Wno-format-nonliteral
17 SRCS= lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c \
18 lmem.c lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c \
19 ltm.c lundump.c lvm.c lzio.c
21 # Library functions; any change to these likely needs an accompanying change
22 # in our custom linit_flua.c. We use our custom linit.c to make it easier to
23 # support bootstrap flua that may not have supporting local libraries.
24 SRCS+= lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c \
25 lmathlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c loadlib.c
31 .PATH: ${.CURDIR}/modules
35 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/modules -I${LUASRC}
36 CFLAGS+= -DLUA_PROGNAME="\"${PROG}\""
38 .include <bsd.prog.mk>