Makefile revision 291792
1# $FreeBSD: stable/10/gnu/usr.bin/cc/Makefile 291792 2015-12-04 18:14:31Z bdrewery $
2
3.include <bsd.own.mk>
4
5# The order of some of these are rather important.  Some depend on previous
6# subdirs.
7
8SUBDIR= cc_tools .WAIT \
9	libiberty libcpp libdecnumber cc_int cc cc1 include doc
10
11.if ${MK_CPP} != "no"
12SUBDIR+= cpp
13.endif
14
15.if ${MK_CXX} != "no"
16.if ${MK_GNUCXX} != "no"
17SUBDIR+= cc1plus c++ 
18.endif
19# This should be moved into the above block once c++filt from elftoolchain or
20# similar is provided.
21SUBDIR+= c++filt
22.endif
23
24.if ${MK_GCOV} != "no"
25SUBDIR+= gcov
26.endif
27
28SUBDIR_DEPEND_c++:=	libcpp libiberty
29SUBDIR_DEPEND_cc=	libcpp libiberty
30SUBDIR_DEPEND_cpp=	libcpp libiberty
31SUBDIR_DEPEND_cc1plus=	cc_int libcpp libdecnumber libiberty
32SUBDIR_DEPEND_cc1=	cc_int libcpp libdecnumber libiberty
33SUBDIR_DEPEND_gcov=	libiberty
34
35SUBDIR_PARALLEL=
36
37.include <bsd.subdir.mk>
38