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