xref: /freebsd/gnu/lib/Makefile (revision a7dea1671b87c07d2d266f836bfa8b58efc7c134)
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