xref: /netbsd-src/external/gpl3/gcc/usr.bin/Makefile (revision 0953dc8744b62dfdecb2f203329e730593755659)
1#	$NetBSD: Makefile,v 1.3 2011/06/29 01:57:59 mrg Exp $
2
3NOOBJ=# defined
4
5.include <bsd.own.mk>
6
7.if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${MACHINE_ARCH}/defs.mk)
8
9# We keep libcpp here since it depends upon frontend.
10
11SUBDIR+=	host-libiberty .WAIT \
12		backend .WAIT \
13		frontend .WAIT \
14		libcpp libdecnumber gcov .WAIT \
15		cc1 cc1obj cc1plus cpp g++ gcc \
16		include
17
18.include <bsd.subdir.mk>
19
20.else
21# Do nothing. (PROG undefined)
22.include <bsd.prog.mk>
23.endif
24