summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>2003-10-19 04:45:01 +0000
committerlukem <lukem@NetBSD.org>2003-10-19 04:45:01 +0000
commit47586955e05556c45ccc9138a5aa6e46c99c75f9 (patch)
tree72840f992c5f0a61baa90cfd3c824ee085166c20
parent95e5fff2a7e41ff5df14257ae6e7a7693b43d360 (diff)
downloadbsdgames-darwin-47586955e05556c45ccc9138a5aa6e46c99c75f9.tar.gz
bsdgames-darwin-47586955e05556c45ccc9138a5aa6e46c99c75f9.tar.zst
bsdgames-darwin-47586955e05556c45ccc9138a5aa6e46c99c75f9.zip
rework to use the newer _MKMSGCREATE (et al) macros
-rw-r--r--adventure/Makefile6
-rw-r--r--boggle/Makefile6
-rw-r--r--fortune/datfiles/Makefile24
-rw-r--r--hack/Makefile10
-rw-r--r--monop/Makefile6
-rw-r--r--phantasia/Makefile6
6 files changed, 29 insertions, 29 deletions
diff --git a/adventure/Makefile b/adventure/Makefile
index 5f144466..b6c99d3e 100644
--- a/adventure/Makefile
+++ b/adventure/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2003/10/19 01:01:44 lukem Exp $
+# $NetBSD: Makefile,v 1.11 2003/10/19 04:45:01 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/12/93
PROG= adventure
@@ -8,12 +8,12 @@ HIDEGAME=hidegame
CLEANFILES+=setup data.c
data.c: glorkz setup
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
./setup ${.CURDIR}/glorkz > data.c
setup: setup.c hdr.h
- ${_MKMSG} "compile ${.TARGET}"
+ ${_MKMSGLINK}
${_MKCMD}\
${HOST_LINK.c} -o setup ${.CURDIR}/setup.c
diff --git a/boggle/Makefile b/boggle/Makefile
index bb12f31f..1a7c3847 100644
--- a/boggle/Makefile
+++ b/boggle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2003/10/19 01:01:44 lukem Exp $
+# $NetBSD: Makefile,v 1.21 2003/10/19 04:45:01 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/11/93
.include <bsd.own.mk>
@@ -26,14 +26,14 @@ ${MKINDEX}:
@cd ${.CURDIR}/mkindex && ${MAKE}
dictionary: ${WORDS} ${MKDICT}
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
rm -f ${.TARGET}
${_MKCMD}\
${MKDICT} < ${WORDS} > ${.TARGET}
dictindex: dictionary ${MKINDEX}
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
rm -f ${.TARGET}
${_MKCMD}\
diff --git a/fortune/datfiles/Makefile b/fortune/datfiles/Makefile
index 2491870c..6866aa18 100644
--- a/fortune/datfiles/Makefile
+++ b/fortune/datfiles/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2003/10/19 01:01:44 lukem Exp $
+# $NetBSD: Makefile,v 1.35 2003/10/19 04:45:01 lukem Exp $
# @(#)Makefile 8.2 (Berkeley) 4/19/94
.include <bsd.own.mk> # for INSTALL_OFFENSIVE_FORTUNES
@@ -37,7 +37,7 @@ 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}"
+ ${_MKMSGCREATE}
${_MKCMD}\
${STRFILE} -rs ${.CURDIR}/${.TARGET:R} ${.TARGET}
fortunes.dat: fortunes
@@ -51,47 +51,47 @@ farber.dat: farber
# Obscene fortunes: we have to build source and data files
fortunes-o: fortunes-o.${TYPE}
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET}
fortunes-o.dat: fortunes-o
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
${STRFILE} -rsx ${.ALLSRC} ${.TARGET}
fortunes2-o: fortunes2-o.${TYPE}
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET}
fortunes2-o.dat: fortunes2-o
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
${STRFILE} -rsx ${.ALLSRC} ${.TARGET}
limerick-o: limerick-o.${TYPE}
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET}
limerick-o.dat: limerick-o
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
${STRFILE} -rsx ${.ALLSRC} ${.TARGET}
unamerican-o: unamerican-o.${TYPE}
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET}
unamerican-o.dat: unamerican-o
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
${STRFILE} -rsx ${.ALLSRC} ${.TARGET}
netbsd-o: netbsd-o.${TYPE}
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
tr 'a-zA-Z' 'n-za-mN-ZA-M' < ${.ALLSRC} > ${.TARGET}
netbsd-o.dat: netbsd-o
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
${STRFILE} -rsx ${.ALLSRC} ${.TARGET}
diff --git a/hack/Makefile b/hack/Makefile
index 61e86236..69996380 100644
--- a/hack/Makefile
+++ b/hack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2003/10/19 01:01:44 lukem Exp $
+# $NetBSD: Makefile,v 1.37 2003/10/19 04:45:01 lukem Exp $
# @(#)Makefile 8.2 (Berkeley) 4/27/95
.include <bsd.own.mk>
@@ -28,12 +28,12 @@ FILESDIR=/var/games/hackdir
CLEANFILES+=hack.onames.h
hack.onames.h: makedefs def.objects.h
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
./makedefs ${.CURDIR}/def.objects.h > hack.onames.h
makedefs: makedefs.c
- ${_MKMSG} "compile ${.TARGET}"
+ ${_MKMSGLINK}
${_MKCMD}\
${HOST_LINK.c} -o makedefs ${.CURDIR}/makedefs.c
@@ -44,11 +44,11 @@ afterinstall: clobber
.endif
clobber:
- ${_MKMSG} "install ${DESTDIR}/var/games/hackdir/perm"
+ ${_MKMSGINSTALL.m} ${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"
+ ${_MKMSGINSTALL.m} ${DESTDIR}/var/games/hackdir/record
${_MKCMD}\
${INSTALL_FILE} -o games -g games -m 660 /dev/null \
${DESTDIR}/var/games/hackdir/record
diff --git a/monop/Makefile b/monop/Makefile
index bc9bcb7e..77dd527b 100644
--- a/monop/Makefile
+++ b/monop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2003/10/19 01:01:44 lukem Exp $
+# $NetBSD: Makefile,v 1.25 2003/10/19 04:45:01 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
@@ -17,12 +17,12 @@ FILESDIR=/usr/share/games
realall: ${FILES}
initdeck: initdeck.c
- ${_MKMSG} "compile ${.TARGET}"
+ ${_MKMSGLINK}
${_MKCMD}\
${HOST_LINK.c} -o initdeck ${.CURDIR}/initdeck.c
cards.pck: initdeck
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
./initdeck ${.CURDIR}/cards.inp
diff --git a/phantasia/Makefile b/phantasia/Makefile
index 4916c625..250aad23 100644
--- a/phantasia/Makefile
+++ b/phantasia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2003/10/19 01:01:44 lukem Exp $
+# $NetBSD: Makefile,v 1.30 2003/10/19 04:45:01 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
.include <bsd.own.mk>
@@ -31,12 +31,12 @@ CLEANFILES+=map setup setup.lo host_phantglobs.lo ${ALLFILES}
realall: ${FILES}
${FILES}: setup
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
./setup -m ${.CURDIR}/monsters.asc
setup: host_phantglobs.lo setup.lo monsters.asc ${LIBM}
- ${_MKMSG} "compile ${.TARGET}"
+ ${_MKMSGLINK}
${_MKCMD}\
${HOST_LINK.c} host_phantglobs.lo setup.lo -o ${.TARGET} -lm