* Drop the directory outline for building gcc3.
[dragonfly.git] / gnu / usr.bin / cc3 / Makefile.tgt
1 # $FreeBSD: src/gnu/usr.bin/cc/Makefile.tgt,v 1.7 2003/04/26 20:04:37 obrien Exp $
2 # $DragonFly: src/gnu/usr.bin/cc3/Attic/Makefile.tgt,v 1.1 2004/01/17 22:40:14 drhodus Exp $
3
4 TARGET_ARCH?=   ${MACHINE_ARCH}
5
6 .if ${TARGET_ARCH} == "alpha"
7 GCC_CPU=        alpha
8 .elif ${TARGET_ARCH} == "arm"
9 GCC_CPU=        arm
10 .elif ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64"
11 GCC_CPU=        i386
12 .elif ${TARGET_ARCH} == "ia64"
13 GCC_CPU=        ia64
14 .elif ${TARGET_ARCH} == "powerpc"
15 GCC_CPU=        rs6000
16 .elif ${TARGET_ARCH} == "sparc64"
17 GCC_CPU=        sparc
18 TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
19 CFLAGS+=        -DTARGET_CPU_DEFAULT=${TARGET_CPU_DEFAULT}
20 .endif