From 95e5fff2a7e41ff5df14257ae6e7a7693b43d360 Mon Sep 17 00:00:00 2001 From: lukem Date: Sun, 19 Oct 2003 01:01:44 +0000 Subject: Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages) --- adventure/Makefile | 6 +++++- boggle/Makefile | 8 +++++++- fortune/datfiles/Makefile | 24 +++++++++++++++++++++++- hack/Makefile | 12 +++++++++++- monop/Makefile | 6 +++++- phantasia/Makefile | 6 +++++- 6 files changed, 56 insertions(+), 6 deletions(-) diff --git a/adventure/Makefile b/adventure/Makefile index adc23f3a..5f144466 100644 --- a/adventure/Makefile +++ b/adventure/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2002/03/05 21:28:12 thorpej Exp $ +# $NetBSD: Makefile,v 1.10 2003/10/19 01:01:44 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 6/12/93 PROG= adventure @@ -8,9 +8,13 @@ HIDEGAME=hidegame CLEANFILES+=setup data.c data.c: glorkz setup + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ./setup ${.CURDIR}/glorkz > data.c setup: setup.c hdr.h + ${_MKMSG} "compile ${.TARGET}" + ${_MKCMD}\ ${HOST_LINK.c} -o setup ${.CURDIR}/setup.c .include diff --git a/boggle/Makefile b/boggle/Makefile index ecfcfc22..bb12f31f 100644 --- a/boggle/Makefile +++ b/boggle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2002/09/18 02:51:46 lukem Exp $ +# $NetBSD: Makefile,v 1.20 2003/10/19 01:01:44 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 6/11/93 .include @@ -26,11 +26,17 @@ ${MKINDEX}: @cd ${.CURDIR}/mkindex && ${MAKE} dictionary: ${WORDS} ${MKDICT} + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ rm -f ${.TARGET} + ${_MKCMD}\ ${MKDICT} < ${WORDS} > ${.TARGET} dictindex: dictionary ${MKINDEX} + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ rm -f ${.TARGET} + ${_MKCMD}\ ${MKINDEX} < dictionary > ${.TARGET} .include diff --git a/fortune/datfiles/Makefile b/fortune/datfiles/Makefile index 0007bcf7..2491870c 100644 --- a/fortune/datfiles/Makefile +++ b/fortune/datfiles/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.33 2002/10/22 16:14:04 drochner Exp $ +# $NetBSD: Makefile,v 1.34 2003/10/19 01:01:44 lukem Exp $ # @(#)Makefile 8.2 (Berkeley) 4/19/94 .include # for INSTALL_OFFENSIVE_FORTUNES @@ -37,6 +37,8 @@ realall: ${DATFILES} # Normal fortunes: build directly from data files. fortunes.dat fortunes2.dat startrek.dat zippy.dat limerick.dat netbsd.dat farber.dat: + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ${STRFILE} -rs ${.CURDIR}/${.TARGET:R} ${.TARGET} fortunes.dat: fortunes fortunes2.dat: fortunes2 @@ -49,28 +51,48 @@ farber.dat: farber # Obscene fortunes: we have to build source and data files fortunes-o: fortunes-o.${TYPE} + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET} fortunes-o.dat: fortunes-o + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ${STRFILE} -rsx ${.ALLSRC} ${.TARGET} fortunes2-o: fortunes2-o.${TYPE} + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET} fortunes2-o.dat: fortunes2-o + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ${STRFILE} -rsx ${.ALLSRC} ${.TARGET} limerick-o: limerick-o.${TYPE} + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET} limerick-o.dat: limerick-o + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ${STRFILE} -rsx ${.ALLSRC} ${.TARGET} unamerican-o: unamerican-o.${TYPE} + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET} unamerican-o.dat: unamerican-o + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ${STRFILE} -rsx ${.ALLSRC} ${.TARGET} netbsd-o: netbsd-o.${TYPE} + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET} netbsd-o.dat: netbsd-o + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ${STRFILE} -rsx ${.ALLSRC} ${.TARGET} diff --git a/hack/Makefile b/hack/Makefile index 2bd31032..61e86236 100644 --- a/hack/Makefile +++ b/hack/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2003/08/01 17:03:43 lukem Exp $ +# $NetBSD: Makefile,v 1.36 2003/10/19 01:01:44 lukem Exp $ # @(#)Makefile 8.2 (Berkeley) 4/27/95 .include @@ -28,9 +28,13 @@ FILESDIR=/var/games/hackdir CLEANFILES+=hack.onames.h hack.onames.h: makedefs def.objects.h + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ./makedefs ${.CURDIR}/def.objects.h > hack.onames.h makedefs: makedefs.c + ${_MKMSG} "compile ${.TARGET}" + ${_MKCMD}\ ${HOST_LINK.c} -o makedefs ${.CURDIR}/makedefs.c hack.h: hack.onames.h @@ -40,10 +44,16 @@ afterinstall: clobber .endif clobber: + ${_MKMSG} "install ${DESTDIR}/var/games/hackdir/perm" + ${_MKCMD}\ ${INSTALL_FILE} -o games -g games -m 660 /dev/null \ ${DESTDIR}/var/games/hackdir/perm + ${_MKMSG} "install ${DESTDIR}/var/games/hackdir/record" + ${_MKCMD}\ ${INSTALL_FILE} -o games -g games -m 660 /dev/null \ ${DESTDIR}/var/games/hackdir/record + ${_MKMSG} " remove ${DESTDIR}/var/games/hackdir/bones*" + ${_MKCMD}\ rm -f ${DESTDIR}/var/games/hackdir/bones* .include diff --git a/monop/Makefile b/monop/Makefile index 7b2ea903..bc9bcb7e 100644 --- a/monop/Makefile +++ b/monop/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2003/04/21 01:23:07 christos Exp $ +# $NetBSD: Makefile,v 1.24 2003/10/19 01:01:44 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 .include @@ -17,9 +17,13 @@ FILESDIR=/usr/share/games realall: ${FILES} initdeck: initdeck.c + ${_MKMSG} "compile ${.TARGET}" + ${_MKCMD}\ ${HOST_LINK.c} -o initdeck ${.CURDIR}/initdeck.c cards.pck: initdeck + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ./initdeck ${.CURDIR}/cards.inp .include diff --git a/phantasia/Makefile b/phantasia/Makefile index 6d260aca..4916c625 100644 --- a/phantasia/Makefile +++ b/phantasia/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2003/10/18 07:40:27 lukem Exp $ +# $NetBSD: Makefile,v 1.29 2003/10/19 01:01:44 lukem Exp $ # @(#)Makefile 8.1 (Berkeley) 5/31/93 .include @@ -31,9 +31,13 @@ CLEANFILES+=map setup setup.lo host_phantglobs.lo ${ALLFILES} realall: ${FILES} ${FILES}: setup + ${_MKMSG} " create ${.TARGET}" + ${_MKCMD}\ ./setup -m ${.CURDIR}/monsters.asc setup: host_phantglobs.lo setup.lo monsters.asc ${LIBM} + ${_MKMSG} "compile ${.TARGET}" + ${_MKCMD}\ ${HOST_LINK.c} host_phantglobs.lo setup.lo -o ${.TARGET} -lm BUILDSYMLINKS+= phantglobs.c host_phantglobs.c -- cgit v1.2.3-56-ge451