Makefile revision 1.8
1#	$NetBSD: Makefile,v 1.8 2019/09/26 08:03:55 mrg Exp $
2
3SUBDIR=		backward ext bits debug decimal parallel pb profile
4SUBDIR+=	tr1 tr2
5
6.include <bsd.init.mk>
7.include <bsd.own.mk>
8
9.include "${.CURDIR}/../arch/${GCC_MACHINE_ARCH}/defs.mk"
10
11.cc: # disable .cc->NULL transform
12
13DIST=		${GCCDIST}
14GNUHOSTDIST=	${DIST}
15
16# libsupc++
17INCS=		exception new typeinfo cxxabi.h initializer_list
18
19# others
20INCS+=		cerrno
21INCS+=		${G_std_headers} ${G_c_base_headers}
22INCS+=		${G_c_compatibility_headers_extra}
23INCSDIR=	/usr/include/g++
24
25.PATH: ${DIST}/libstdc++-v3
26.PATH: ${DIST}/libstdc++-v3/libsupc++
27#.PATH: ${DIST}/libstdc++-v3/include/c_compatibility
28.PATH: ${DIST}/libstdc++-v3/include/c_global
29.PATH: ${DIST}/libstdc++-v3/include/std
30
31# Get default targets including <bsd.inc.mk>.
32.include <bsd.prog.mk>
33.include <bsd.subdir.mk>
34