diff options
| author | mrg <mrg@NetBSD.org> | 2003-07-26 14:55:12 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2003-07-26 14:55:12 +0000 |
| commit | 5a9a1bb7686816a1ebd1f71e4b3296aa96b8ad44 (patch) | |
| tree | d49922dc264522d1fbf9da5c258f9094f560eb3b /gnu/lib/libstdc++-v3/include | |
| parent | 9a2ca8e117e2b5fcb4c096589c0172351ea541ef (diff) | |
- build/install a libsupc++.a
- clean up commented & wrong rules
- find the right bits/ headers for sparc64 & arm
- make sure libsupc++/libstdc++ have all the symbols from libiberty they want
- disable the build of libstdc++ for now (but keep the includes installing)
Diffstat (limited to 'gnu/lib/libstdc++-v3/include')
| -rw-r--r-- | gnu/lib/libstdc++-v3/include/bits/Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/gnu/lib/libstdc++-v3/include/bits/Makefile b/gnu/lib/libstdc++-v3/include/bits/Makefile index 35134f7ef5d..a07880688c5 100644 --- a/gnu/lib/libstdc++-v3/include/bits/Makefile +++ b/gnu/lib/libstdc++-v3/include/bits/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2003/07/25 16:32:51 mrg Exp $ +# $NetBSD: Makefile,v 1.2 2003/07/26 14:55:15 mrg Exp $ .include <bsd.own.mk> @@ -21,11 +21,23 @@ c++io.h: ${CONF}/io/c_io_stdio.h c++locale.h: ${CONF}/locale/generic/c_locale.h cp $> ${.TARGET} +# List of places to find cpu files; maybe do this differently from +# mknative? +BITS_CPUDIR.sparc64=sparc + +_DIR=${BITS_CPUDIR.${MACHINE_ARCH}} +.if ${_DIR} != "" +BITS_CPUDIR=${BITS_CPUDIR.${MACHINE_ARCH}} +.else +BITS_CPUDIR=${MACHINE_GNU_ARCH} +.endif + .PATH: ${DIST}/libstdc++-v3/include/bits \ ${DIST}/libstdc++-v3/include/c_std \ ${CONF}/os/bsd/netbsd \ ${CONF}/io \ - ${CONF}/cpu/${MACHINE_GNU_ARCH} \ + ${CONF}/cpu/${BITS_CPUDIR} \ + ${CONF}/cpu/generic \ ${CONF}/locale/generic \ ${.CURDIR}/../../arch/${MACHINE_ARCH} |
