| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.33 2015/11/06 21:32:22 szptvlfn Exp $ | | 1 | # $NetBSD: Makefile,v 1.34 2015/11/07 20:45:03 szptvlfn Exp $ |
2 | | | 2 | |
3 | NOLINT= 1 # defined | | 3 | NOLINT= 1 # defined |
4 | | | 4 | |
5 | .include <bsd.own.mk> | | 5 | .include <bsd.own.mk> |
6 | | | 6 | |
7 | LIB= pixman-1 | | 7 | LIB= pixman-1 |
8 | | | 8 | |
9 | DIST= ${X11SRCDIR.pixman}/pixman | | 9 | DIST= ${X11SRCDIR.pixman}/pixman |
10 | .PATH: ${DIST} | | 10 | .PATH: ${DIST} |
11 | | | 11 | |
12 | SRCS= \ | | 12 | SRCS= \ |
13 | pixman.c \ | | 13 | pixman.c \ |
14 | pixman-access.c \ | | 14 | pixman-access.c \ |
| @@ -51,27 +51,27 @@ SRCS+= \ | | | @@ -51,27 +51,27 @@ SRCS+= \ |
51 | . if ${MACHINE_ARCH} == "i386" | | 51 | . if ${MACHINE_ARCH} == "i386" |
52 | SRCS+= pixman-mmx.c | | 52 | SRCS+= pixman-mmx.c |
53 | COPTS.pixman-mmx.c= -mmmx -fvisibility=hidden | | 53 | COPTS.pixman-mmx.c= -mmmx -fvisibility=hidden |
54 | . if defined(HAVE_LLVM) | | 54 | . if defined(HAVE_LLVM) |
55 | COPTS.pixman-mmx.c+= -Wno-error=attributes | | 55 | COPTS.pixman-mmx.c+= -Wno-error=attributes |
56 | . endif | | 56 | . endif |
57 | CPPFLAGS+= -DUSE_X86_MMX | | 57 | CPPFLAGS+= -DUSE_X86_MMX |
58 | MKDEPFLAGS+= -mmmx | | 58 | MKDEPFLAGS+= -mmmx |
59 | . endif | | 59 | . endif |
60 | SRCS+= pixman-sse2.c pixman-ssse3.c | | 60 | SRCS+= pixman-sse2.c pixman-ssse3.c |
61 | COPTS.pixman-sse2.c= -msse2 -fvisibility=hidden | | 61 | COPTS.pixman-sse2.c= -msse2 -fvisibility=hidden |
62 | COPTS.pixman-ssse3.c= -msse3 -mssse3 -fvisibility=hidden | | 62 | COPTS.pixman-ssse3.c= -msse3 -mssse3 -fvisibility=hidden |
63 | CPPFLAGS+= -DUSE_SSE2 -DUSE_SSSE3 | | 63 | CPPFLAGS+= -DUSE_SSE2 -DUSE_SSSE3 |
64 | MKDEPFLAGS+= -msse2 -mssse3 -mssse3 -fvisibility=hidden | | 64 | MKDEPFLAGS+= -msse2 -msse3 -mssse3 -fvisibility=hidden |
65 | .endif | | 65 | .endif |
66 | | | 66 | |
67 | .if ${MACHINE_ARCH} == "powerpc" | | 67 | .if ${MACHINE_ARCH} == "powerpc" |
68 | SRCS+= pixman-vmx.c | | 68 | SRCS+= pixman-vmx.c |
69 | COPTS.pixman-vmx.c= -maltivec | | 69 | COPTS.pixman-vmx.c= -maltivec |
70 | CPPFLAGS+= -DUSE_VMX | | 70 | CPPFLAGS+= -DUSE_VMX |
71 | MKDEPFLAGS+= -maltivec | | 71 | MKDEPFLAGS+= -maltivec |
72 | .endif | | 72 | .endif |
73 | | | 73 | |
74 | .if !empty(MACHINE_ARCH:Mearm*) | | 74 | .if !empty(MACHINE_ARCH:Mearm*) |
75 | # ARM SIMD | | 75 | # ARM SIMD |
76 | SRCS+= pixman-arm-simd.c \ | | 76 | SRCS+= pixman-arm-simd.c \ |
77 | pixman-arm-simd-asm.S \ | | 77 | pixman-arm-simd-asm.S \ |