Annotation of src/external/mit/xorg/lib/pixman/Makefile.cflags, Revision 1.1.2.1
1.1.2.1 ! martin 1: # $NetBSD: Makefile.cflags,v 1.1 2022/11/13 09:36:37 mrg Exp $
1.1 mrg 2:
3: .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
4: . if ${MACHINE_ARCH} == "i386"
5: CPPFLAGS+= -DUSE_X86_MMX
6: . endif
7: CPPFLAGS+= -DUSE_SSE2 -DUSE_SSSE3
8: .endif
9:
10: .if ${MACHINE_ARCH} == "powerpc"
11: CPPFLAGS+= -DUSE_VMX
12: .endif
13:
14: .if !empty(MACHINE_ARCH:Mearm*)
15: CPPFLAGS+= -DUSE_ARM_SIMD
16: CPPFLAGS+= -DUSE_ARM_NEON
17: #CPPFLAGS+= -DUSE_ARM_IWMMXT
18: .endif
19:
20: .if !empty(MACHINE_ARCH:Maarch64*)
1.1.2.1 ! martin 21: #CPPFLAGS+= -DUSE_ARM_A64_NEON
1.1 mrg 22: .endif
23:
24: .if !empty(MACHINE_ARCH:Mmips*64el) && empty(COPTS:M-march=*)
25: CPPFLAGS+= -DUSE_LOONGSON_MMI
26: .endif
27:
28: CPPFLAGS+= -DHAVE_CONFIG_H \
29: -I${X11SRCDIR.pixman}/../include \
30: -I${X11SRCDIR.pixman}/../combine \
31: -I${X11SRCDIR.pixman}/pixman
CVSweb <webmaster@jp.NetBSD.org>