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