Support MAKEVERBOSE

This commit is contained in:
lukem 2003-11-08 13:57:29 +00:00
parent 6e204ff9bc
commit a9c9ec0e6e
19 changed files with 46 additions and 24 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.rstart,v 1.1.1.1 2003/09/11 18:37:06 lukem Exp $ # $NetBSD: Makefile.rstart,v 1.2 2003/11/08 13:57:29 lukem Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -7,6 +7,7 @@ FILESDIR= ${X11LIBDIR}/rstart/${CFDIR}
.for _F in ${CFFILES} .for _F in ${CFFILES}
${_F}.sed: ${_F} ${_F}.sed: ${_F}
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
sed ${CFSED} < ${.ALLSRC} > ${.TARGET} sed ${CFSED} < ${.ALLSRC} > ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/09/20 06:20:48 lukem Exp $ # $NetBSD: Makefile,v 1.3 2003/11/08 13:57:29 lukem Exp $
NOMAN= yes NOMAN= yes
@ -19,6 +19,7 @@ CPPFLAGS+= -I.
DPSRCS+= SshAskpass_ad.h DPSRCS+= SshAskpass_ad.h
CLEANFILES+= SshAskpass_ad.h CLEANFILES+= SshAskpass_ad.h
SshAskpass_ad.h: SshAskpass.ad SshAskpass_ad.h: SshAskpass.ad
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
sed -n '/^[^!]/s/.*/"&",/p' <${.ALLSRC} > ${.TARGET} sed -n '/^[^!]/s/.*/"&",/p' <${.ALLSRC} > ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/09/23 11:04:46 lukem Exp $ # $NetBSD: Makefile,v 1.4 2003/11/08 13:57:29 lukem Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -17,6 +17,7 @@ FILESDIR=${X11LIBDIR}/twm
DPSRCS+= deftwmrc.c DPSRCS+= deftwmrc.c
CLEANFILES+= deftwmrc.c CLEANFILES+= deftwmrc.c
deftwmrc.c: system.twmrc deftwmrc.sed deftwmrc.c: system.twmrc deftwmrc.sed
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
echo '/* ' >>$@ echo '/* ' >>$@
echo ' * This file is generated automatically from the default' >>$@ echo ' * This file is generated automatically from the default' >>$@

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.xkbcomp,v 1.1.1.1 2003/09/11 18:37:07 lukem Exp $ # $NetBSD: Makefile.xkbcomp,v 1.2 2003/11/08 13:57:29 lukem Exp $
XKBDISTDIR= ${X11SRCDIR.xc}/programs/xkbcomp/${XKBNAME} XKBDISTDIR= ${X11SRCDIR.xc}/programs/xkbcomp/${XKBNAME}
@ -16,6 +16,7 @@ XKBCOMPDIR!= cd ${NETBSDSRCDIR}/x11/tools/xkbcomp && ${PRINTOBJDIR}
XKBCOMP= ${XKBCOMPDIR}/xkbcomp XKBCOMP= ${XKBCOMPDIR}/xkbcomp
${XKBNAME}.dir: ${XKBNAME}.dir:
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
(cd ${XKBDISTDIR} && ${XKBCOMP} -lfhlpR -o ${.OBJDIR}/${.TARGET} '*') (cd ${XKBDISTDIR} && ${XKBCOMP} -lfhlpR -o ${.OBJDIR}/${.TARGET} '*')

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/09/30 06:41:30 lukem Exp $ # $NetBSD: Makefile,v 1.6 2003/11/08 13:57:29 lukem Exp $
NOLINT= 1 # XTODO: 3dnow.ln barfs on src/math/m_vertices.h NOLINT= 1 # XTODO: 3dnow.ln barfs on src/math/m_vertices.h
@ -80,6 +80,7 @@ ${GENMATYPES}:
(cd ${.CURDIR}/gen_matypes && ${MAKE}) (cd ${.CURDIR}/gen_matypes && ${MAKE})
matypes.h: ${GENMATYPES} matypes.h: ${GENMATYPES}
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
${GENMATYPES} > ${.TARGET} ${GENMATYPES} > ${.TARGET}
CLEANFILES+= matypes.h CLEANFILES+= matypes.h

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/09/13 20:18:51 lukem Exp $ # $NetBSD: Makefile,v 1.4 2003/11/08 13:57:29 lukem Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -45,6 +45,7 @@ STRINGS_TMPLS= util/StrDefs.ct util/StrDefs.ht util/Shell.ht
STRINGS_LIST= util/string.list STRINGS_LIST= util/string.list
${STRINGS_FILES}: ${MAKESTRS} ${STRINGS_LIST} ${STRINGS_TMPLS} ${STRINGS_FILES}: ${MAKESTRS} ${STRINGS_LIST} ${STRINGS_TMPLS}
${_MKTARGET_CREATE}
rm -f ${.TARGET} util rm -f ${.TARGET} util
ln -s ${X11SRCDIR.xc}/lib/${LIB}/util util ln -s ${X11SRCDIR.xc}/lib/${LIB}/util util
${MAKESTRS} < ${STRINGS_LIST} > StringDefs.c ${MAKESTRS} < ${STRINGS_LIST} > StringDefs.c

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/09/13 20:18:53 lukem Exp $ # $NetBSD: Makefile,v 1.4 2003/11/08 13:57:29 lukem Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -36,6 +36,7 @@ CLEANFILES+= ${DPSOPSHEADERFILES} ${DPSOPSCFILES}
CLEANFILES+= ${PSOPSHEADERFILES} ${PSOPSCFILES} CLEANFILES+= ${PSOPSHEADERFILES} ${PSOPSCFILES}
psops.h: ${PSOPSHEADERFILES} psname.txt header.txt psifdef.txt psendif.txt psops.h: ${PSOPSHEADERFILES} psname.txt header.txt psifdef.txt psendif.txt
${_MKTARGET_CREATE}
rm -rf ${.TARGET} ${.TARGET}.tmp rm -rf ${.TARGET} ${.TARGET}.tmp
( \ ( \
(cd ${DIST} && cat psname.txt header.txt psifdef.txt ); \ (cd ${DIST} && cat psname.txt header.txt psifdef.txt ); \
@ -50,6 +51,7 @@ psops.h: ${PSOPSHEADERFILES} psname.txt header.txt psifdef.txt psendif.txt
CLEANFILES+= psops.h psops.h.tmp CLEANFILES+= psops.h psops.h.tmp
dpsops.h: ${DPSOPSHEADERFILES} dpsname.txt header.txt dpsifdef.txt dpsendif.txt dpsops.h: ${DPSOPSHEADERFILES} dpsname.txt header.txt dpsifdef.txt dpsendif.txt
${_MKTARGET_CREATE}
rm -rf ${.TARGET} ${.TARGET}.tmp rm -rf ${.TARGET} ${.TARGET}.tmp
( \ ( \
(cd ${DIST} && cat dpsname.txt header.txt dpsifdef.txt ); \ (cd ${DIST} && cat dpsname.txt header.txt dpsifdef.txt ); \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/09/13 20:18:53 lukem Exp $ # $NetBSD: Makefile,v 1.4 2003/11/08 13:57:29 lukem Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -17,6 +17,7 @@ INCSDIR=${X11INCDIR}
CPPFLAGS+= ${EXPAT_FLAGS} -I${DIST} CPPFLAGS+= ${EXPAT_FLAGS} -I${DIST}
expat.h: expat.h.in expat.h: expat.h.in
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
sed -e 's/@EXPAT_MAJOR_VERSION@/${EXPAT_MAJOR_VERSION}/' \ sed -e 's/@EXPAT_MAJOR_VERSION@/${EXPAT_MAJOR_VERSION}/' \
-e 's/@EXPAT_MINOR_VERSION@/${EXPAT_MINOR_VERSION}/' \ -e 's/@EXPAT_MINOR_VERSION@/${EXPAT_MINOR_VERSION}/' \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 2003/09/30 06:41:31 lukem Exp $ # $NetBSD: Makefile,v 1.4 2003/11/08 13:57:29 lukem Exp $
NOPIC= 1 NOPIC= 1
@ -30,6 +30,7 @@ ${MKG3STATES}:
(cd ${.CURDIR}/mkg3states && ${MAKE}) (cd ${.CURDIR}/mkg3states && ${MAKE})
g3states.h: ${MKG3STATES} g3states.h: ${MKG3STATES}
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
${MKG3STATES} > ${.TARGET} ${MKG3STATES} > ${.TARGET}
CLEANFILES+= g3states.h CLEANFILES+= g3states.h

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.xlibi18n,v 1.3 2003/09/13 20:18:59 lukem Exp $ # $NetBSD: Makefile.xlibi18n,v 1.4 2003/11/08 13:57:30 lukem Exp $
MKLINKLIB= no MKLINKLIB= no
@ -26,5 +26,6 @@ libinstall:: ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}
.include <bsd.lib.mk> .include <bsd.lib.mk>
${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: lib${LIB}.so.${SHLIB_FULLVERSION} ${DESTDIR}${LIBDIR}/${LIB}.so.${SHLIB_MAJOR}: lib${LIB}.so.${SHLIB_FULLVERSION}
${_MKTARGET_INSTALL}
${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \ ${INSTALL_FILE} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
${.ALLSRC} ${.TARGET} ${.ALLSRC} ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/09/13 00:19:57 lukem Exp $ # $NetBSD: Makefile,v 1.3 2003/11/08 13:57:30 lukem Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -9,6 +9,7 @@ FCCACHEDIR!= cd ${NETBSDSRCDIR}/x11/tools/fc-cache && ${PRINTOBJDIR}
FCCACHE= ${FCCACHEDIR}/fc-cache FCCACHE= ${FCCACHEDIR}/fc-cache
afterinstall: afterinstall:
${_MKMSG_CREATE} ${DESTDIR}${X11FONTDIR}/fonts.cache-1
${FCCACHE} -fv ${DESTDIR}${X11FONTDIR} ${FCCACHE} -fv ${DESTDIR}${X11FONTDIR}
.if ${MKUNPRIVED} != "no" .if ${MKUNPRIVED} != "no"
cd ${DESTDIR} \ cd ${DESTDIR} \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mkfontdir,v 1.3 2003/09/13 00:24:51 lukem Exp $ # $NetBSD: Makefile.mkfontdir,v 1.4 2003/11/08 13:57:30 lukem Exp $
# Note: needs "install" run in ./encodings first # Note: needs "install" run in ./encodings first
# #
@ -7,12 +7,14 @@ MKFONTDIRDIR!= cd ${NETBSDSRCDIR}/x11/tools/mkfontdir && ${PRINTOBJDIR}
MKFONTDIR= ${MKFONTDIRDIR}/mkfontdir MKFONTDIR= ${MKFONTDIRDIR}/mkfontdir
afterinstall: afterinstall:
${_MKMSG_CREATE} ${DESTDIR}${FILESDIR}/fonts.dir
rm -f ${DESTDIR}${FILESDIR}/fonts.dir rm -f ${DESTDIR}${FILESDIR}/fonts.dir
${MKFONTDIR} ${DESTDIR}${FILESDIR} ${MKFONTDIR} ${DESTDIR}${FILESDIR}
.if ${MKUNPRIVED} != "no" .if ${MKUNPRIVED} != "no"
echo ".${FILESDIR}/fonts.dir type=file mode=0444 uname=root gname=wheel" \ echo ".${FILESDIR}/fonts.dir type=file mode=0444 uname=root gname=wheel" \
| ${METALOG.add} | ${METALOG.add}
.endif .endif
${_MKMSG_INSTALL} ${DESTDIR}${FILESDIR}/encodings.dir
${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \ ${INSTALL_FILE} -o ${BINOWN} -g ${BINGRP} -m ${NONBINMODE} \
${DESTDIR}${X11FONTDIR}/encodings/encodings.dir \ ${DESTDIR}${X11FONTDIR}/encodings/encodings.dir \
${DESTDIR}${FILESDIR}/encodings.dir ${DESTDIR}${FILESDIR}/encodings.dir

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bdf,v 1.2 2003/09/13 00:24:52 lukem Exp $ # $NetBSD: Makefile.bdf,v 1.3 2003/11/08 13:57:30 lukem Exp $
FILESDIR= ${X11FONTDIR}/${FONTSUBDIR} FILESDIR= ${X11FONTDIR}/${FONTSUBDIR}
.PATH: ${X11SRCDIR.xc}/fonts/bdf/${FONTSUBDIR} .PATH: ${X11SRCDIR.xc}/fonts/bdf/${FONTSUBDIR}
@ -15,6 +15,7 @@ UCS2ANY= ${UCS2ANYDIR}/ucs2any
.for _F _M in ${UCSFILES} # { .for _F _M in ${UCSFILES} # {
${_F}-${_M}.bdf: ${_F}.bdf ${_F}-${_M}.bdf: ${_F}.bdf
${_MKTARGET_CREATE}
${UCS2ANY} ${.ALLSRC} ${DESTDIR}${X11FONTDIR}/util/map-${_M} ${_M} ${UCS2ANY} ${.ALLSRC} ${DESTDIR}${X11FONTDIR}/util/map-${_M} ${_M}
CLEANFILES+= ${_F}-${_M}.bdf CLEANFILES+= ${_F}-${_M}.bdf
@ -24,6 +25,7 @@ BDFFILES+= ${_F}-${_M}.bdf
.SUFFIXES: .bdf .pcf${FONTSUFFIX} .SUFFIXES: .bdf .pcf${FONTSUFFIX}
.bdf.pcf${FONTSUFFIX}: .bdf.pcf${FONTSUFFIX}:
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
${BDFTOPCF} -t ${.IMPSRC} ${FONTGZIP} > ${.TARGET}.tmp \ ${BDFTOPCF} -t ${.IMPSRC} ${FONTGZIP} > ${.TARGET}.tmp \
&& mv ${.TARGET}.tmp ${.TARGET} && mv ${.TARGET}.tmp ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.enc,v 1.3 2003/09/13 00:24:53 lukem Exp $ # $NetBSD: Makefile.enc,v 1.4 2003/11/08 13:57:30 lukem Exp $
FILESDIR= ${X11FONTDIR}/${ENCDIR} FILESDIR= ${X11FONTDIR}/${ENCDIR}
.PATH: ${X11SRCDIR.xc}/fonts/${ENCDIR} .PATH: ${X11SRCDIR.xc}/fonts/${ENCDIR}
@ -10,11 +10,10 @@ CLEANFILES+= ${GZFILES:S/.gz$/.gz.tmp/}
.SUFFIXES: .enc .enc.gz .SUFFIXES: .enc .enc.gz
.enc.enc.gz: .enc.enc.gz:
rm -f ${.TARGET} ${_MKTARGET_CREATE}
gzip -9fc ${.IMPSRC} > ${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET} gzip -9fc ${.IMPSRC} > ${.TARGET}.tmp && mv ${.TARGET}.tmp ${.TARGET}
realall: ${FILES} realall: ${FILES}
@ -22,6 +21,7 @@ MKFONTDIRDIR!= cd ${NETBSDSRCDIR}/x11/tools/mkfontdir && ${PRINTOBJDIR}
MKFONTDIR= ${MKFONTDIRDIR}/mkfontdir MKFONTDIR= ${MKFONTDIRDIR}/mkfontdir
afterinstall: afterinstall:
${_MKMSG_CREATE} ${DESTDIR}${FILESDIR}/encodings.dir
(cd ${DESTDIR}${FILESDIR} && \ (cd ${DESTDIR}${FILESDIR} && \
rm -f encodings.dir ; \ rm -f encodings.dir ; \
${MKFONTDIR} -n -r -p ${X11FONTDIR}/${ENCDIR}/ -e . ${ENCARGS} . ; \ ${MKFONTDIR} -n -r -p ${X11FONTDIR}/${ENCDIR}/ -e . ${ENCARGS} . ; \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/09/13 20:19:07 lukem Exp $ # $NetBSD: Makefile,v 1.3 2003/11/08 13:57:30 lukem Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -13,7 +13,8 @@ FILESNAME= Compose
.for _F in ${CTFILES} .for _F in ${CTFILES}
${_F}.ct: ${_F} ${_F}.ct: ${_F}
@rm -f ${.TARGET} ${_MKTARGET_CREATE}
rm -f ${.TARGET}
${CPP} -undef -traditional \ ${CPP} -undef -traditional \
< ${.ALLSRC} | ${X11TOOL_UNXCOMM} > ${.TARGET} < ${.ALLSRC} | ${X11TOOL_UNXCOMM} > ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/09/13 20:19:07 lukem Exp $ # $NetBSD: Makefile,v 1.3 2003/11/08 13:57:30 lukem Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -11,7 +11,8 @@ FILESDIR= ${X11LIBDIR}/locale
.for _F in ${LTFILES} .for _F in ${LTFILES}
${_F}.lt: ${_F} ${_F}.lt: ${_F}
@rm -f ${.TARGET} ${_MKTARGET_CREATE}
rm -f ${.TARGET}
( \ ( \
${CPP} -undef -traditional \ ${CPP} -undef -traditional \
< ${.ALLSRC} | ${X11TOOL_UNXCOMM} \ < ${.ALLSRC} | ${X11TOOL_UNXCOMM} \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2003/09/13 20:19:08 lukem Exp $ # $NetBSD: Makefile,v 1.3 2003/11/08 13:57:30 lukem Exp $
.include <bsd.own.mk> .include <bsd.own.mk>
@ -16,7 +16,8 @@ FILESNAME= XLC_LOCALE
.for _F in ${LTFILES} .for _F in ${LTFILES}
${_F}.lt: ${_F} ${_F}.lt: ${_F}
@rm -f ${.TARGET} ${_MKTARGET_CREATE}
rm -f ${.TARGET}
${CPP} -undef -traditional -DWCHAR32=1 \ ${CPP} -undef -traditional -DWCHAR32=1 \
< ${.ALLSRC} | ${X11TOOL_UNXCOMM} > ${.TARGET} < ${.ALLSRC} | ${X11TOOL_UNXCOMM} > ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.makekeys,v 1.1.1.1 2003/09/11 18:38:50 lukem Exp $ # $NetBSD: Makefile.makekeys,v 1.2 2003/11/08 13:57:30 lukem Exp $
MAKEKEYSDIR!= cd ${NETBSDSRCDIR}/x11/tools/makekeys && ${PRINTOBJDIR} MAKEKEYSDIR!= cd ${NETBSDSRCDIR}/x11/tools/makekeys && ${PRINTOBJDIR}
MAKEKEYS= ${MAKEKEYSDIR}/makekeys MAKEKEYS= ${MAKEKEYSDIR}/makekeys
@ -10,5 +10,6 @@ DPSRCS+= ks_tables.h
CLEANFILES+= ks_tables.h CLEANFILES+= ks_tables.h
ks_tables.h: ${MAKEKEYS} ${X11SRCDIR.xc}/include/keysymdef.h ks_tables.h: ${MAKEKEYS} ${X11SRCDIR.xc}/include/keysymdef.h
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
${MAKEKEYS} < ${X11SRCDIR.xc}/include/keysymdef.h > ${.TARGET} ${MAKEKEYS} < ${X11SRCDIR.xc}/include/keysymdef.h > ${.TARGET}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.pswrap,v 1.1.1.1 2003/09/11 18:37:09 lukem Exp $ # $NetBSD: Makefile.pswrap,v 1.2 2003/11/08 13:57:30 lukem Exp $
.SUFFIXES: .psw .c .h .SUFFIXES: .psw .c .h
@ -9,9 +9,11 @@ ${PSWRAP}:
(cd ${NETBSDSRCDIR}/x11/tools/pswrap && ${MAKE}) (cd ${NETBSDSRCDIR}/x11/tools/pswrap && ${MAKE})
.psw.c: ${PSWRAP} .psw.c: ${PSWRAP}
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
${PSWRAP} -a -o ${.TARGET} ${.IMPSRC} ${PSWRAP} -a -o ${.TARGET} ${.IMPSRC}
.psw.h: ${PSWRAP} .psw.h: ${PSWRAP}
${_MKTARGET_CREATE}
rm -f ${.TARGET} rm -f ${.TARGET}
${PSWRAP} -a -h ${.TARGET} ${.IMPSRC} >/dev/null ${PSWRAP} -a -h ${.TARGET} ${.IMPSRC} >/dev/null