xref: /freebsd/gnu/lib/Makefile (revision a33774adb3e7e902ca1742227ee070b93d602fc8)
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.if ${MK_LLVM_LIBUNWIND} == "no"
23SUBDIR+=		libgcc
24.endif
25
26# libsupc++ uses libstdc++ headers, although 'make includes' should
27# have taken care of that already.
28.if ${MK_GNUCXX} != "no"
29SUBDIR+= libstdc++ libsupc++
30SUBDIR_DEPENDS_libsupc++:= libstdc++
31.endif
32
33SUBDIR_PARALLEL=
34
35.include <bsd.subdir.mk>
36