blob: 0c6be13fd7a196bf560832de209eec0fe40754c0 (
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: options.mk,v 1.2 2019/08/07 23:49:02 fox Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.din
PKG_OPTIONS_OPTIONAL_GROUPS= backend
PKG_OPTIONS_GROUP.backend= alsa jack
PKG_SUGGESTED_OPTIONS= jack
.include "../../mk/bsd.options.mk"
###
### Support ALSA
###
.if !empty(PKG_OPTIONS:Malsa)
CXXFLAGS+= -D__LINUX_ALSA__
LIBS+= -lasound
.include "../../audio/alsa-lib/buildlink3.mk"
.endif
###
### Support JACK
###
.if !empty(PKG_OPTIONS:Mjack)
CXXFLAGS+= -D__UNIX_JACK__
LIBS+= -ljack
.include "../../audio/jack/buildlink3.mk"
.endif
|