1 # $NetBSD: Makefile,v 1.8 2016/03/15 19:14:47 mrg Exp $ 2 3 NOOBJ=# defined 4 5 .include <bsd.own.mk> 6 7 GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/} 8 9 .if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk) 10 11 # We keep libcpp here since it depends upon frontend. 12 13 SUBDIR+= host-libiberty .WAIT \ 14 host-libcpp .WAIT \ 15 backend .WAIT \ 16 frontend .WAIT \ 17 common common-target .WAIT \ 18 libcpp libdecnumber .WAIT \ 19 gcov cc1 cc1obj cc1plus cpp g++ gcc \ 20 lto1 lto-wrapper \ 21 include 22 23 .include <bsd.subdir.mk> 24 25 .else 26 # Do nothing. (PROG undefined) 27 .include <bsd.prog.mk> 28 .endif 29