27 lines
834 B
Makefile
27 lines
834 B
Makefile
|
# $NetBSD: Makefile,v 1.18 2010/11/22 21:05:30 mrg Exp $
|
||
|
|
||
|
SUBDIR= libmesa .WAIT
|
||
|
|
||
|
.if ${MACHINE_ARCH} == "alpha"
|
||
|
SUBDIR+= mach64 mga r128 r200 r300 r600 radeon savage sis tdfx
|
||
|
.elif ${MACHINE} == "macppc" || ${MACHINE} == "ofppc"
|
||
|
SUBDIR+= mach64 mga r128 r200 r300 r600 radeon tdfx
|
||
|
.elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "sparc"
|
||
|
SUBDIR+= mach64 mga r128 r200 r300 r600 radeon
|
||
|
.elif ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
|
||
|
SUBDIR+= i810 i915 i965 mach64 mga r128 r200 r300 r600 radeon \
|
||
|
savage sis tdfx unichrome
|
||
|
.elif ${MACHINE} == "prep" || ${MACHINE} == "bebox"
|
||
|
SUBDIR+= mga
|
||
|
.endif
|
||
|
|
||
|
SUBDIR+= swrast
|
||
|
|
||
|
PKGCONFIG= dri
|
||
|
PKGDIST.dri= ${X11SRCDIR.MesaLib}/src/mesa/drivers/dri
|
||
|
.include "${.CURDIR}/../libGL/mesa-ver.mk"
|
||
|
PKGCONFIG_VERSION.dri= ${MESA_VER}
|
||
|
|
||
|
.include <bsd.subdir.mk>
|
||
|
.include <bsd.x11.mk>
|