Module Name: src
Committed By: macallan
Date: Thu Feb 7 13:33:50 UTC 2013
Modified Files:
src/external/mit/xorg/lib/pixman: Makefile
Log Message:
build altivec support on powerpc
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/external/mit/xorg/lib/pixman/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/mit/xorg/lib/pixman/Makefile
diff -u src/external/mit/xorg/lib/pixman/Makefile:1.18 src/external/mit/xorg/lib/pixman/Makefile:1.19
--- src/external/mit/xorg/lib/pixman/Makefile:1.18 Sun Feb 3 12:41:40 2013
+++ src/external/mit/xorg/lib/pixman/Makefile Thu Feb 7 13:33:50 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2013/02/03 12:41:40 jmcneill Exp $
+# $NetBSD: Makefile,v 1.19 2013/02/07 13:33:50 macallan Exp $
NOLINT= 1 # defined
@@ -55,6 +55,13 @@ COPTS.pixman-mmx.c= -mmmx -fvisibility=h
#COPTS.pixman-sse2.c= -msse2 -fvisibility=hidden
.endif
+.if ${MACHINE_ARCH} == "powerpc"
+SRCS+= pixman-vmx.c
+COPTS.pixman-vmx.c= -maltivec
+CPPFLAGS+= -DUSE_VMX
+MKDEPFLAGS+= -maltivec
+.endif
+
.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmhf"
# ARM SIMD
SRCS+= pixman-arm-simd.c \
@@ -71,10 +78,6 @@ COPTS.pixman-mmx.c= -mcpu=iwmmxt
CPPFLAGS+= -DUSE_ARM_IWMMXT
.endif
-# .if VMX
-# SRCS+= pixman-vmx.c
-# .endif
-
INCS= pixman.h pixman-version.h
INCSDIR=${X11INCDIR}/pixman-1