2013-12-06 12:04:52 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2013/08/22 00:17:48 matt Exp $
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
NOOBJ=# defined
|
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2013-12-06 12:04:52 +01:00
|
|
|
GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
|
|
|
|
|
|
|
|
.if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk)
|
2012-06-06 15:06:52 +02:00
|
|
|
|
|
|
|
# We keep libcpp here since it depends upon frontend.
|
|
|
|
|
|
|
|
SUBDIR+= host-libiberty .WAIT \
|
|
|
|
backend .WAIT \
|
|
|
|
frontend .WAIT \
|
|
|
|
libcpp libdecnumber gcov .WAIT \
|
|
|
|
cc1 cc1obj cc1plus cpp g++ gcc \
|
|
|
|
include
|
|
|
|
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
|
|
|
|
.else
|
|
|
|
# Do nothing. (PROG undefined)
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.endif
|