Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src rework to use the newer _MKMSGCREATE (et al) macros
details: https://anonhg.NetBSD.org/src/rev/fd512339053f
branches: trunk
changeset: 553611:fd512339053f
user: lukem <lukem%NetBSD.org@localhost>
date: Sun Oct 19 04:45:01 2003 +0000
description:
rework to use the newer _MKMSGCREATE (et al) macros
diffstat:
bin/csh/Makefile | 6 +++---
bin/ksh/Makefile | 8 ++++----
bin/sh/Makefile | 20 ++++++++++----------
games/adventure/Makefile | 6 +++---
games/boggle/Makefile | 6 +++---
games/fortune/datfiles/Makefile | 24 ++++++++++++------------
games/hack/Makefile | 10 +++++-----
games/monop/Makefile | 6 +++---
games/phantasia/Makefile | 6 +++---
libexec/ld.aout_so/Makefile | 4 ++--
libexec/ld.elf_so/Makefile | 4 ++--
sbin/wsconsctl/Makefile | 4 ++--
tools/Makefile.host | 6 +++---
13 files changed, 55 insertions(+), 55 deletions(-)
diffs (truncated from 433 to 300 lines):
diff -r 983433680abf -r fd512339053f bin/csh/Makefile
--- a/bin/csh/Makefile Sun Oct 19 04:30:30 2003 +0000
+++ b/bin/csh/Makefile Sun Oct 19 04:45:01 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2003/10/19 00:14:16 lukem Exp $
+# $NetBSD: Makefile,v 1.25 2003/10/19 04:45:01 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
#
# C Shell with process control; VM/UNIX VAX Makefile
@@ -25,7 +25,7 @@
CLEANFILES+= errnum.h const.h
errnum.h: err.c
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
rm -f ${.TARGET}
${_MKCMD}\
@@ -39,7 +39,7 @@
const.c: errnum.h
const.h: const.c
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
rm -f ${.TARGET}
${_MKCMD}\
diff -r 983433680abf -r fd512339053f bin/ksh/Makefile
--- a/bin/ksh/Makefile Sun Oct 19 04:30:30 2003 +0000
+++ b/bin/ksh/Makefile Sun Oct 19 04:45:01 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2003/10/19 00:18:53 lukem Exp $
+# $NetBSD: Makefile,v 1.19 2003/10/19 04:45:01 lukem Exp $
.include <bsd.own.mk>
@@ -21,7 +21,7 @@
CLEANFILES+= siglist.out siglist.out.tmp
# two steps to prevent the creation of a bogus siglist.out
siglist.out: config.h sh.h siglist.in siglist.sh
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
sh $(.CURDIR)/siglist.sh "$(CC) -E $(CPPFLAGS) $(DEFS) -I. -I$(.CURDIR)" < $(.CURDIR)/siglist.in > siglist.out.tmp \
&& mv siglist.out.tmp siglist.out
@@ -29,14 +29,14 @@
# two steps to prevent the creation of a bogus emacs.out
CLEANFILES+= emacs.out emacs.out.tmp
emacs.out: emacs.c
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
sh $(.CURDIR)/emacs-gen.sh $(.CURDIR)/emacs.c > emacs.out.tmp \
&& mv emacs.out.tmp emacs.out
CLEANFILES+= ksh.1 ksh.1.tmp
ksh.1: ksh.Man mkman
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
sh $(.CURDIR)/mkman ksh $(.CURDIR)/ksh.Man >ksh.1.tmp \
&& mv ksh.1.tmp ksh.1
diff -r 983433680abf -r fd512339053f bin/sh/Makefile
--- a/bin/sh/Makefile Sun Oct 19 04:30:30 2003 +0000
+++ b/bin/sh/Makefile Sun Oct 19 04:45:01 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2003/10/19 00:43:02 lukem Exp $
+# $NetBSD: Makefile,v 1.71 2003/10/19 04:45:01 lukem Exp $
# @(#)Makefile 8.4 (Berkeley) 5/5/95
.include <bsd.own.mk>
@@ -45,30 +45,30 @@
CLEANFILES+= trace
token.h: mktokens
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
${HOST_SH} ${.ALLSRC}
builtins.h: builtins.c
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
builtins.c: mkbuiltins shell.h builtins.def
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
${HOST_SH} ${.ALLSRC} ${.OBJDIR}
${_MKCMD}\
[ -f builtins.h ]
init.c: mkinit ${SHSRCS}
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
./${.ALLSRC}
nodes.h: nodes.c
nodes.c: mknodes nodetypes nodes.c.pat
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
./${.ALLSRC}
${_MKCMD}\
@@ -77,7 +77,7 @@
syntax.h: syntax.c
syntax.c: mksyntax
- ${_MKMSG} " create ${.TARGET}"
+ ${_MKMSGCREATE}
${_MKCMD}\
./${.ALLSRC}
${_MKCMD}\
@@ -89,12 +89,12 @@
.endif
mkinit: mkinit.c
- ${_MKMSG} "compile ${.TARGET}"
+ ${_MKMSGLINK}
${_MKCMD}\
${HOST_LINK.c} -o mkinit ${.IMPSRC} ${NBCOMPATLIB}
mknodes: mknodes.c
- ${_MKMSG} "compile ${.TARGET}"
+ ${_MKMSGLINK}
${_MKCMD}\
${HOST_LINK.c} -o mknodes ${.IMPSRC} ${NBCOMPATLIB}
@@ -106,7 +106,7 @@
.endif
mksyntax: mksyntax.c
- ${_MKMSG} "compile ${.TARGET}"
+ ${_MKMSGLINK}
${_MKCMD}\
${HOST_LINK.c} ${TARGET_CHARFLAG} -o mksyntax ${.IMPSRC} ${NBCOMPATLIB}
diff -r 983433680abf -r fd512339053f games/adventure/Makefile
--- a/games/adventure/Makefile Sun Oct 19 04:30:30 2003 +0000
+++ b/games/adventure/Makefile Sun Oct 19 04:45:01 2003 +0000
@@ -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 @@
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 -r 983433680abf -r fd512339053f games/boggle/Makefile
--- a/games/boggle/Makefile Sun Oct 19 04:30:30 2003 +0000
+++ b/games/boggle/Makefile Sun Oct 19 04:45:01 2003 +0000
@@ -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 @@
@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 -r 983433680abf -r fd512339053f games/fortune/datfiles/Makefile
--- a/games/fortune/datfiles/Makefile Sun Oct 19 04:30:30 2003 +0000
+++ b/games/fortune/datfiles/Makefile Sun Oct 19 04:45:01 2003 +0000
@@ -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 @@
# 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 @@
# 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 -r 983433680abf -r fd512339053f games/hack/Makefile
--- a/games/hack/Makefile Sun Oct 19 04:30:30 2003 +0000
+++ b/games/hack/Makefile Sun Oct 19 04:45:01 2003 +0000
@@ -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 @@
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 @@
.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"
Home |
Main Index |
Thread Index |
Old Index