diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2013-08-12 04:16:53 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2013-08-12 04:16:53 +0000 |
commit | d6b99303a1ca3fbb9b2225cb5475765347d371ec (patch) | |
tree | 7339370934ff0455a134bf2a3e101ded1b03cb11 /lib/libGL | |
parent | e4943cf5f840ed64d84b500a673df9a06b1515d0 (diff) |
build mesa radeon drivers on sparc64 and switch to gallium drivers
for r300 and r600
Diffstat (limited to 'lib/libGL')
-rw-r--r-- | lib/libGL/dri/Makefile | 15 | ||||
-rw-r--r-- | lib/libGL/dri/r300g/Makefile | 4 | ||||
-rw-r--r-- | lib/libGL/dri/r600g/Makefile | 4 | ||||
-rw-r--r-- | lib/libGL/gallium/drivers/Makefile | 4 |
4 files changed, 15 insertions, 12 deletions
diff --git a/lib/libGL/dri/Makefile b/lib/libGL/dri/Makefile index baa005cb5..1079ab269 100644 --- a/lib/libGL/dri/Makefile +++ b/lib/libGL/dri/Makefile @@ -1,17 +1,20 @@ -# $OpenBSD: Makefile,v 1.16 2013/06/17 23:30:25 jsg Exp $ +# $OpenBSD: Makefile,v 1.17 2013/08/12 04:16:52 jsg Exp $ .include <bsd.xconf.mk> SUBDIR= swrast .if ${MACHINE} == i386 || ${MACHINE} == amd64 -SUBDIR+= i810 i915 i965 radeon r200 r300 r600 -.elif ${MACHINE} == macppc -SUBDIR+= radeon r200 r300 +SUBDIR+= i810 i915 i965 radeon r200 +.elif ${MACHINE} == macppc || ${MACHINE} == sparc64 +SUBDIR+= radeon r200 .endif -.if ${XENOCARA_BUILD_GALLIUM:L} == "yes" || ${XENOCARA_BUILD_GALLIUM} == "llvm" +.if ${XENOCARA_BUILD_GALLIUM} == "llvm" SUBDIR+=swrastg -.if ${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc +.endif + +.if ${XENOCARA_BUILD_GALLIUM:L} == "yes" || ${XENOCARA_BUILD_GALLIUM} == "llvm" +.if ${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc || ${MACHINE} == sparc64 SUBDIR+= r300g r600g .endif .endif diff --git a/lib/libGL/dri/r300g/Makefile b/lib/libGL/dri/r300g/Makefile index 5c800876d..da47582d2 100644 --- a/lib/libGL/dri/r300g/Makefile +++ b/lib/libGL/dri/r300g/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.1 2013/06/13 10:39:28 jsg Exp $ +# $OpenBSD: Makefile,v 1.2 2013/08/12 04:16:52 jsg Exp $ -LIB= r300g_dri.so +LIB= r300_dri.so CPPFLAGS= \ -I${GALLIUM}/include \ diff --git a/lib/libGL/dri/r600g/Makefile b/lib/libGL/dri/r600g/Makefile index fbc2fef19..949a66c98 100644 --- a/lib/libGL/dri/r600g/Makefile +++ b/lib/libGL/dri/r600g/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.1 2013/06/17 23:30:25 jsg Exp $ +# $OpenBSD: Makefile,v 1.2 2013/08/12 04:16:52 jsg Exp $ -LIB= r600g_dri.so +LIB= r600_dri.so CPPFLAGS= \ -I${GALLIUM}/include \ diff --git a/lib/libGL/gallium/drivers/Makefile b/lib/libGL/gallium/drivers/Makefile index b8ae77714..801ae224a 100644 --- a/lib/libGL/gallium/drivers/Makefile +++ b/lib/libGL/gallium/drivers/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.4 2013/06/17 23:30:25 jsg Exp $ +# $OpenBSD: Makefile,v 1.5 2013/08/12 04:16:52 jsg Exp $ .include <bsd.xconf.mk> SUBDIR= rbug softpipe trace @@ -8,7 +8,7 @@ SUBDIR+= llvmpipe .endif .if ${XENOCARA_BUILD_GALLIUM:L} == "yes" || ${XENOCARA_BUILD_GALLIUM} == "llvm" && - (${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc) + (${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc || ${MACHINE} == sparc64) SUBDIR+= r300 r600 .endif |