summaryrefslogtreecommitdiff
path: root/emulators/xmess/options.mk
blob: e3d734e7378736e6ffc014dae0658b9b8908f388 (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: options.mk,v 1.3 2005/09/03 18:16:07 xtraeme Exp $
#

PKG_OPTIONS_VAR=		PKG_OPTIONS.xmess
PKG_OPTIONS_OPTIONAL_GROUPS=	video
PKG_OPTIONS_GROUP.video=	sdl opengl
PKG_SUPPORTED_OPTIONS=		esound
.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Msdl)
MAME_DISP_METHOD?=	SDL
.include "../../devel/SDL/buildlink3.mk"
.elif !empty(PKG_OPTIONS:Mopengl)
MAME_DISP_METHOD?=	xgl
.include "../../graphics/Mesa/buildlink3.mk"
.else
MAME_DISP_METHOD?=	x11
.endif

.if !empty(PKG_OPTIONS:Mesound)
MAKE_FLAGS+=		SOUND_ESOUND=1
.include "../../audio/esound/buildlink3.mk"
.endif