summaryrefslogtreecommitdiff
path: root/games/rocksndiamonds/options.mk
blob: de5b78e27192c9c96736a9228f8bc6832dd969c3 (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
27
28
29
# $NetBSD: options.mk,v 1.5 2009/11/01 15:46:07 tnn Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.rocksndiamonds
PKG_SUPPORTED_OPTIONS=	sdl x11
PKG_SUGGESTED_OPTIONS=	sdl

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Msdl)
.  if ${OPSYS} == "Solaris"
BUILD_TARGET=	solaris-sdl
.  else
BUILD_TARGET=	sdl
.  endif
.  include "../../audio/SDL_mixer/buildlink3.mk"
.  include "../../graphics/SDL_image/buildlink3.mk"
.  include "../../multimedia/smpeg/buildlink3.mk"
.  include "../../net/SDL_net/buildlink3.mk"
.endif

.if !empty(PKG_OPTIONS:Mx11)
.  if ${OPSYS} == "Solaris"
BUILD_TARGET=	solaris
.  else
BUILD_TARGET=	x11
.  endif
.  include "../../mk/oss.buildlink3.mk"
.  include "../../x11/libXt/buildlink3.mk"
.endif