mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 16:31:06 +00:00
0200c27e33
The Lua runtime library is built in two variants: ANSI C and C++. The C++ provides all Lua API function with C++ linkage and uses C++ exceptions instead of setjmp/longjmp for protected execution of Lua chunks. The ported version of Lua is 5.1.5.
19 lines
566 B
Makefile
19 lines
566 B
Makefile
LUA = lua-5.1.5
|
|
LUA_DIR = $(REP_DIR)/contrib/$(LUA)/src
|
|
LIBS += libc libm
|
|
INC_DIR += $(LUA_DIR)
|
|
CC_DEF = -DLUA_ANSI -DLUA_USE_MKSTEMP
|
|
|
|
# core objects
|
|
LUA_CORE_C = lapi.c lcode.c ldebug.c ldo.c ldump.c lfunc.c lgc.c llex.c lmem.c \
|
|
lobject.c lopcodes.c lparser.c lstate.c lstring.c ltable.c ltm.c \
|
|
lundump.c lvm.c lzio.c
|
|
|
|
# library objects, e.g. string handling
|
|
LUA_LIB_C = lauxlib.c lbaselib.c ldblib.c liolib.c lmathlib.c loslib.c ltablib.c \
|
|
lstrlib.c loadlib.c linit.c
|
|
|
|
vpath %.c $(LUA_DIR)
|
|
|
|
# vi: set ft=make :
|