NetBSD/sys/modules/lua/Makefile

26 lines
619 B
Makefile

# $NetBSD: Makefile,v 1.10 2014/07/19 20:21:52 christos Exp $
.include "../Makefile.inc"
.PATH: ${S}/../external/mit/lua/dist/src \
${S}/../lib/libc/string
KMOD= lua
SRCS= lua.c
WARNS= 0
# Lua core source code
SRCS+= lapi.c lcode.c lctype.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
# Lua stdlibs source code
SRCS+= lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c \
lstrlib.c ltablib.c lutf8lib.c linit.c
CPPFLAGS+= -I${S}/../external/mit/lua/dist/src \
-I${S}/sys
.include <bsd.kmodule.mk>