1# $FreeBSD$
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 libiberty libcpp libdecnumber cc_int cc cc1 include doc
9
10.if ${MK_CPP} != "no"
11SUBDIR+= cpp
12.endif
13
14.if ${MK_CXX} != "no"
15.if ${MK_GNUCXX} != "no"
16SUBDIR+= cc1plus c++ 
17.endif
18# This should be moved into the above block once c++filt from elftoolchain or
19# similar is provided.
20SUBDIR+= c++filt
21.endif
22
23.if ${MK_GCOV} != "no"
24SUBDIR+= gcov
25.endif
26
27.include <bsd.subdir.mk>
28