xref: /freebsd/gnu/lib/Makefile (revision b0b1dbdd)
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_BINUTILS} != "no" && ${MK_GDB} != "no"
12SUBDIR+=	libreadline
13.endif
14
15.if ${MK_GNU_DIFF} != "no" || ${MK_GNU_GREP} != "no" || \
16    ${MK_GNU_GREP_COMPAT} != "no" || ${MK_GDB} != "no"
17SUBDIR+=		libregex
18.endif
19
20.if ${MK_LLVM_LIBUNWIND} == "no"
21SUBDIR+=		libgcc
22.endif
23
24# libsupc++ uses libstdc++ headers, although 'make includes' should
25# have taken care of that already.
26.if ${MK_GNUCXX} != "no"
27SUBDIR+= libstdc++ libsupc++
28SUBDIR_DEPENDS_libsupc++:= libstdc++
29.endif
30
31SUBDIR_PARALLEL=
32
33.include <bsd.subdir.mk>
34