Makefile revision 346333
1# $FreeBSD: stable/11/gnu/lib/Makefile 346333 2019-04-17 20:16:48Z dim $
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_SSP} != "no"
14SUBDIR+= libssp
15.endif
16
17.if ${MK_TESTS} != "no"
18SUBDIR+= tests
19.endif
20
21.if ${MK_BINUTILS} != "no" && ${MK_GDB} != "no"
22SUBDIR+=	libreadline
23.endif
24
25.if ${MK_GNU_DIFF} != "no" || ${MK_GNU_GREP} != "no" || \
26    ${MK_GNU_GREP_COMPAT} != "no" || ${MK_GDB} != "no"
27SUBDIR+=		libregex
28.endif
29
30# libsupc++ uses libstdc++ headers, although 'make includes' should
31# have taken care of that already.
32.if ${MK_GNUCXX} != "no"
33SUBDIR+= libstdc++ libsupc++
34SUBDIR_DEPENDS_libsupc++:= libstdc++
35.endif
36
37SUBDIR_PARALLEL=
38
39.include <bsd.subdir.mk>
40