Makefile revision 1.11
1# $NetBSD: Makefile,v 1.11 2021/04/09 23:15:51 mrg Exp $ 2 3NOOBJ=# defined 4 5.include <bsd.init.mk> 6 7GCC_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. 14SUBDIR+= 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 cc1plus cpp g++ gcc \ 21 lto1 lto-wrapper \ 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