xenocara/lib/libGL/gallium/drivers/Makefile
jsg 30ff36c6f4 make an if statement work as intended
fixes build breakage on alpha reported by todd and naddy
2013-09-07 02:12:21 +00:00

20 lines
490 B
Makefile

# $OpenBSD: Makefile,v 1.8 2013/09/07 02:12:21 jsg Exp $
.include <bsd.xconf.mk>
SUBDIR= rbug softpipe trace
.if ${XENOCARA_BUILD_GALLIUM} == "llvm"
SUBDIR+= llvmpipe radeonsi
.endif
.if ((${XENOCARA_BUILD_GALLIUM:L} == "yes" || \
${XENOCARA_BUILD_GALLIUM} == "llvm") && \
(${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc || \
${MACHINE} == sparc64))
SUBDIR+= r300 r600
.endif
build depend all install clean cleandir: _SUBDIRUSE
.include <bsd.xorg.mk>