Changeset View
Changeset View
Standalone View
Standalone View
libexec/flua/Makefile
Show All 13 Lines | |||||
LIBADD= lua | LIBADD= lua | ||||
# Entry point | # Entry point | ||||
SRCS+= lua.c | SRCS+= lua.c | ||||
# FreeBSD Extensions | # FreeBSD Extensions | ||||
.PATH: ${.CURDIR}/modules | .PATH: ${.CURDIR}/modules | ||||
SRCS+= linit_flua.c | SRCS+= linit_flua.c | ||||
SRCS+= lfs.c lposix.c | SRCS+= lfetch.c lfs.c lposix.c | ||||
CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC} | CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC} | ||||
CFLAGS+= -DLUA_PROGNAME="\"${PROG}\"" | CFLAGS+= -DLUA_PROGNAME="\"${PROG}\"" | ||||
# readline bits; these aren't needed if we're building a bootstrap flua, as we | # readline bits; these aren't needed if we're building a bootstrap flua, as we | ||||
# don't expect that one to see any REPL usage. | # don't expect that one to see any REPL usage. | ||||
.if !defined(BOOTSTRAPPING) | .if !defined(BOOTSTRAPPING) | ||||
CFLAGS+= -DLUA_USE_READLINE | CFLAGS+= -DLUA_USE_READLINE | ||||
Show All 12 Lines |