From f6709db6c67199e923533d84ebe7bc1d87ea191a Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 24 Jul 2001 19:44:47 +0000 Subject: Add new toolchain build structure for libg2c, libobjc, and libstdc++. Note that old build system still exists under .if conditionals; this will be removed once all platforms are using the new toolchain. --- gnu/lib/libstdc++/include/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 gnu/lib/libstdc++/include/Makefile (limited to 'gnu/lib/libstdc++/include') diff --git a/gnu/lib/libstdc++/include/Makefile b/gnu/lib/libstdc++/include/Makefile new file mode 100644 index 00000000000..623951adb25 --- /dev/null +++ b/gnu/lib/libstdc++/include/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2001/07/24 19:44:50 tv Exp $ + +.include + +# This include file keeps the includes/build of libstdc++ separate, +# to avoid issues like "iostream.cc" using the default ".cc:" rule +# to build the "iostream" file (which is actually a header). + +.if defined(USE_NEW_TOOLCHAIN) + +.include "${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk" + +TOP= ${.CURDIR}/../../.. +DIST= ${TOP}/dist/toolchain + +INCS= ${G_HEADERS} ${STD_HEADERS} ${STL_HEADERS} +INCSDIR= /usr/include/g++ + +.PATH: ${DIST}/libstdc++ ${DIST}/libstdc++/stl + +# Get default targets including . +.include + +.endif -- cgit