blob: b37f8e87ec0c4666c0b9fe136a0383a61287265b (
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
30
31
32
33
34
35
|
# $NetBSD: buildlink2.mk,v 1.6 2003/05/02 11:54:18 wiz Exp $
.if !defined(SDL_BUILDLINK2_MK)
SDL_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= SDL
BUILDLINK_DEPENDS.SDL?= SDL>=1.2.5nb4
BUILDLINK_PKGSRCDIR.SDL?= ../../devel/SDL
EVAL_PREFIX+= BUILDLINK_PREFIX.SDL=SDL
BUILDLINK_PREFIX.SDL_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.SDL= include/SDL/*
BUILDLINK_FILES.SDL+= lib/libSDL.*
BUILDLINK_FILES.SDL+= lib/libSDLmain.*
USE_X11= YES
.include "../../mk/bsd.prefs.mk"
PTHREAD_OPTS+= require
.if defined(SDL_USE_NAS)
. include "../../audio/nas/buildlink2.mk"
.endif
.include "../../audio/esound/buildlink2.mk"
.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../graphics/glut/buildlink2.mk"
.include "../../graphics/aalib-x11/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
BUILDLINK_TARGETS+= SDL-buildlink
SDL-buildlink: _BUILDLINK_USE
.endif # SDL_BUILDLINK2_MK
|