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