2015-10-15 10:25:28 +02:00

28 lines
582 B
Makefile

# $NetBSD: Makefile,v 1.7 2015/01/07 02:18:10 christos Exp $
NOOBJ=# defined
.include <bsd.own.mk>
GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/}
.if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk)
# We keep libcpp here since it depends upon frontend.
SUBDIR+= host-libiberty .WAIT \
backend .WAIT \
frontend .WAIT \
common common-target .WAIT \
libcpp libdecnumber .WAIT \
gcov cc1 cc1obj cc1plus cpp g++ gcc \
lto1 lto-wrapper \
include
.include <bsd.subdir.mk>
.else
# Do nothing. (PROG undefined)
.include <bsd.prog.mk>
.endif