1 1.20 mrg # $NetBSD: Makefile,v 1.20 2026/01/19 02:45:14 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.19 nat 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.18 mrg .if !defined(NOGCCISL) 12 1.17 mrg ISL_SUBDIR= ../../../mit/isl/lib/libisl 13 1.17 mrg .else 14 1.17 mrg ISL_SUBDIR= 15 1.17 mrg .endif 16 1.17 mrg 17 1.16 mrg # host-libiberty is used by include on rs6000. 18 1.16 mrg SUBDIR+= host-libiberty .WAIT 19 1.11 christos 20 1.1 mrg # We keep libcpp here since it depends upon frontend. 21 1.16 mrg .if ${MKGCCCMDS} != "no" || make(includes) 22 1.16 mrg SUBDIR+= host-libcpp .WAIT \ 23 1.17 mrg ${ISL_SUBDIR} \ 24 1.1 mrg backend .WAIT \ 25 1.1 mrg frontend .WAIT \ 26 1.5 mrg common common-target .WAIT \ 27 1.14 mrg libcody libcpp libdecnumber .WAIT \ 28 1.20 mrg gcov gcov-dump cc1 cc1obj cc1objplus cc1plus f951 lto1 \ 29 1.20 mrg cpp g++ gcc gfortran lto-dump lto-wrapper 30 1.14 mrg .endif 31 1.1 mrg 32 1.14 mrg SUBDIR+= include 33 1.11 christos 34 1.16 mrg # Make sure that we do host-liberty before include, rs6000 has a generator 35 1.16 mrg # for an installed a header and the generator needs host-libiberty. 36 1.16 mrg include-include: include-host-libiberty 37 1.16 mrg 38 1.1 mrg .include <bsd.subdir.mk> 39 1.1 mrg 40 1.1 mrg .else 41 1.1 mrg # Do nothing. (PROG undefined) 42 1.1 mrg .include <bsd.prog.mk> 43 1.1 mrg .endif 44