1 1.4 matt # $NetBSD: Makefile,v 1.4 2013/08/22 00:17:48 matt Exp $ 2 1.1 mrg 3 1.1 mrg NOOBJ=# defined 4 1.1 mrg 5 1.1 mrg .include <bsd.own.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.1 mrg # We keep libcpp here since it depends upon frontend. 12 1.1 mrg 13 1.1 mrg SUBDIR+= host-libiberty .WAIT \ 14 1.1 mrg backend .WAIT \ 15 1.1 mrg frontend .WAIT \ 16 1.3 mrg libcpp libdecnumber gcov .WAIT \ 17 1.1 mrg cc1 cc1obj cc1plus cpp g++ gcc \ 18 1.3 mrg include 19 1.1 mrg 20 1.1 mrg .include <bsd.subdir.mk> 21 1.1 mrg 22 1.1 mrg .else 23 1.1 mrg # Do nothing. (PROG undefined) 24 1.1 mrg .include <bsd.prog.mk> 25 1.1 mrg .endif 26