pkgsrc/devel/SDL/buildlink3.mk

25 lines
652 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.4 2004/01/24 03:26:46 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
SDL_BUILDLINK3_MK:= ${SDL_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= SDL
.endif
.if !empty(SDL_BUILDLINK3_MK:M+)
BUILDLINK_PACKAGES+= SDL
BUILDLINK_DEPENDS.SDL+= SDL>=1.2.5nb5
BUILDLINK_PKGSRCDIR.SDL?= ../../devel/SDL
USE_X11= YES
PTHREAD_OPTS+= require
. include "../../graphics/MesaLib/buildlink3.mk"
. include "../../graphics/glut/buildlink3.mk"
. include "../../graphics/aalib-x11/buildlink3.mk"
. include "../../mk/pthread.buildlink3.mk"
.endif # SDL_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}