summaryrefslogtreecommitdiff
path: root/audio/alsa-lib/builtin.mk
blob: 96d3196cdaa70809e17768c6fcf96c5f47f6e40e (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.1 2011/02/25 20:17:41 markd Exp $

BUILTIN_PKG:=	alsa-lib

PKGCONFIG_FILE.alsa-lib=	/usr/lib/pkgconfig/alsa.pc
PKGCONFIG_BASE.alsa-lib=	/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.alsa-lib?=      no
.if !empty(CHECK_BUILTIN.alsa-lib:M[nN][oO])

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

.endif  # CHECK_BUILTIN.alsa-lib