xref: /netbsd-src/external/gpl3/gcc.old/usr.bin/Makefile (revision c38e7cc395b1472a774ff828e46123de44c628e9)
1#	$NetBSD: Makefile,v 1.5 2017/07/23 01:12:16 mrg Exp $
2
3NOOBJ=# defined
4
5.include <bsd.own.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# We keep libcpp here since it depends upon frontend.
12
13SUBDIR+=	host-libiberty .WAIT \
14		host-libcpp .WAIT \
15		backend .WAIT \
16		frontend .WAIT \
17		common common-target .WAIT \
18		libcpp libdecnumber .WAIT \
19		gcov cc1 cc1obj cc1plus cpp g++ gcc \
20		lto1 lto-wrapper \
21		include
22
23.include <bsd.subdir.mk>
24
25.else
26# Do nothing. (PROG undefined)
27.include <bsd.prog.mk>
28.endif
29