1 # $NetBSD: Makefile,v 1.13 2021/04/23 22:50:06 mrg Exp $ 2 3 NOOBJ=# defined 4 5 .include <bsd.init.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 .if ${MKGCCCMDS} != "no" || make(includes) 12 13 # We keep libcpp here since it depends upon frontend. 14 SUBDIR+= host-libiberty .WAIT \ 15 host-libcpp .WAIT \ 16 backend .WAIT \ 17 frontend .WAIT \ 18 common common-target .WAIT \ 19 libcpp libdecnumber .WAIT \ 20 gcov gcov-dump cc1 cc1obj cc1objplus cc1plus cpp g++ gcc \ 21 lto1 lto-wrapper lto-dump \ 22 include 23 24 .endif 25 26 .include <bsd.subdir.mk> 27 28 .else 29 # Do nothing. (PROG undefined) 30 .include <bsd.prog.mk> 31 .endif 32