21 lines
557 B
Makefile
21 lines
557 B
Makefile
# $NetBSD: Makefile.driver,v 1.1.1.1 2019/09/26 05:45:54 mrg Exp $
|
|
|
|
.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_DRIVER_
|
|
_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_DRIVER_=1
|
|
|
|
# XXX
|
|
.if ${GCC_MACHINE_ARCH} == "x86_64" || ${GCC_MACHINE_ARCH} == "i386"
|
|
SRCS+= driver-i386.c
|
|
.PATH: ${DIST}/gcc/config/i386
|
|
.endif
|
|
.if ${GCC_MACHINE_ARCH} == "powerpc" || ${GCC_MACHINE_ARCH} == "powerpc64"
|
|
SRCS+= driver-rs6000.c
|
|
.PATH: ${DIST}/gcc/config/rs6000
|
|
.endif
|
|
.if ${GCC_MACHINE_ARCH} == "aarch64"
|
|
SRCS+= driver-aarch64.c
|
|
.PATH: ${DIST}/gcc/config/aarch64
|
|
.endif
|
|
|
|
.endif
|