summaryrefslogtreecommitdiff
path: root/games/rocksndiamonds/options.mk
blob: 2f1640ff6955f953be8e31ca7e73ef46630729f1 (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
# $NetBSD: options.mk,v 1.1 2005/08/16 15:35:51 adam 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 "../../net/SDL_net/buildlink3.mk"
.endif

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