xref: /freebsd/gnu/lib/Makefile (revision 1834282de6b9f6fd30291bfe1cc9c3ecf5547c40)
1# $FreeBSD$
2
3.include <src.opts.mk>
4
5SUBDIR= csu libgcc libregex
6
7SUBDIR.${MK_DIALOG}+=	libdialog
8
9.if ${MK_GCC} != "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# libsupc++ uses libstdc++ headers, although 'make includes' should
26# have taken care of that already.
27.if ${MK_GNUCXX} != "no"
28SUBDIR+= libstdc++ libsupc++
29SUBDIR_DEPENDS_libsupc++:= libstdc++
30.endif
31
32SUBDIR_PARALLEL=
33
34.include <bsd.subdir.mk>
35