xref: /openbsd/gnu/lib/Makefile (revision a265a8f9)
1#	$OpenBSD: Makefile,v 1.25 2021/06/09 19:44:55 mortimer Exp $
2
3.include <bsd.own.mk>
4
5SUBDIR+=libcompiler_rt libexecinfo libiberty libreadline
6SUBDIR+=libcxxabi libcxx
7.if make(obj)
8SUBDIR+=libstdc++ libstdc++-v3 libsupc++-v3
9.else
10.  if ${BUILD_GCC3:L} == "yes"
11SUBDIR+=libstdc++
12.  endif
13.  if ${BUILD_GCC4:L} == "yes"
14# XXX make sure we build libstdc++-v3 from gcc4
15SUBDIR+=libstdc++-v3 libsupc++-v3
16.  endif
17.endif
18
19.include <bsd.subdir.mk>
20