]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - gnu/lib/Makefile
MFC r356356, r356358, r356422: replace gcclibs' libssp
[FreeBSD/FreeBSD.git] / gnu / lib / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 SUBDIR=
6 SUBDIR.${MK_DIALOG}+=   libdialog
7 SUBDIR.${MK_GCC}+=      libgcov
8 .if ${MK_GCC} != "no" && ${MK_OPENMP} == "no"
9 SUBDIR+=                libgomp
10 .endif
11 SUBDIR.${MK_TESTS}+=    tests
12
13 .if ${MK_BSD_CRTBEGIN} == "no"
14 SUBDIR+=                csu
15 .endif
16
17 .if ${MK_GNU_GREP} != "no" || ${MK_GNU_GREP_COMPAT} != "no" || \
18     ${MK_GDB} != "no"
19 SUBDIR+=                libregex
20 .endif
21
22 .if ${MK_LLVM_LIBUNWIND} == "no"
23 SUBDIR+=                libgcc
24 .endif
25
26 # libsupc++ uses libstdc++ headers, although 'make includes' should
27 # have taken care of that already.
28 .if ${MK_GNUCXX} != "no"
29 SUBDIR+= libstdc++ libsupc++
30 SUBDIR_DEPENDS_libsupc++:= libstdc++
31 .endif
32
33 SUBDIR_PARALLEL=
34
35 .include <bsd.subdir.mk>