xref: /netbsd-src/external/gpl3/gcc.old/lib/Makefile (revision 4d2f66ba4dd8b9cb20930e15c2067c46af05d8f3)
1#	$NetBSD: Makefile,v 1.12 2024/07/02 04:51:41 rin Exp $
2
3.include <bsd.own.mk>
4
5# crtstuff is built out of elsewhere, or not at all
6SUBDIR+= libgcc .WAIT
7SUBDIR+= libiberty libobjc libgomp
8SUBDIR+= libbacktrace
9SUBDIR+= liblto_plugin
10
11.if (${MKLIBSTDCXX} != "no") && (${MKCXX} != "no")
12SUBDIR+= libsupc++ libstdc++-v3
13
14.if ${MKGCCCMDS} != "no"
15SUBDIR+= .WAIT libasan liblsan libubsan
16
17# TSan does not work with 32bit address space and has not been ported
18# to all 64-bit architectures.
19.if ${MACHINE} == "amd64"
20SUBDIR+= libtsan
21.endif
22.endif
23
24.endif
25
26.include <bsd.subdir.mk>
27