diff options
| author | lukem <lukem@NetBSD.org> | 2003-10-20 01:15:03 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 2003-10-20 01:15:03 +0000 |
| commit | 3fc127cd66bc254b7678787044a53d2c09004a7d (patch) | |
| tree | f3e3020929656c21ac4251e1cb7be70abf50ffd3 /gnu/usr.bin/binutils | |
| parent | 46948f220d962738d9e0527794c5b866126739b8 (diff) | |
Support MAKEVERBOSE
Use ${HOST_SH}
Use BUILDSYMLINKS
Diffstat (limited to 'gnu/usr.bin/binutils')
| -rw-r--r-- | gnu/usr.bin/binutils/c++filt/Makefile | 4 | ||||
| -rw-r--r-- | gnu/usr.bin/binutils/common/Makefile | 5 | ||||
| -rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile | 15 |
3 files changed, 16 insertions, 8 deletions
diff --git a/gnu/usr.bin/binutils/c++filt/Makefile b/gnu/usr.bin/binutils/c++filt/Makefile index ba4b1d0cf6f..5bfa8ad48ea 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.12 2003/03/05 07:19:13 mrg Exp $ +# $NetBSD: Makefile,v 1.13 2003/10/20 01:15:03 lukem Exp $ PROG= c++filt CPPFLAGS+= -DMAIN @@ -11,4 +11,6 @@ CLEANFILES+= c++filt.1 .PATH: ${DIST}/libiberty c++filt.1: ${DIST}/binutils/doc/cxxfilt.man + ${_MKMSGCREATE} + ${_MKCMD}\ sed -e "s/@PROGRAM@/${PROG}/" < $> > $@ diff --git a/gnu/usr.bin/binutils/common/Makefile b/gnu/usr.bin/binutils/common/Makefile index 76fa7a73792..50e2d06551c 100644 --- a/gnu/usr.bin/binutils/common/Makefile +++ b/gnu/usr.bin/binutils/common/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2003/03/05 07:19:14 mrg Exp $ +# $NetBSD: Makefile,v 1.14 2003/10/20 01:15:03 lukem Exp $ .include <bsd.own.mk> @@ -15,7 +15,10 @@ INFOFLAGS= -I${DIST}/binutils/doc -I{.CURDIR} ${TEXINFO}: config.texi config.texi: ${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk + ${_MKMSGCREATE} + ${_MKCMD}\ rm -f config.texi + ${_MKCMD}\ echo "@set VERSION ${VERSION}" > config.texi CLEANFILES+= config.texi diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile index 41ec69fe914..a5f749a9596 100644 --- a/gnu/usr.bin/binutils/ld/Makefile +++ b/gnu/usr.bin/binutils/ld/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2003/08/01 17:03:44 lukem Exp $ +# $NetBSD: Makefile,v 1.14 2003/10/20 01:15:03 lukem Exp $ .include <bsd.own.mk> @@ -37,9 +37,7 @@ INFOFLAGS= -I${DIST}/ld -I${DIST}/bfd/doc .PATH: ${DIST}/ld ${DIST}/ld/emulparams \ ${DIST}/ld/emultempl ${DIST}/ld/scripttempl ldscripts -CLEANFILES+= stringify.sed -stringify.sed: ${G_STRINGIFY} - cp $> $@ +BUILDSYMLINKS+= ${G_STRINGIFY} stringify.sed .for f in ${G_EMULATION_OFILES:S/^e//:R} .if exists(.depend.${f}) @@ -47,6 +45,8 @@ stringify.sed: ${G_STRINGIFY} .endif .depend.${f}: ${f}.sh + ${_MKMSGCREATE} + ${_MKCMD}\ (srcdir=${DIST}/ld . ${>:M*.sh} && \ if [ x"$$TEMPLATE_NAME" != x ]; then \ temp_emul=$$TEMPLATE_NAME.em; \ @@ -65,9 +65,11 @@ DPSRCS+= .depend.${f} e${f}.c CLEANFILES+= .depend.${f} e${f}.c e${f}.c: ${DIST}/ld/genscripts.sh ${.CURDIR}/Makefile stringify.sed + ${_MKMSGCREATE} + ${_MKCMD}\ unset MACHINE || true; \ LIB_PATH=/usr/lib srcdir=${DIST}/ld \ - sh ${DIST}/ld/genscripts.sh ${DIST}/ld ${LIBDIR} /usr \ + ${HOST_SH} ${DIST}/ld/genscripts.sh ${DIST}/ld ${LIBDIR} /usr \ ${G_target_alias} ${G_target_alias} ${G_target_alias} \ ${G_EMUL} ${LIBDIR} ${f} @@ -89,4 +91,5 @@ e${f}.c: ${DIST}/ld/genscripts.sh ${.CURDIR}/Makefile stringify.sed cleanprog: __cleanldscripts __cleanldscripts: - -rm -rf ldscripts + ${_MKCMD}\ + rm -rf ldscripts |
