make an if statement work as intended

fixes build breakage on alpha reported by todd and naddy
This commit is contained in:
jsg 2013-09-07 02:12:21 +00:00
parent e9013f6750
commit 30ff36c6f4

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2013/09/05 15:27:58 jsg Exp $
# $OpenBSD: Makefile,v 1.8 2013/09/07 02:12:21 jsg Exp $
.include <bsd.xconf.mk>
SUBDIR= rbug softpipe trace
@ -7,9 +7,10 @@ SUBDIR= rbug softpipe trace
SUBDIR+= llvmpipe radeonsi
.endif
.if ${XENOCARA_BUILD_GALLIUM:L} == "yes" || ${XENOCARA_BUILD_GALLIUM} == "llvm" && \
.if ((${XENOCARA_BUILD_GALLIUM:L} == "yes" || \
${XENOCARA_BUILD_GALLIUM} == "llvm") && \
(${MACHINE} == i386 || ${MACHINE} == amd64 || ${MACHINE} == macppc || \
${MACHINE} == sparc64)
${MACHINE} == sparc64))
SUBDIR+= r300 r600
.endif