1 1.14 mrg # $NetBSD: Makefile,v 1.14 2023/08/01 05:57:53 mrg Exp $ 2 1.1 mrg 3 1.1 mrg NOOBJ=# defined 4 1.1 mrg 5 1.10 christos .include <bsd.init.mk> 6 1.1 mrg 7 1.4 matt GCC_MACHINE_ARCH=${MACHINE_ARCH:S/earmv5/earm/} 8 1.4 matt 9 1.4 matt .if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk) 10 1.1 mrg 11 1.11 christos .if ${MKGCCCMDS} != "no" || make(includes) 12 1.11 christos 13 1.1 mrg # We keep libcpp here since it depends upon frontend. 14 1.1 mrg SUBDIR+= host-libiberty .WAIT \ 15 1.8 mrg host-libcpp .WAIT \ 16 1.1 mrg backend .WAIT \ 17 1.1 mrg frontend .WAIT \ 18 1.5 mrg common common-target .WAIT \ 19 1.14 mrg libcody libcpp libdecnumber .WAIT \ 20 1.13 mrg gcov gcov-dump cc1 cc1obj cc1objplus cc1plus cpp g++ gcc \ 21 1.14 mrg lto1 lto-wrapper lto-dump 22 1.14 mrg .endif 23 1.1 mrg 24 1.14 mrg SUBDIR+= include 25 1.11 christos 26 1.1 mrg .include <bsd.subdir.mk> 27 1.1 mrg 28 1.1 mrg .else 29 1.1 mrg # Do nothing. (PROG undefined) 30 1.1 mrg .include <bsd.prog.mk> 31 1.1 mrg .endif 32