]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - gnu/usr.bin/cc/Makefile
MFC r289393:
[FreeBSD/stable/10.git] / gnu / usr.bin / cc / Makefile
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
8 SUBDIR= cc_tools .WAIT \
9         libiberty libcpp libdecnumber cc_int cc cc1 include doc
10
11 .if ${MK_CPP} != "no"
12 SUBDIR+= cpp
13 .endif
14
15 .if ${MK_CXX} != "no"
16 .if ${MK_GNUCXX} != "no"
17 SUBDIR+= cc1plus c++ 
18 .endif
19 # This should be moved into the above block once c++filt from elftoolchain or
20 # similar is provided.
21 SUBDIR+= c++filt
22 .endif
23
24 .if ${MK_GCOV} != "no"
25 SUBDIR+= gcov
26 .endif
27
28 SUBDIR_DEPEND_c++:=     libcpp libiberty
29 SUBDIR_DEPEND_cc=       libcpp libiberty
30 SUBDIR_DEPEND_cpp=      libcpp libiberty
31 SUBDIR_DEPEND_cc1plus=  cc_int libcpp libdecnumber libiberty
32 SUBDIR_DEPEND_cc1=      cc_int libcpp libdecnumber libiberty
33 SUBDIR_DEPEND_gcov=     libiberty
34
35 SUBDIR_PARALLEL=
36
37 .include <bsd.subdir.mk>