# $NetBSD: Makefile,v 1.16 2024/06/18 04:07:18 mrg Exp $ NOOBJ=# defined .include GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/} .if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk) # host-libiberty is used by include on rs6000. SUBDIR+= host-libiberty .WAIT # We keep libcpp here since it depends upon frontend. .if ${MKGCCCMDS} != "no" || make(includes) SUBDIR+= host-libcpp .WAIT \ ../../../mit/isl/lib/libisl \ backend .WAIT \ frontend .WAIT \ common common-target .WAIT \ libcody libcpp libdecnumber .WAIT \ gcov gcov-dump cc1 cc1obj cc1objplus cc1plus cpp g++ gcc \ lto1 lto-wrapper lto-dump .endif SUBDIR+= include # Make sure that we do host-liberty before include, rs6000 has a generator # for an installed a header and the generator needs host-libiberty. include-include: include-host-libiberty .include .else # Do nothing. (PROG undefined) .include .endif