summaryrefslogtreecommitdiff
path: root/databases/sqlite3/builtin.mk
blob: cfed316fcb00e9ea138c1e63c7cde672a83a48ac (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: builtin.mk,v 1.3 2012/03/20 21:00:47 adam Exp $

BUILTIN_PKG:=	sqlite3

PKGCONFIG_FILE.sqlite3=	/usr/lib/pkgconfig/sqlite3.pc
PKGCONFIG_BASE.sqlite3=	/usr

.include "../../mk/buildlink3/pkgconfig-builtin.mk"

###
### The section below only applies if we are not including this file
### solely to determine whether a built-in implementation exists.
###

CHECK_BUILTIN.sqlite3?=		no
.if !empty(CHECK_BUILTIN.sqlite3:M[nN][oO])

.  if !empty(USE_BUILTIN.sqlite3:M[yY][eE][sS])
BUILDLINK_PREFIX.sqlite3=	/usr
BUILDLINK_FILES.sqlite3+=	lib/pkgconfig/sqlite3.pc
.  endif

.endif  # CHECK_BUILTIN.sqlite3