support MAKEVERBOSE

This commit is contained in:
lukem 2003-10-19 04:30:30 +00:00
parent a694177df5
commit c545cc169d
8 changed files with 50 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.47 2003/09/17 00:41:17 itojun Exp $
# $NetBSD: Makefile,v 1.48 2003/10/19 04:30:30 lukem Exp $
.include <bsd.own.mk>
@ -38,13 +38,20 @@ MAGFILES= ${DIST}/magic/Header \
.if ${MKSHARE} != "no"
magic: ${MAGFILES}
${_MKMSGCREATE}
${_MKCMD}\
${TOOL_CAT} ${MAGFILES} > ${.TARGET}
magic.mgc: magic
${TOOL_MKMAGIC} -C -m magic
${_MKMSGCREATE}
${_MKCMD}\
${TOOL_MKMAGIC} -C -m magic
magic.mime.mgc:
${_MKMSGCREATE}
${_MKCMD}\
cp ${DIST}/magic/magic.mime ${.OBJDIR}
${_MKCMD}\
${TOOL_MKMAGIC} -C -m magic.mime
.else
magic:

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.24 2003/08/01 17:04:04 lukem Exp $
# $NetBSD: Makefile,v 1.25 2003/10/19 04:30:30 lukem Exp $
.include <bsd.own.mk>
@ -11,14 +11,17 @@ MKASTOSCDIR!=cd $(.CURDIR)/../tools/mkastosc && ${PRINTOBJDIR}
MKASTOSC=${MKASTOSCDIR}/mkastosc
${MKASTOSC}:
cd ${.CURDIR}/../tools/mkastosc; ${MAKE}
@cd ${.CURDIR}/../tools/mkastosc && ${MAKE}
CLEANFILES+= astosc.out
astosc.out: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
${.CURDIR}/../ctlr/${KBD} ${MKASTOSC}
${_MKMSGCREATE}
${_MKCMD}\
${MKASTOSC} \
${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
< ${.CURDIR}/../ctlr/${KBD} > tmp
${_MKCMD}\
mv -f tmp ${.TARGET}
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.34 2003/08/01 17:04:05 lukem Exp $
# $NetBSD: Makefile,v 1.35 2003/10/19 04:30:30 lukem Exp $
.include <bsd.own.mk>
@ -18,50 +18,64 @@ MKASTOSCDIR !=cd $(.CURDIR)/../tools/mkastosc && ${PRINTOBJDIR}
MKASTOSC= ${MKASTOSCDIR}/mkastosc
${MKASTOSC}:
cd ${.CURDIR}/../tools/mkastosc; ${MAKE}
@cd ${.CURDIR}/../tools/mkastosc && ${MAKE}
MKASTODSDIR!=cd $(.CURDIR)/../tools/mkastods && ${PRINTOBJDIR}
MKASTODS= ${MKASTODSDIR}/mkastods
${MKASTODS}:
cd ${.CURDIR}/../tools/mkastods; ${MAKE}
@cd ${.CURDIR}/../tools/mkastods && ${MAKE}
MKDSTOASDIR!=cd $(.CURDIR)/../tools/mkdstoas && ${PRINTOBJDIR}
MKDSTOAS= ${MKDSTOASDIR}/mkdstoas
${MKDSTOAS}:
cd ${.CURDIR}/../tools/mkdstoas; ${MAKE}
@cd ${.CURDIR}/../tools/mkdstoas && ${MAKE}
MKHITSDIR!=cd $(.CURDIR)/../tools/mkhits && ${PRINTOBJDIR}
MKHITS= ${MKHITSDIR}/mkhits
${MKHITS}:
cd ${.CURDIR}/../tools/mkhits; ${MAKE}
@cd ${.CURDIR}/../tools/mkhits && ${MAKE}
astosc.out: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
${.CURDIR}/../ctlr/${KBD} ${MKASTOSC}
${_MKMSGCREATE}
${_MKCMD}\
${MKASTOSC} \
${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/function.h \
< ${.CURDIR}/../ctlr/${KBD} > astosc.tmp
${_MKCMD}\
mv -f astosc.tmp ${.TARGET}
CLEANFILES+= astosc.tmp astosc.out
asc_disp.out: ${MKASTODS}
${_MKMSGCREATE}
${_MKCMD}\
${MKASTODS} > asc_disp.tmp
${_MKCMD}\
mv -f asc_disp.tmp ${.TARGET}
CLEANFILES+= asc_disp.tmp asc_disp.out
disp_asc.out: ${MKDSTOAS}
${_MKMSGCREATE}
${_MKCMD}\
${MKDSTOAS} > disp_asc.tmp
${_MKCMD}\
mv -f disp_asc.tmp ${.TARGET}
CLEANFILES+= disp_asc.tmp disp_asc.out
kbd.out: ${.CURDIR}/../ctlr/hostctlr.h ${.CURDIR}/../ctlr/${KBD} ${MKHITS}
${_MKMSGCREATE}
${_MKCMD}\
${CC} ${CPPFLAGS} -E ${.CURDIR}/../ctlr/function.c > TMPfunc.out
${_MKCMD}\
${MKHITS} \
${.CURDIR}/../ctlr/hostctlr.h TMPfunc.out \
< ${.CURDIR}/../ctlr/${KBD} > kbd.tmp
${_MKCMD}\
rm -f TMPFunc.out
${_MKCMD}\
mv -f kbd.tmp ${.TARGET}
CLEANFILES+= TMPfunc.out kbd.tmp kbd.out

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2003/08/01 17:04:05 lukem Exp $
# $NetBSD: Makefile,v 1.7 2003/10/19 04:30:30 lukem Exp $
PROG= top
@ -13,6 +13,8 @@ LDADD+= -ltermcap -lm -lkvm
DPADD+= ${LIBTERMCAP} ${LIBM} ${LIBKVM}
sigdesc.h: ${.CURDIR}/sigconv.awk ${DESTDIR}/usr/include/sys/signal.h
${_MKMSGCREATE}
${_MKCMD}\
awk -f ${.CURDIR}/sigconv.awk ${DESTDIR}/usr/include/sys/signal.h > \
${.TARGET}
CLEANFILES+= sigdesc.h

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.17 2003/07/10 10:34:45 lukem Exp $
# $NetBSD: Makefile,v 1.18 2003/10/19 04:30:30 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 6/9/93
.include <bsd.own.mk>
@ -34,6 +34,8 @@ CAP_MKDB_ENDIAN=
.if ${MKSHARE} != "no"
vgrindefs.src.db: vgrindefs.src
${_MKMSGCREATE}
${_MKCMD}\
${TOOL_CAP_MKDB} ${CAP_MKDB_ENDIAN} -f vgrindefs.src \
${.CURDIR}/vgrindefs.src
.else

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.21 2003/08/28 22:04:23 dsl Exp $
# $NetBSD: Makefile,v 1.22 2003/10/19 04:30:30 lukem Exp $
#
# @(#)Makefile.in 8.75 (Berkeley) 10/23/96
@ -41,6 +41,8 @@ DPSRCS+=options_def.h
CLEANFILES+=options_def.h
options_def.h: options.awk options.c
${_MKMSGCREATE}
${_MKCMD}\
awk -f ${.ALLSRC} >${.TARGET}
.include "../../Makefile.inc"

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2002/09/18 14:00:43 lukem Exp $
# $NetBSD: Makefile,v 1.11 2003/10/19 04:30:30 lukem Exp $
#
# @(#)Makefile 8.29 (Berkeley) 10/19/96
@ -87,6 +87,8 @@ ${CHK}: ${CATALOG}
echo =========================) > $@
english.base: dump ${VI_FILES} #Makefile
${_MKMSGCREATE}
${_MKCMD}\
./dump ${VI_FILES} |\
sed -e '/|/!d' \
-e 's/|/ "/' \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2000/07/27 03:29:28 cgd Exp $
# $NetBSD: Makefile,v 1.9 2003/10/19 04:30:30 lukem Exp $
.include <bsd.own.mk>
@ -14,9 +14,13 @@ realall: ${LIBS}
CLEANFILES+= ${LIBS}
llib-lposix.ln: llib-lposix
${_MKMSGCREATE}
${_MKCMD}\
${LINT} ${LINTFLAGS} -Cposix ${.ALLSRC}
llib-lstdc.ln: llib-lstdc
${_MKMSGCREATE}
${_MKCMD}\
${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC}
.include <bsd.prog.mk>