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