blob: 5e5ff4e48f0b2d9448539a467285984689e95ffd (
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
|
# $NetBSD: buildlink2.mk,v 1.2 2003/02/22 00:51:58 jtb Exp $
#
# This Makefile fragment is included by packages that use lua.
#
.if !defined(LUA_BUILDLINK2_MK)
LUA_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= lua
BUILDLINK_DEPENDS.lua?= lua>=4.0.1
BUILDLINK_PKGSRCDIR.lua?= ../../lang/lua
EVAL_PREFIX+= BUILDLINK_PREFIX.lua=lua
BUILDLINK_PREFIX.lua_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.lua+= include/lauxlib.h
BUILDLINK_FILES.lua+= include/lua.h
BUILDLINK_FILES.lua+= include/luadebug.h
BUILDLINK_FILES.lua+= include/lualib.h
BUILDLINK_FILES.lua+= lib/liblua.*
BUILDLINK_FILES.lua+= lib/liblualib.*
BUILDLINK_TARGETS+= lua-buildlink
lua-buildlink: _BUILDLINK_USE
.endif # LUA_BUILDLINK2_MK
|