etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / lua / lib / liblua / Makefile
blob93c8e30549132e2008759d63494e9561eefc6b26
1 # $NetBSD: Makefile,v 1.8 2015/02/09 20:41:01 christos Exp $
3 LIB= lua
4 LUA_CORE= lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
5 llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c \
6 lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c
7 LUA_LIB= lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c \
8 lmathlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c loadlib.c \
9 linit.c
10 SRCS= ${LUA_CORE} ${LUA_LIB}
12 .include <bsd.own.mk>
14 INCS= lauxlib.h lua.h lua.hpp luaconf.h lualib.h
15 INCSDIR= /usr/include
17 CPPFLAGS+= -DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_C89_NUMBERS
18 CWARNFLAGS.clang+= -Wno-empty-body
20 LIBDPLIBS+= m ${NETBSDSRCDIR}/lib/libm
22 .PATH: ${NETBSDSRCDIR}/external/mit/lua/dist/src
24 .include <bsd.lib.mk>