Makefile (564b9ff2a7aa62f1094043b12de56ad75aa30394) Makefile (be99f8868bed542396783e1a8ff0d089283ba8ac)
1#! $FreeBSD$
2
3LUASRC?= ${SRCTOP}/contrib/lua/src
4.PATH: ${LUASRC}
5
6LIB= lua
7INTERNALLIB=
8WARNS?= 2

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

21# in our custom linit_flua.c. We use our custom linit.c to make it easier to
22# support bootstrap flua that may not have supporting local libraries.
23SRCS+= lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c \
24 lmathlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c loadlib.c
25
26CFLAGS+= -I${.CURDIR} -I${.CURDIR}/modules -I${LUASRC}
27CFLAGS+= -DLUA_PROGNAME="\"${PROG}\""
28
1#! $FreeBSD$
2
3LUASRC?= ${SRCTOP}/contrib/lua/src
4.PATH: ${LUASRC}
5
6LIB= lua
7INTERNALLIB=
8WARNS?= 2

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

21# in our custom linit_flua.c. We use our custom linit.c to make it easier to
22# support bootstrap flua that may not have supporting local libraries.
23SRCS+= lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c \
24 lmathlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c loadlib.c
25
26CFLAGS+= -I${.CURDIR} -I${.CURDIR}/modules -I${LUASRC}
27CFLAGS+= -DLUA_PROGNAME="\"${PROG}\""
28
29.if defined(BOOTSTRAPPING)
30CFLAGS+= -DLUA_PATH_DEFAULT="\"/nonexistent/?.lua\""
31CFLAGS+= -DLUA_CPATH_DEFAULT="\"/nonexistent/?.so\""
32.endif
33
29.include <bsd.lib.mk>
34.include <bsd.lib.mk>