blob: df039e8728a98b0ae4b1858ac2bc73f807c5f1b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
$NetBSD: patch-ab,v 1.2 2003/02/22 00:51:59 jtb Exp $
--- /dev/null Fri Feb 21 23:53:36 2003
+++ build/liblua/Makefile
@@ -0,0 +1,28 @@
+LIB= lua
+
+SHLIB_MAJOR= 0
+SHLIB_MINOR= 0
+
+LIBDIR= ${PREFIX}/lib
+INCDIR= ${PREFIX}/include
+
+CPPFLAGS+= -I${.CURDIR}/../../include
+
+LDADD+= -lm
+
+NOLINT= 1
+
+.PATH: ${.CURDIR}/../../src
+
+INCLUDES= lua.h luadebug.h lauxlib.h
+
+SRCS= lapi.c lcode.c ldebug.c ldo.c lfunc.c lgc.c llex.c lmem.c \
+ lobject.c lparser.c lstate.c lstring.c ltable.c ltests.c \
+ ltm.c lundump.c lvm.c lzio.c
+
+afterinstall:
+ for i in ${INCLUDES}; do \
+ ${BSD_INSTALL_DATA} ${.CURDIR}/../../include/$$i ${INCDIR}; \
+ done
+
+.include <bsd.lib.mk>
|