xref: /freebsd-12.1/gnu/lib/Makefile (revision 514bfd46)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5SUBDIR=			csu
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_GNU_GREP} != "no" || ${MK_GNU_GREP_COMPAT} != "no" || \
15    ${MK_GDB} != "no"
16SUBDIR+=		libregex
17.endif
18
19.if ${MK_LLVM_LIBUNWIND} == "no"
20SUBDIR+=		libgcc
21.endif
22
23# libsupc++ uses libstdc++ headers, although 'make includes' should
24# have taken care of that already.
25.if ${MK_GNUCXX} != "no"
26SUBDIR+= libstdc++ libsupc++
27SUBDIR_DEPENDS_libsupc++:= libstdc++
28.endif
29
30SUBDIR_PARALLEL=
31
32.include <bsd.subdir.mk>
33