1# $FreeBSD: src/gnu/usr.bin/cc/Makefile.tgt,v 1.11.8.1 2009/04/15 03:14:26 kensmith Exp $ 2# $OpenBSD: Makefile.tgt,v 1.11 2013/05/08 15:30:38 miod Exp $ 3 4TARGET_ARCH?= ${MACHINE_ARCH} 5 6.if ${TARGET_ARCH} == "alpha" 7GCC_CPU= alpha 8.elif ${TARGET_ARCH} == "arm" 9GCC_CPU= arm 10.elif ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64" 11GCC_CPU= i386 12.elif ${TARGET_ARCH} == "ia64" 13GCC_CPU= ia64 14.elif ${TARGET_ARCH} == "hppa" 15GCC_CPU= pa 16TARGET_CPU_DEFAULT= MASK_PA_11 17.elif ${TARGET_ARCH} == "hppa64" 18GCC_CPU= pa 19TARGET_CPU_DEFAULT= MASK_PA_11|MASK_PA_20 20.elif ${TARGET_ARCH} == "m88k" 21GCC_CPU= m88k 22.elif ${TARGET_ARCH} == "mips64" || ${TARGET_ARCH} == "mips64el" 23GCC_CPU= mips 24.elif ${TARGET_ARCH} == "powerpc" 25GCC_CPU= rs6000 26.elif ${TARGET_ARCH} == "sh" 27GCC_CPU= sh 28.elif ${TARGET_ARCH} == "sparc" 29GCC_CPU= sparc 30TARGET_CPU_DEFAULT= TARGET_CPU_v7 31.elif ${TARGET_ARCH} == "sparc64" 32GCC_CPU= sparc 33TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc 34.endif 35