xref: /freebsd/gnu/lib/Makefile (revision 68d75eff68281c1b445e3010bb975eae07aac225)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5SUBDIR=
6SUBDIR.${MK_DIALOG}+=	libdialog
7SUBDIR.${MK_GCC}+=	libgcov
8.if ${MK_GCC} != "no" && ${MK_OPENMP} == "no"
9SUBDIR+=		libgomp
10.endif
11SUBDIR.${MK_TESTS}+=	tests
12
13.if ${MK_BSD_CRTBEGIN} == "no"
14SUBDIR+=		csu
15.endif
16
17.if ${MK_GNU_GREP} != "no" || ${MK_GNU_GREP_COMPAT} != "no" || \
18    ${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