xref: /minix3/external/mit/xorg/lib/asm.mk (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#	$NetBSD: asm.mk,v 1.1 2014/12/18 06:24:28 mrg Exp $
2*0a6a1f1dSLionel Sambuc
3*0a6a1f1dSLionel Sambuc# Shared with libmesa.mk / libGL / libglapi
4*0a6a1f1dSLionel Sambuc
5*0a6a1f1dSLionel Sambuc.if ${MACHINE} == "amd64"
6*0a6a1f1dSLionel SambucCPPFLAGS+=	\
7*0a6a1f1dSLionel Sambuc	-DUSE_SSE41 \
8*0a6a1f1dSLionel Sambuc	-DUSE_X86_64_ASM
9*0a6a1f1dSLionel Sambuc.elif ${MACHINE} == "i386"
10*0a6a1f1dSLionel SambucCPPFLAGS+=	\
11*0a6a1f1dSLionel Sambuc	-DUSE_X86_ASM \
12*0a6a1f1dSLionel Sambuc	-DUSE_MMX_ASM \
13*0a6a1f1dSLionel Sambuc	-DUSE_3DNOW_ASM \
14*0a6a1f1dSLionel Sambuc	-DUSE_SSE_ASM
15*0a6a1f1dSLionel Sambuc.elif ${MACHINE} == "sparc" || ${MACHINE} == "sparc64"
16*0a6a1f1dSLionel Sambuc.endif
17