summaryrefslogtreecommitdiff
path: root/gnu/lib/libobjc
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2002-08-19 09:46:39 +0000
committerlukem <lukem@NetBSD.org>2002-08-19 09:46:39 +0000
commit8f96758140d1687d4fb5eeece70194bddc27b623 (patch)
tree47ab12cc46895c12fa07f31dad2dd3b5003c7ef5 /gnu/lib/libobjc
parentebb6fc9eb8d577eb04388d4da60bf84e036089d1 (diff)
Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../../some/path (etc).
(Reduces make output by ~ 20%)
Diffstat (limited to 'gnu/lib/libobjc')
-rw-r--r--gnu/lib/libobjc/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/gnu/lib/libobjc/Makefile b/gnu/lib/libobjc/Makefile
index 6051e277d97..9f07e56fc37 100644
--- a/gnu/lib/libobjc/Makefile
+++ b/gnu/lib/libobjc/Makefile
@@ -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 @@ SHLIB_MINOR= 0
# 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 @@ DPSRCS+= runtime-info.h
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}