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