2004-04-17 05:45:46 +02:00
|
|
|
# $NetBSD: buildlink3.mk,v 1.28 2004/04/17 03:45:46 snj Exp $
|
2003-09-02 09:12:16 +02:00
|
|
|
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
2003-09-30 12:18:57 +02:00
|
|
|
MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+
|
2003-09-02 09:12:16 +02:00
|
|
|
|
2004-03-10 18:57:14 +01:00
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
|
|
BUILDLINK_DEPENDS+= MesaLib
|
|
|
|
.endif
|
|
|
|
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NMesaLib}
|
|
|
|
BUILDLINK_PACKAGES+= MesaLib
|
2003-09-02 09:12:16 +02:00
|
|
|
|
2004-01-05 10:31:31 +01:00
|
|
|
.if !empty(MESALIB_BUILDLINK3_MK:M+)
|
2004-03-15 18:38:10 +01:00
|
|
|
BUILDLINK_DEPENDS.MesaLib+= MesaLib>=3.4.2
|
2003-09-02 09:12:16 +02:00
|
|
|
BUILDLINK_PKGSRCDIR.MesaLib?= ../../graphics/MesaLib
|
2004-02-12 02:59:37 +01:00
|
|
|
|
2004-03-10 18:57:14 +01:00
|
|
|
.if !defined(BUILDING_MESA)
|
|
|
|
BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY
|
2003-09-30 02:42:32 +02:00
|
|
|
.endif
|
|
|
|
|
2004-04-17 05:45:46 +02:00
|
|
|
BUILDLINK_TRANSFORM+= l:MesaGL:GL
|
|
|
|
|
2003-09-30 02:42:32 +02:00
|
|
|
.endif # MESALIB_BUILDLINK3_MK
|
2003-09-02 09:12:16 +02:00
|
|
|
|
2004-01-05 12:05:44 +01:00
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|