Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Make it possible for uudecode to be a host tool.



details:   https://anonhg.NetBSD.org/src/rev/653dd2895688
branches:  trunk
changeset: 521497:653dd2895688
user:      tv <tv%NetBSD.org@localhost>
date:      Thu Jan 31 19:15:23 2002 +0000

description:
Make it possible for uudecode to be a host tool.

diffstat:

 libexec/ld.aout_so/Makefile              |  6 ++++--
 share/wscons/fonts/Makefile              |  6 ++++--
 sys/arch/arc/stand/mbr/Makefile          |  7 ++++---
 sys/arch/hpc/stand/Makefile              |  8 ++++----
 sys/arch/hpcmips/stand/pbsdboot/Makefile |  8 +++++---
 5 files changed, 21 insertions(+), 14 deletions(-)

diffs (106 lines):

diff -r 3c93633821b3 -r 653dd2895688 libexec/ld.aout_so/Makefile
--- a/libexec/ld.aout_so/Makefile       Thu Jan 31 19:13:12 2002 +0000
+++ b/libexec/ld.aout_so/Makefile       Thu Jan 31 19:15:23 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.33 2002/01/22 16:27:51 skrll Exp $
+#      $NetBSD: Makefile,v 1.34 2002/01/31 19:15:23 tv Exp $
 
 .include <bsd.own.mk>
 .if (${OBJECT_FMT} == "a.out")
@@ -41,8 +41,10 @@
 
 all dependall: ${FILES}
 
+UUDECODE?=     uudecode
+
 ld.so: ${.CURDIR}/ld.so.${MACHINE_ARCH}.uue
-       uudecode ${.ALLSRC}
+       ${UUDECODE} ${.ALLSRC}
 
 .include <bsd.files.mk>
 
diff -r 3c93633821b3 -r 653dd2895688 share/wscons/fonts/Makefile
--- a/share/wscons/fonts/Makefile       Thu Jan 31 19:13:12 2002 +0000
+++ b/share/wscons/fonts/Makefile       Thu Jan 31 19:15:23 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/01/28 18:45:59 veego Exp $
+# $NetBSD: Makefile,v 1.4 2002/01/31 19:15:23 tv Exp $
 
 FONTS= vt220l.814 vt220h.814 vt220l.808 vt220h.808 \
        vt220l.816 vt220h.816 vt220l.810 vt220h.810
@@ -10,9 +10,11 @@
 
 realall:       ${FONTS}
 
+UUDECODE?=     uudecode
+
 .for i in ${FONTS}
 $i: ${.CURDIR}/$i.uu
-       uudecode ${.CURDIR}/$i.uu
+       ${UUDECODE} ${.CURDIR}/$i.uu
 .endfor
 
 .include <bsd.prog.mk>
diff -r 3c93633821b3 -r 653dd2895688 sys/arch/arc/stand/mbr/Makefile
--- a/sys/arch/arc/stand/mbr/Makefile   Thu Jan 31 19:13:12 2002 +0000
+++ b/sys/arch/arc/stand/mbr/Makefile   Thu Jan 31 19:15:23 2002 +0000
@@ -1,14 +1,15 @@
 #      $OpenBSD: Makefile,v 1.2 1997/08/01 12:32:10 pefo Exp $
 
-CLEANFILES= mbr msdos5mb.gz
+CLEANFILES=    mbr msdos5mb.gz
+UUDECODE?=     uudecode
 
 realall: mbr msdos5mb.gz
 
 mbr: mbr.uu
-       uudecode ${.CURDIR}/mbr.uu
+       ${UUDECODE} ${.CURDIR}/mbr.uu
 
 msdos5mb.gz: msdos5mb.gz.uu
-       uudecode ${.CURDIR}/msdos5mb.gz.uu
+       ${UUDECODE} ${.CURDIR}/msdos5mb.gz.uu
 
 realinstall:
        ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 mbr msdos5mb.gz \
diff -r 3c93633821b3 -r 653dd2895688 sys/arch/hpc/stand/Makefile
--- a/sys/arch/hpc/stand/Makefile       Thu Jan 31 19:13:12 2002 +0000
+++ b/sys/arch/hpc/stand/Makefile       Thu Jan 31 19:15:23 2002 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: Makefile,v 1.8 2001/06/19 16:50:06 uch Exp $
+#      $NetBSD: Makefile,v 1.9 2002/01/31 19:15:23 tv Exp $
 #
 
-PROJECT_DIRS   = hpcboot libz libsa
-MAKE   = make
+PROJECT_DIRS=  hpcboot libz libsa
+UUDECODE?=     uudecode
 
 all:
-       find binary -name "hpcboot*.exe.uu" -exec uudecode {} \;
+       find binary -name "hpcboot*.exe.uu" -exec ${UUDECODE} {} \;
 
 #
 # generates project/work files for Embeded Visual C++ 3.0
diff -r 3c93633821b3 -r 653dd2895688 sys/arch/hpcmips/stand/pbsdboot/Makefile
--- a/sys/arch/hpcmips/stand/pbsdboot/Makefile  Thu Jan 31 19:13:12 2002 +0000
+++ b/sys/arch/hpcmips/stand/pbsdboot/Makefile  Thu Jan 31 19:15:23 2002 +0000
@@ -1,13 +1,15 @@
-#      $NetBSD: Makefile,v 1.4 2000/06/04 04:30:48 takemura Exp $
+#      $NetBSD: Makefile,v 1.5 2002/01/31 19:15:24 tv Exp $
+
+UUDECODE?=     uudecode
 
 all: pbsdboot.exe pbsdboot1.exe
 
 pbsdboot.exe: pbsdboot.uu
-       uudecode pbsdboot.uu
+       ${UUDECODE} pbsdboot.uu
        chmod 755 pbsdboot.exe
 
 pbsdboot1.exe: pbsdboot1.uu
-       uudecode pbsdboot1.uu
+       ${UUDECODE} pbsdboot1.uu
        chmod 755 pbsdboot1.exe
 
 uu::



Home | Main Index | Thread Index | Old Index