xref: /dragonfly/gnu/usr.bin/cc80/Makefile (revision 73b5ca6b)
1# if wrapper mode
2.if (defined(NO_CROSSTOOLS) && defined(BOOTSTRAPPING)) || \
3    (!defined(BOOTSTRAPPING) && defined(NO_TOOLCHAIN))
4.include "Makefile.zhack"
5.else
6
7# normal mode
8# This build order provides more parallelism that gcc47, and is almost as
9# efficient as possible.  Most of the support libraries could be built
10# without cc_tools and the backend could be built at the same time as the
11# drivers rather than afterwards, but this setup is reasonably fine grained.
12
13SUBDIR_ORDERED=	cc_prep cc_tools support-libs drivers libbackend backends
14
15# The SUBDIR_ORDERED definition is currently equivalent to SUBDIR_ORDERED=
16# but it wasn't always -- there used to be "doc" directory which could be
17# built at any time.  Just leave the redundant definition for now, maybe
18# we'll need it again in the future.
19
20SUBDIR=		cc_prep
21SUBDIR+=	cc_tools
22SUBDIR+=	support-libs
23SUBDIR+=	drivers
24SUBDIR+=	libbackend
25SUBDIR+=	backends
26
27.include <bsd.subdir.mk>
28.endif
29