Makefile (e9ac41698b2f322d55ccf9da50a3596edb2c1800) Makefile (bb2d016afb009920f4bb2400c15a86e557b2d55a)
1.include <src.lua.mk>
2
3LUASRC?= ${SRCTOP}/contrib/lua/src
4.PATH: ${LUASRC}
5
6PROG= flua
1.include <src.lua.mk>
2
3LUASRC?= ${SRCTOP}/contrib/lua/src
4.PATH: ${LUASRC}
5
6PROG= flua
7WARNS?= 2
7WARNS?= 3
8MAN= # No manpage; this is internal.
9
10CWARNFLAGS.gcc+= -Wno-format-nonliteral
11
12LIBADD= lua
13
14# Entry point
15SRCS+= lua.c

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

26# don't expect that one to see any REPL usage.
27.if !defined(BOOTSTRAPPING)
28CFLAGS+= -DLUA_USE_READLINE
29CFLAGS+= -I${SRCTOP}/lib/libedit -I${SRCTOP}/contrib/libedit
30LIBADD+= edit
31LDFLAGS+= -Wl,-E
32.endif
33
8MAN= # No manpage; this is internal.
9
10CWARNFLAGS.gcc+= -Wno-format-nonliteral
11
12LIBADD= lua
13
14# Entry point
15SRCS+= lua.c

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

26# don't expect that one to see any REPL usage.
27.if !defined(BOOTSTRAPPING)
28CFLAGS+= -DLUA_USE_READLINE
29CFLAGS+= -I${SRCTOP}/lib/libedit -I${SRCTOP}/contrib/libedit
30LIBADD+= edit
31LDFLAGS+= -Wl,-E
32.endif
33
34UCLSRC?= ${SRCTOP}/contrib/libucl
35.PATH: ${UCLSRC}/lua
36SRCS+= lua_ucl.c
37CFLAGS+= -I${UCLSRC}/include -I${UCLSRC}/src -I${UCLSRC}/uthash
38LIBADD+= ucl
39
40.include <bsd.prog.mk>
34.include <bsd.prog.mk>