xref: /minix/external/gpl3/gcc/usr.bin/Makefile (revision 0a6a1f1d)
1#	$NetBSD: Makefile,v 1.7 2015/01/07 02:18:10 christos 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		backend .WAIT \
15		frontend .WAIT \
16		common common-target .WAIT \
17		libcpp libdecnumber .WAIT \
18		gcov cc1 cc1obj cc1plus cpp g++ gcc \
19		lto1 lto-wrapper \
20		include
21
22.include <bsd.subdir.mk>
23
24.else
25# Do nothing. (PROG undefined)
26.include <bsd.prog.mk>
27.endif
28