Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/lua Lua build infrastructure
details: https://anonhg.NetBSD.org/src/rev/4f0b3c00c47b
branches: trunk
changeset: 758288:4f0b3c00c47b
user: mbalmer <mbalmer%NetBSD.org@localhost>
date: Sun Oct 31 11:26:01 2010 +0000
description:
Lua build infrastructure
diffstat:
external/mit/lua/Makefile | 5 +++++
external/mit/lua/lib/Makefile | 5 +++++
external/mit/lua/lib/liblua/Makefile | 19 +++++++++++++++++++
external/mit/lua/lib/liblua/shlib_version | 3 +++
external/mit/lua/usr.bin/Makefile | 5 +++++
external/mit/lua/usr.bin/lua/Makefile | 17 +++++++++++++++++
external/mit/lua/usr.bin/luac/Makefile | 15 +++++++++++++++
7 files changed, 69 insertions(+), 0 deletions(-)
diffs (97 lines):
diff -r 5152a64da8a3 -r 4f0b3c00c47b external/mit/lua/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/lua/Makefile Sun Oct 31 11:26:01 2010 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.3 2010/10/31 11:26:01 mbalmer Exp $
+
+SUBDIR+= usr.bin
+
+.include <bsd.subdir.mk>
diff -r 5152a64da8a3 -r 4f0b3c00c47b external/mit/lua/lib/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/lua/lib/Makefile Sun Oct 31 11:26:01 2010 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2010/10/31 11:26:01 mbalmer Exp $
+
+SUBDIR+= liblua
+
+.include <bsd.subdir.mk>
diff -r 5152a64da8a3 -r 4f0b3c00c47b external/mit/lua/lib/liblua/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/lua/lib/liblua/Makefile Sun Oct 31 11:26:01 2010 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2010/10/31 11:26:01 mbalmer Exp $
+
+LIB= lua
+SRCS= lapi.c lauxlib.c lbaselib.c lcode.c ldblib.c ldebug.c ldo.c \
+ ldump.c lfunc.c lgc.c linit.c liolib.c llex.c lmathlib.c \
+ lmem.c loadlib.c lobject.c lopcodes.c loslib.c lparser.c \
+ lstate.c lstring.c lstrlib.c ltable.c ltablib.c ltm.c \
+ lundump.c lvm.c lzio.c
+
+.include <bsd.own.mk>
+
+INCS= lauxlib.h lua.h luaconf.h lualib.h
+INCSDIR= /usr/include
+
+CFLAGS= -DLUA_USE_POSIX -DLUA_USE_DLOPEN
+
+.PATH: ${NETBSDSRCDIR}/external/mit/lua/dist/src
+
+.include <bsd.lib.mk>
diff -r 5152a64da8a3 -r 4f0b3c00c47b external/mit/lua/lib/liblua/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/lua/lib/liblua/shlib_version Sun Oct 31 11:26:01 2010 +0000
@@ -0,0 +1,3 @@
+# $NetBSD: shlib_version,v 1.1 2010/10/31 11:26:01 mbalmer Exp $
+major=1
+minor=0
diff -r 5152a64da8a3 -r 4f0b3c00c47b external/mit/lua/usr.bin/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/lua/usr.bin/Makefile Sun Oct 31 11:26:01 2010 +0000
@@ -0,0 +1,5 @@
+# $NetBSD: Makefile,v 1.1 2010/10/31 11:26:01 mbalmer Exp $
+
+SUBDIR+= lua luac
+
+.include <bsd.subdir.mk>
diff -r 5152a64da8a3 -r 4f0b3c00c47b external/mit/lua/usr.bin/lua/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/lua/usr.bin/lua/Makefile Sun Oct 31 11:26:01 2010 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2010/10/31 11:26:02 mbalmer Exp $
+
+PROG= lua
+SRCS= lua.c
+BINDIR= /usr/bin
+
+CPPFLAGS+= -DLUA_USE_READLINE
+
+LDADD+= ${LIBLUA} -lm -ledit
+DPADD+= ${LIBLUA}
+
+.include <bsd.own.mk>
+
+.PATH: ${NETBSDSRCDIR}/external/mit/lua/dist/src \
+ ${NETBSDSRCDIR}/external/mit/lua/dist/doc
+
+.include <bsd.prog.mk>
diff -r 5152a64da8a3 -r 4f0b3c00c47b external/mit/lua/usr.bin/luac/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/mit/lua/usr.bin/luac/Makefile Sun Oct 31 11:26:01 2010 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2010/10/31 11:26:02 mbalmer Exp $
+
+PROG= luac
+SRCS= luac.c print.c
+BINDIR= /usr/bin
+
+DPADD+= ${LIBLUA}
+LDADD+= ${LIBLUA} -lm
+
+.include <bsd.own.mk>
+
+.PATH: ${NETBSDSRCDIR}/external/mit/lua/dist/src \
+ ${NETBSDSRCDIR}/external/mit/lua/dist/doc
+
+.include <bsd.prog.mk>
Home |
Main Index |
Thread Index |
Old Index