From 5a9a1bb7686816a1ebd1f71e4b3296aa96b8ad44 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 26 Jul 2003 14:55:12 +0000 Subject: - 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) --- gnu/lib/libstdc++-v3/include/bits/Makefile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'gnu/lib/libstdc++-v3/include') 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 @@ -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} -- cgit