# $NetBSD: Makefile.cflags,v 1.1.2.1 2022/12/19 12:06:56 martin Exp $ .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" . if ${MACHINE_ARCH} == "i386" CPPFLAGS+= -DUSE_X86_MMX . endif CPPFLAGS+= -DUSE_SSE2 -DUSE_SSSE3 .endif .if ${MACHINE_ARCH} == "powerpc" CPPFLAGS+= -DUSE_VMX .endif .if !empty(MACHINE_ARCH:Mearm*) CPPFLAGS+= -DUSE_ARM_SIMD CPPFLAGS+= -DUSE_ARM_NEON #CPPFLAGS+= -DUSE_ARM_IWMMXT .endif .if !empty(MACHINE_ARCH:Maarch64*) #CPPFLAGS+= -DUSE_ARM_A64_NEON .endif .if !empty(MACHINE_ARCH:Mmips*64el) && empty(COPTS:M-march=*) CPPFLAGS+= -DUSE_LOONGSON_MMI .endif CPPFLAGS+= -DHAVE_CONFIG_H \ -I${X11SRCDIR.pixman}/../include \ -I${X11SRCDIR.pixman}/../combine \ -I${X11SRCDIR.pixman}/pixman