Makefile (d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf) Makefile (1f31e00e19f9e24d4c891a24973e08a027c4f71c)
1
2.include <src.lua.mk>
3
4LUASRC?= ${SRCTOP}/contrib/lua/src
5.PATH: ${LUASRC}
6
7PROG= flua
8WARNS?= 2

--- 4 unchanged lines hidden (view full) ---

13LIBADD= lua
14
15# Entry point
16SRCS+= lua.c
17
18# FreeBSD Extensions
19.PATH: ${.CURDIR}/modules
20SRCS+= linit_flua.c
1
2.include <src.lua.mk>
3
4LUASRC?= ${SRCTOP}/contrib/lua/src
5.PATH: ${LUASRC}
6
7PROG= flua
8WARNS?= 2

--- 4 unchanged lines hidden (view full) ---

13LIBADD= lua
14
15# Entry point
16SRCS+= lua.c
17
18# FreeBSD Extensions
19.PATH: ${.CURDIR}/modules
20SRCS+= linit_flua.c
21SRCS+= lfs.c lposix.c
21SRCS+= lfs.c lposix.c lfbsd.c
22
23CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC}
24CFLAGS+= -DLUA_PROGNAME="\"${PROG}\""
25
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)
29CFLAGS+= -DLUA_USE_READLINE

--- 12 unchanged lines hidden ---
22
23CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC}
24CFLAGS+= -DLUA_PROGNAME="\"${PROG}\""
25
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)
29CFLAGS+= -DLUA_USE_READLINE

--- 12 unchanged lines hidden ---