Makefile (b4a19ee2422c66243410081c83cbd08f1505fc84) | Makefile (28d832f993304707c58ce052ba4dd374de52e0b8) |
---|---|
1#! $FreeBSD$ 2 3.include <src.lua.mk> 4 5LUASRC?= ${SRCTOP}/contrib/lua/src 6.PATH: ${LUASRC} 7 8PROG= flua --- 10 unchanged lines hidden (view full) --- 19# FreeBSD Extensions 20.PATH: ${.CURDIR}/modules 21SRCS+= linit_flua.c 22SRCS+= lfs.c lposix.c 23 24CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC} 25CFLAGS+= -DLUA_PROGNAME="\"${PROG}\"" 26 | 1#! $FreeBSD$ 2 3.include <src.lua.mk> 4 5LUASRC?= ${SRCTOP}/contrib/lua/src 6.PATH: ${LUASRC} 7 8PROG= flua --- 10 unchanged lines hidden (view full) --- 19# FreeBSD Extensions 20.PATH: ${.CURDIR}/modules 21SRCS+= linit_flua.c 22SRCS+= lfs.c lposix.c 23 24CFLAGS+= -I${SRCTOP}/lib/liblua -I${.CURDIR}/modules -I${LUASRC} 25CFLAGS+= -DLUA_PROGNAME="\"${PROG}\"" 26 |
27# readline bits | 27# readline bits; these aren't needed if we're building a bootstrap flua, as we 28# don't expect that one to see any REPL usage. 29.if !defined(BOOTSTRAPPING) |
28CFLAGS+= -DLUA_USE_READLINE 29CFLAGS+= -I${SRCTOP}/lib/libedit -I${SRCTOP}/contrib/libedit 30LIBADD+= edit | 30CFLAGS+= -DLUA_USE_READLINE 31CFLAGS+= -I${SRCTOP}/lib/libedit -I${SRCTOP}/contrib/libedit 32LIBADD+= edit |
33.endif |
|
31 32.include <bsd.prog.mk> | 34 35.include <bsd.prog.mk> |