diff options
| author | tv <tv@NetBSD.org> | 2001-07-24 19:44:47 +0000 |
|---|---|---|
| committer | tv <tv@NetBSD.org> | 2001-07-24 19:44:47 +0000 |
| commit | f6709db6c67199e923533d84ebe7bc1d87ea191a (patch) | |
| tree | 60874d04ad9652d64b4060a86a365001082ce355 /gnu/lib/libstdc++/include | |
| parent | b224b62a84ff74fe13d71090006c26b2aad9a8ba (diff) | |
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.
Diffstat (limited to 'gnu/lib/libstdc++/include')
| -rw-r--r-- | gnu/lib/libstdc++/include/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
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 <bsd.own.mk> + +# 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 <bsd.inc.mk>. +.include <bsd.prog.mk> + +.endif |
