summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--adventure/Makefile6
-rw-r--r--boggle/Makefile8
-rw-r--r--fortune/datfiles/Makefile24
-rw-r--r--hack/Makefile12
-rw-r--r--monop/Makefile6
-rw-r--r--phantasia/Makefile6
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 <bsd.prog.mk>
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 <bsd.own.mk>
@@ -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 <bsd.prog.mk>
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 <bsd.own.mk> # 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 <bsd.own.mk>
@@ -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 <bsd.prog.mk>
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 <bsd.own.mk>
@@ -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 <bsd.prog.mk>
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 <bsd.own.mk>
@@ -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