xref: /netbsd-src/external/gpl3/gcc/lib/Makefile (revision a5330f4c834ed4a53c5792f7abb93adcec5fcf85)
1#	$NetBSD: Makefile,v 1.24 2024/07/01 04:03:04 mrg 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" || ${MACHINE_CPU} == "aarch64"
20SUBDIR+= libtsan
21.endif
22.endif
23
24.endif
25
26.include <bsd.subdir.mk>
27