blob: 1c4f0a2e663dcceeb9ab822447c47ce71b3e31b9 (
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.3 2006/10/01 14:34:01 rillig 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/oss.buildlink3.mk"
. include "../../mk/x11.buildlink3.mk"
.endif
|