Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/lib Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/...
details: https://anonhg.NetBSD.org/src/rev/510f38a22ab7
branches: trunk
changeset: 535446:510f38a22ab7
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Aug 19 09:46:39 2002 +0000
description:
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../../some/path (etc).
(Reduces make output by ~ 20%)
diffstat:
gnu/lib/libbfd/Makefile | 7 +++----
gnu/lib/libg2c/Makefile | 9 ++++-----
gnu/lib/libgcc/Makefile | 11 +++++------
gnu/lib/libiberty/Makefile | 5 ++---
gnu/lib/libobjc/Makefile | 11 +++++------
gnu/lib/libstdc++/Makefile | 9 ++++-----
gnu/lib/libstdc++/config/Makefile | 4 ++--
gnu/lib/libstdc++/include/Makefile | 5 ++---
gnu/lib/libstdc++/io/Makefile | 7 +++----
gnu/lib/libstdc++/std/Makefile | 10 ++++++----
gnu/lib/libstdc++/stl/Makefile | 10 ++++++----
11 files changed, 42 insertions(+), 46 deletions(-)
diffs (289 lines):
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libbfd/Makefile
--- a/gnu/lib/libbfd/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libbfd/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2002/06/19 16:10:48 itojun Exp $
+# $NetBSD: Makefile,v 1.29 2002/08/19 09:46:39 lukem Exp $
LIB= bfd
@@ -17,8 +17,7 @@
SHLIB_MAJOR= 4
SHLIB_MINOR= 0
-TOP= ${.CURDIR}/../..
-DIST= ${TOP}/dist/toolchain
+DIST= ${NETBSDSRCDIR}/gnu/dist/toolchain
GCPPFLAGS= ${G_archdefs} ${G_DEFS} ${G_INCLUDES} ${G_TDEFAULTS}
CPPFLAGS+= -I${.CURDIR}/arch/${MACHINE_ARCH} -I. \
@@ -70,7 +69,7 @@
CPPFLAGS += -DBFD_TARG_64
.endif
-DIST= ${.CURDIR}/../../dist
+DIST= ${NETBSDSRCDIR}/gnu/dist
# generic bfd
SRCS= archive.c archures.c bfd.c cache.c coffgen.c corefile.c \
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libg2c/Makefile
--- a/gnu/lib/libg2c/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libg2c/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2002/02/11 21:36:34 tv Exp $
+# $NetBSD: Makefile,v 1.17 2002/08/19 09:46:40 lukem Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -15,8 +15,7 @@
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
-TOP= ${.CURDIR}/../..
-DIST= ${TOP}/dist/toolchain
+DIST= ${NETBSDSRCDIR}/gnu/dist/toolchain
SRCS= ${G_OBJS:.o=.c} ${G_OBJ:.o=.c}
@@ -145,8 +144,8 @@
# XXX may need a better way to do this; can be overridden with "cp"
MAKE_SYMLINK?= ln -sf
-DIST= ${.CURDIR}/../../dist
-ARCH= ${.CURDIR}/../../usr.bin/egcs/arch
+DIST= ${NETBSDSRCDIR}/gnu/dist
+ARCH= ${NETBSDSRCDIR}/gnu/usr.bin/egcs/arch
.if exists(${ARCH}/${MACHINE_ARCH})
ARCHSUBDIR= ${MACHINE_ARCH}
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libgcc/Makefile
--- a/gnu/lib/libgcc/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libgcc/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2002/03/28 09:58:09 jmc Exp $
+# $NetBSD: Makefile,v 1.42 2002/08/19 09:46:40 lukem Exp $
REQUIRETOOLS= yes
@@ -14,9 +14,8 @@
.if exists(${.CURDIR}/${MACHINE_ARCH}.mk)
.include "${.CURDIR}/${MACHINE_ARCH}.mk"
-TOP= ${.CURDIR}/../..
-DIST= ${TOP}/dist/toolchain
-GCCARCH= ${TOP}/usr.bin/gcc/arch/${MACHINE_ARCH}
+DIST= ${NETBSDSRCDIR}/gnu/dist/toolchain
+GCCARCH= ${NETBSDSRCDIR}/gnu/usr.bin/gcc/arch/${MACHINE_ARCH}
GCPPFLAGS= ${G_LIBGCC2_CFLAGS} ${G_MAYBE_USE_COLLECT2} ${G_INCLUDES}
CPPFLAGS+= -I${GCCARCH} ${GCPPFLAGS:M-D*} ${GCPPFLAGS:M-I*:N-I.*} \
@@ -81,8 +80,8 @@
MKPIC:= no
MKPROFILE:= no
-DIST= ${.CURDIR}/../../dist/gcc
-ARCH= ${.CURDIR}/../../usr.bin/egcs/arch
+DIST= ${NETBSDSRCDIR}/gnu/dist/gcc
+ARCH= ${NETBSDSRCDIR}/gnu/usr.bin/egcs/arch
.if exists(${ARCH}/${MACHINE_ARCH})
ARCHSUBDIR= ${MACHINE_ARCH}
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libiberty/Makefile
--- a/gnu/lib/libiberty/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libiberty/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2002/02/27 17:03:49 tv Exp $
+# $NetBSD: Makefile,v 1.6 2002/08/19 09:46:41 lukem Exp $
NOLINT= # defined
NOPROFILE= # defined
@@ -13,8 +13,7 @@
.include "${.CURDIR}/defs.mk"
-TOP= ${.CURDIR}/../..
-DIST= ${TOP}/dist/toolchain
+DIST= ${NETBSDSRCDIR}/gnu/dist/toolchain
SRCS= ${G_REQUIRED_OFILES:.o=.c} ${G_EXTRA_OFILES:.o=.c} \
${G_LIBOBJS:.o=.c} ${G_ALLOCA:.o=.c}
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libobjc/Makefile
--- a/gnu/lib/libobjc/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libobjc/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2002/02/27 17:58:52 tv Exp $
+# $NetBSD: Makefile,v 1.20 2002/08/19 09:46:41 lukem Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -15,9 +15,8 @@
# Machine-independent definitions (include file names).
.include "${.CURDIR}/defs.mk"
-TOP= ${.CURDIR}/../..
-DIST= ${TOP}/dist/toolchain
-GCCARCH= ${TOP}/usr.bin/gcc/arch/${MACHINE_ARCH}
+DIST= ${NETBSDSRCDIR}/gnu/dist/toolchain
+GCCARCH= ${NETBSDSRCDIR}/gnu/usr.bin/gcc/arch/${MACHINE_ARCH}
SRCS= ${G_OBJS:N[A-Z]*:Nlinking.o:.o=.c} ${G_OBJS:M[A-Z]*:.o=.m} linking.m
@@ -59,8 +58,8 @@
INCS= hash.h objc-list.h sarray.h objc.h objc-api.h NXConstStr.h \
Object.h Protocol.h encoding.h typedstream.h thr.h
INCSDIR= /usr/include/objc
-DIST= ${.CURDIR}/../../dist/gcc
-ARCH= ${.CURDIR}/../../usr.bin/egcs/arch
+DIST= ${NETBSDSRCDIR}/gnu/dist/gcc
+ARCH= ${NETBSDSRCDIR}/gnu/usr.bin/egcs/arch
.if exists(${ARCH}/${MACHINE_ARCH})
ARCHSUBDIR= ${MACHINE_ARCH}
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libstdc++/Makefile
--- a/gnu/lib/libstdc++/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libstdc++/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2002/02/28 02:13:34 tv Exp $
+# $NetBSD: Makefile,v 1.19 2002/08/19 09:46:41 lukem Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -17,8 +17,7 @@
SUBDIR= include io config
-TOP= ${.CURDIR}/../..
-DIST= ${TOP}/dist/toolchain
+DIST= ${NETBSDSRCDIR}/gnu/dist/toolchain
SRCS= ${G_OBJS:.o=.cc} ${G_LIBIBERTY_OBJS:.o=.c}
INCS= _G_config.h
@@ -37,7 +36,7 @@
CPPFLAGS+= -nostdinc++ -I${.CURDIR}/arch/${MACHINE_ARCH} \
${GCPPFLAGS:M-D*} ${GCPPFLAGS:M-I*:N-I.*} \
-I${DIST}/gcc/cp/inc \
- -I${.CURDIR}/../libiberty -I${DIST}/include
+ -I${NETBSDSRCDIR}/gnu/lib/libiberty -I${DIST}/include
CXXFLAGS+= ${G_XCXXFLAGS:M-f*}
@@ -115,7 +114,7 @@
outfloat.c peekc.c strops.c \
cmathi.cc cstdlibi.cc cstringi.cc stdexcepti.cc stlinst.cc
-DIST= ${.CURDIR}/../../dist
+DIST= ${NETBSDSRCDIR}/gnu/dist
CPPFLAGS+= -I${DESTDIR}/usr/include/g++ -I${DIST}/libstdc++
TEXINFO= iostream.texi
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libstdc++/config/Makefile
--- a/gnu/lib/libstdc++/config/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libstdc++/config/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2001/12/30 17:21:19 mrg Exp $
+# $NetBSD: Makefile,v 1.10 2002/08/19 09:46:42 lukem Exp $
# Makefile for _G_config.h, a machine-dependent automatically generated
# configuration file.
@@ -17,7 +17,7 @@
DPSRCS= _G_config.h
CLEANFILES= dummy.c dummy.h dummy.C _G_config.h
-DIST= ${.CURDIR}/../../../dist
+DIST= ${NETBSDSRCDIR}/gnu/dist
.ifdef DESTDIR
LDPRE= -nostdlib -L${DESTDIR}${SHLIBDIR} -L${DESTDIR}/usr/lib \
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libstdc++/include/Makefile
--- a/gnu/lib/libstdc++/include/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libstdc++/include/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2001/07/24 19:44:50 tv Exp $
+# $NetBSD: Makefile,v 1.2 2002/08/19 09:46:42 lukem Exp $
.include <bsd.own.mk>
@@ -10,8 +10,7 @@
.include "${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk"
-TOP= ${.CURDIR}/../../..
-DIST= ${TOP}/dist/toolchain
+DIST= ${NETBSDSRCDIR}/gnu/dist/toolchain
INCS= ${G_HEADERS} ${STD_HEADERS} ${STL_HEADERS}
INCSDIR= /usr/include/g++
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libstdc++/io/Makefile
--- a/gnu/lib/libstdc++/io/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libstdc++/io/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/12/19 20:52:11 tv Exp $
+# $NetBSD: Makefile,v 1.8 2002/08/19 09:46:42 lukem Exp $
NOOBJ= # defined
@@ -12,8 +12,7 @@
.include "${.CURDIR}/../arch/${MACHINE_ARCH}/defs.mk"
-TOP= ${.CURDIR}/../../..
-DIST= ${TOP}/dist/toolchain
+DIST= ${NETBSDSRCDIR}/gnu/dist/toolchain
INCS= ${LIBIO_HEADERS:Niostdio.h}
INCSDIR= /usr/include/g++
@@ -31,7 +30,7 @@
procbuf.h stdiostream.h stream.h streambuf.h strfile.h strstream.h
INCSDIR=/usr/include/g++
-.PATH: ${.CURDIR}/../../../dist/libio
+.PATH: ${NETBSDSRCDIR}/gnu/dist/libio
.include <bsd.prog.mk>
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libstdc++/std/Makefile
--- a/gnu/lib/libstdc++/std/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libstdc++/std/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,12 +1,14 @@
-# $NetBSD: Makefile,v 1.5 2001/12/12 01:48:59 tv Exp $
+# $NetBSD: Makefile,v 1.6 2002/08/19 09:46:42 lukem Exp $
+
+NOOBJ= # defined
+
+.include <bsd.own.mk>
INCS= bastring.cc bastring.h complext.cc complext.h dcomplex.h fcomplex.h \
ldcomplex.h straits.h
INCS+= bastring_inst.h complext_inst.h
INCSDIR=/usr/include/g++/std
-NOOBJ= # defined
-
-.PATH: ${.CURDIR}/../../../dist/libstdc++/std
+.PATH: ${NETBSDSRCDIR}/gnu/dist/libstdc++/std
.include <bsd.prog.mk>
diff -r 33c2b8dde08d -r 510f38a22ab7 gnu/lib/libstdc++/stl/Makefile
--- a/gnu/lib/libstdc++/stl/Makefile Mon Aug 19 09:41:27 2002 +0000
+++ b/gnu/lib/libstdc++/stl/Makefile Mon Aug 19 09:46:39 2002 +0000
@@ -1,4 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2001/12/12 01:48:59 tv Exp $
+# $NetBSD: Makefile,v 1.7 2002/08/19 09:46:43 lukem Exp $
+
+NOOBJ= # defined
+
+.include <bsd.own.mk>
INCS= algorithm deque functional hash_map hash_set iterator list map \
memory numeric pthread_alloc queue rope set slist stack utility \
@@ -16,9 +20,7 @@
tempbuf.h tree.h type_traits.h vector.h
INCSDIR=/usr/include/g++
-NOOBJ= # defined
-
-.PATH: ${.CURDIR}/../../../dist/libstdc++/stl
+.PATH: ${NETBSDSRCDIR}/gnu/dist/libstdc++/stl
.SUFFIXES:
Home |
Main Index |
Thread Index |
Old Index