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