4 LUASRC?= ${SRCTOP}/contrib/lua/src
9 MAN= # No manpage; this is internal.
11 CWARNFLAGS.gcc+= -Wno-format-nonliteral
19 .PATH: ${.CURDIR}/modules
21 SRCS+= lfs.c lposix.c lfbsd.c
23 CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC}
24 CFLAGS+= -DLUA_PROGNAME="\"${PROG}\""
26 # readline bits; these aren't needed if we're building a bootstrap flua, as we
27 # don't expect that one to see any REPL usage.
28 .if !defined(BOOTSTRAPPING)
29 CFLAGS+= -DLUA_USE_READLINE
30 CFLAGS+= -I${SRCTOP}/lib/libedit -I${SRCTOP}/contrib/libedit
35 UCLSRC?= ${SRCTOP}/contrib/libucl
38 CFLAGS+= -I${UCLSRC}/include -I${UCLSRC}/src -I${UCLSRC}/uthash
41 .include <bsd.prog.mk>