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