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