summaryrefslogtreecommitdiff
path: root/databases/db3/buildlink2.mk
blob: 92883ce54caa3bb3ecd0e9375288486897f2ef23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $NetBSD: buildlink2.mk,v 1.3 2002/09/26 22:34:09 jlam Exp $

.if !defined(DB3_BUILDLINK2_MK)
DB3_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		db3
BUILDLINK_DEPENDS.db3?=		db3>=2.9.2
BUILDLINK_PKGSRCDIR.db3?=	../../databases/db3

EVAL_PREFIX+=		BUILDLINK_PREFIX.db3=db3
BUILDLINK_PREFIX.db3_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.db3=	include/db3/db_cxx.h
BUILDLINK_FILES.db3+=	include/db3/db.h
BUILDLINK_FILES.db3+=	lib/libdb3.*
BUILDLINK_FILES.db3+=	lib/libdb3_cxx.*

BUILDLINK_CPPFLAGS.db3=	-I${BUILDLINK_PREFIX.db3}/include/db3

BUILDLINK_TARGETS+=	db3-buildlink

db3-buildlink: _BUILDLINK_USE

.endif	# DB3_BUILDLINK2_MK