summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/c++filt
diff options
context:
space:
mode:
authortv <tv@NetBSD.org>1998-07-25 18:58:42 +0000
committertv <tv@NetBSD.org>1998-07-25 18:58:42 +0000
commit8f87ff5686bf846c8abe7f1654c23a7d076cd1ce (patch)
treeed49e25457f7a4d4354f708bd95aaeda7b117323 /gnu/usr.bin/binutils/c++filt
parent50f955ff4970fe917c14358e34954e455475e77e (diff)
Use the new MACHINE_GNU_ARCH to identify a GNU architecture name.
In c++filt, add real dependencies for underscore.c so it isn't rebuilt every time.
Diffstat (limited to 'gnu/usr.bin/binutils/c++filt')
-rw-r--r--gnu/usr.bin/binutils/c++filt/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/c++filt/Makefile b/gnu/usr.bin/binutils/c++filt/Makefile
index 56a2a28b2ea..35a4a6a2f66 100644
--- a/gnu/usr.bin/binutils/c++filt/Makefile
+++ b/gnu/usr.bin/binutils/c++filt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 1998/05/28 20:52:26 cgd Exp $
+# $NetBSD: Makefile,v 1.4 1998/07/25 18:58:43 tv Exp $
PROG= c++filt
SRCS= cplus-dem.c underscore.c
@@ -7,12 +7,12 @@ CPPFLAGS+=-DMAIN -DVERSION='"${VERSION}"'
CLEANFILES+=underscore.c ${PROG}.1
-underscore.c: .PHONY
- sh ${.CURDIR}/mkunderscore.sh ${TARGET_ARCH}-unknown-netbsd ${TOP}/dist/bfd/config.bfd > \
- ${.TARGET}
-
.include <bsd.prog.mk>
+underscore.c: mkunderscore.sh ${dist}/bfd/config.bfd
+ sh ${.CURDIR}/mkunderscore.sh ${MACHINE_GNU_ARCH}-unknown-netbsd \
+ ${dist}/bfd/config.bfd > ${.TARGET}
+
.PATH: ${dist}/libiberty
${PROG}.1: ${srcdir}/cxxfilt.man