Makefile revision 356775
1# $FreeBSD: stable/11/gnu/lib/Makefile 356775 2020-01-16 03:38:06Z kevans $
2
3.include <src.opts.mk>
4
5SUBDIR=			csu
6SUBDIR+=		libdialog
7SUBDIR+=		libgcc
8
9.if ${MK_GCC} != "no" && ${MK_OPENMP} == "no"
10SUBDIR+= libgcov libgomp
11.endif
12
13.if ${MK_TESTS} != "no"
14SUBDIR+= tests
15.endif
16
17.if ${MK_BINUTILS} != "no" && ${MK_GDB} != "no"
18SUBDIR+=	libreadline
19.endif
20
21.if ${MK_GNU_DIFF} != "no" || ${MK_GNU_GREP} != "no" || \
22    ${MK_GNU_GREP_COMPAT} != "no" || ${MK_GDB} != "no"
23SUBDIR+=		libregex
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