1*e9c7620aSmrg# $NetBSD: Makefile,v 1.13 2021/04/23 22:50:06 mrg Exp $ 2c552eaf0Smrg 3c552eaf0SmrgNOOBJ=# defined 4c552eaf0Smrg 58bc56117Schristos.include <bsd.init.mk> 6c552eaf0Smrg 76569dd0eSmattGCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/} 86569dd0eSmatt 96569dd0eSmatt.if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk) 10c552eaf0Smrg 11162d5b03Schristos.if ${MKGCCCMDS} != "no" || make(includes) 12c552eaf0Smrg 13162d5b03Schristos# We keep libcpp here since it depends upon frontend. 14c552eaf0SmrgSUBDIR+= host-libiberty .WAIT \ 1555dce056Smrg host-libcpp .WAIT \ 16c552eaf0Smrg backend .WAIT \ 17c552eaf0Smrg frontend .WAIT \ 18a83640f1Smrg common common-target .WAIT \ 19a83640f1Smrg libcpp libdecnumber .WAIT \ 20*e9c7620aSmrg gcov gcov-dump cc1 cc1obj cc1objplus cc1plus cpp g++ gcc \ 2125ff3ae4Smrg lto1 lto-wrapper lto-dump \ 222ca305faSmrg include 23c552eaf0Smrg 24162d5b03Schristos.endif 25162d5b03Schristos 26c552eaf0Smrg.include <bsd.subdir.mk> 27c552eaf0Smrg 28c552eaf0Smrg.else 29c552eaf0Smrg# Do nothing. (PROG undefined) 30c552eaf0Smrg.include <bsd.prog.mk> 31c552eaf0Smrg.endif 32