Use ${ECHO} instead of echo' so that make -s' is fairly quiet.

This commit is contained in:
Bruce Evans 1994-08-28 17:44:10 +00:00
parent 3634f3200c
commit f34a7038a6
3 changed files with 17 additions and 17 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 6.1 (Berkeley) 3/3/91 # from: @(#)Makefile 6.1 (Berkeley) 3/3/91
# $Id: Makefile,v 1.2 1993/11/03 00:50:49 paul Exp $ # $Id: Makefile,v 1.3 1994/02/20 16:06:08 rgrimes Exp $
.include "config/Makefile.$(MACHINE)" .include "config/Makefile.$(MACHINE)"
@ -38,12 +38,12 @@ beforedepend ${PROG}: ${CONF_HEADERS}
targ-cpu.h: Makefile config/Makefile.$(MACHINE) targ-cpu.h: Makefile config/Makefile.$(MACHINE)
@cmp -s $(.CURDIR)/config/tc-$(gas_target).h targ-cpu.h || \ @cmp -s $(.CURDIR)/config/tc-$(gas_target).h targ-cpu.h || \
( echo "updating ${.TARGET}..." ; /bin/rm -f targ-cpu.h ; \ ( ${ECHO} "updating ${.TARGET}..." ; /bin/rm -f targ-cpu.h ; \
cp $(.CURDIR)/config/tc-$(gas_target).h targ-cpu.h ) cp $(.CURDIR)/config/tc-$(gas_target).h targ-cpu.h )
obj-format.h: Makefile config/Makefile.$(MACHINE) obj-format.h: Makefile config/Makefile.$(MACHINE)
@cmp -s $(.CURDIR)/config/obj-$(gas_objformat).h obj-format.h || \ @cmp -s $(.CURDIR)/config/obj-$(gas_objformat).h obj-format.h || \
( echo "updating ${.TARGET}..." ; /bin/rm -f obj-format.h ; \ ( ${ECHO} "updating ${.TARGET}..." ; /bin/rm -f obj-format.h ; \
cp $(.CURDIR)/config/obj-$(gas_objformat).h obj-format.h ) cp $(.CURDIR)/config/obj-$(gas_objformat).h obj-format.h )
.if exists ($(.CURDIR)/config/ho-$(gas_hosttype).h) .if exists ($(.CURDIR)/config/ho-$(gas_hosttype).h)
@ -54,7 +54,7 @@ config_hostfile= $(.CURDIR)/config/ho-generic.h
host.h: Makefile config/Makefile.$(MACHINE) host.h: Makefile config/Makefile.$(MACHINE)
@cmp -s $(config_hostfile) host.h || \ @cmp -s $(config_hostfile) host.h || \
( echo "updating ${.TARGET}..." ; /bin/rm -f host.h ; \ ( ${ECHO} "updating ${.TARGET}..." ; /bin/rm -f host.h ; \
cp $(config_hostfile) host.h ) cp $(config_hostfile) host.h )
.if exists ($(.CURDIR)/config/te-$(MACHINE).h) .if exists ($(.CURDIR)/config/te-$(MACHINE).h)
@ -65,7 +65,7 @@ config_targenvfile= $(.CURDIR)/config/te-generic.h
targ-env.h: Makefile config/Makefile.$(MACHINE) targ-env.h: Makefile config/Makefile.$(MACHINE)
@cmp -s $(config_targenvfile) targ-env.h || \ @cmp -s $(config_targenvfile) targ-env.h || \
( echo "updating ${.TARGET}..." ; /bin/rm -f targ-env.h ; \ ( ${ECHO} "updating ${.TARGET}..." ; /bin/rm -f targ-env.h ; \
cp $(config_targenvfile) targ-env.h ) cp $(config_targenvfile) targ-env.h )
CLEANFILES+= ${CONF_HEADERS} CLEANFILES+= ${CONF_HEADERS}

View File

@ -1,5 +1,5 @@
# From: @(#)Makefile 8.2 (Berkeley) 1/4/94 # From: @(#)Makefile 8.2 (Berkeley) 1/4/94
# $Id: Makefile,v 1.9 1994/08/10 06:24:42 wollman Exp $ # $Id: Makefile,v 1.10 1994/08/20 12:00:06 paul Exp $
# #
# Doing a make install builds /usr/include # Doing a make install builds /usr/include
# #
@ -36,18 +36,18 @@ NOOBJ= noobj
SHARED?= symlinks SHARED?= symlinks
beforeinstall: ${SHARED} beforeinstall: ${SHARED}
@echo installing ${FILES} @${ECHO} installing ${FILES}
@-for i in ${FILES}; do \ @-for i in ${FILES}; do \
cmp -s $$i ${DESTDIR}/usr/include/$$i > /dev/null 2>&1 || \ cmp -s $$i ${DESTDIR}/usr/include/$$i > /dev/null 2>&1 || \
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \ install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
${DESTDIR}/usr/include/$$i; \ ${DESTDIR}/usr/include/$$i; \
done done
@echo creating osreldate.h @${ECHO} creating osreldate.h
@rm -f ${DESTDIR}/usr/include/osreldate.h @rm -f ${DESTDIR}/usr/include/osreldate.h
@echo \#'undef __FreeBSD_version' > ${DESTDIR}/usr/include/osreldate.h @echo \#'undef __FreeBSD_version' > ${DESTDIR}/usr/include/osreldate.h
@echo \#'define __FreeBSD_version '`sysctl -n kern.osreldate` \ @echo \#'define __FreeBSD_version '`sysctl -n kern.osreldate` \
>> ${DESTDIR}/usr/include/osreldate.h >> ${DESTDIR}/usr/include/osreldate.h
@echo installing ${DIRS} @${ECHO} installing ${DIRS}
@-for i in ${DIRS}; do \ @-for i in ${DIRS}; do \
if [ ! -d ${DESTDIR}/usr/include/$$i ]; \ if [ ! -d ${DESTDIR}/usr/include/$$i ]; \
then \ then \
@ -62,13 +62,13 @@ beforeinstall: ${SHARED}
${DESTDIR}/usr/include/$$i/$$j; \ ${DESTDIR}/usr/include/$$i/$$j; \
done); \ done); \
done done
@echo installing ${LFILES} @${ECHO} installing ${LFILES}
@-for i in ${LFILES}; do \ @-for i in ${LFILES}; do \
rm -f ${DESTDIR}/usr/include/$$i; \ rm -f ${DESTDIR}/usr/include/$$i; \
ln -s sys/$$i ${DESTDIR}/usr/include/$$i; \ ln -s sys/$$i ${DESTDIR}/usr/include/$$i; \
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \ chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
done done
@echo installing ${MFILES} @${ECHO} installing ${MFILES}
@-for i in ${MFILES}; do \ @-for i in ${MFILES}; do \
rm -f ${DESTDIR}/usr/include/$$i; \ rm -f ${DESTDIR}/usr/include/$$i; \
ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \ ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \
@ -78,7 +78,7 @@ beforeinstall: ${SHARED}
copies: copies:
rm -rf ${DESTDIR}/usr/include/${LUDIR} rm -rf ${DESTDIR}/usr/include/${LUDIR}
@-for i in ${LDIRS} ${UDIRS}; do \ @-for i in ${LDIRS} ${UDIRS}; do \
echo ${SHARED} $$i; \ ${ECHO} ${SHARED} $$i; \
rm -rf ${DESTDIR}/usr/include/$$i; \ rm -rf ${DESTDIR}/usr/include/$$i; \
cd ../sys; \ cd ../sys; \
tar cf - $$i/*.h | \ tar cf - $$i/*.h | \
@ -97,7 +97,7 @@ copies:
symlinks: symlinks:
@for i in ${LDIRS} ${LUDIR}; do \ @for i in ${LDIRS} ${LUDIR}; do \
echo ${SHARED} $$i; \ ${ECHO} ${SHARED} $$i; \
rm -rf ${DESTDIR}/usr/include/$$i; \ rm -rf ${DESTDIR}/usr/include/$$i; \
ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \ ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \ chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC # from: @(#)Makefile 2.3 88/08/11 4.0 RPCSRC
# $Id: Makefile,v 1.2 1994/06/07 15:53:21 guido Exp $ # $Id: Makefile,v 1.1 1994/08/04 19:01:44 wollman Exp $
.SUFFIXES: .x .SUFFIXES: .x
@ -17,10 +17,10 @@ CLEANFILES+= ${HDRS}
all: ${HDRS} all: ${HDRS}
install: all install: all
@echo "Creating RPC service headers directory" @${ECHO} "Creating RPC service headers directory"
@/bin/rm -rf ${DESTDIR}/usr/include/rpcsvc @/bin/rm -rf ${DESTDIR}/usr/include/rpcsvc
@-mkdir ${DESTDIR}/usr/include/rpcsvc @-mkdir ${DESTDIR}/usr/include/rpcsvc
@echo "Installing RPC service header and definition files" @${ECHO} "Installing RPC service header and definition files"
@for i in $(XFILES); do \ @for i in $(XFILES); do \
(install -c -m 644 ${.CURDIR}/$$i ${DESTDIR}/usr/include/rpcsvc) done (install -c -m 644 ${.CURDIR}/$$i ${DESTDIR}/usr/include/rpcsvc) done
@for i in $(HDRS); do \ @for i in $(HDRS); do \
@ -31,7 +31,7 @@ install: all
@chmod -R a-w ${DESTDIR}/usr/include/rpcsvc @chmod -R a-w ${DESTDIR}/usr/include/rpcsvc
.x.h: .x.h:
@echo generating $@... @${ECHO} generating $@...
@CURPWD=`pwd` ; cd ${.CURDIR} ; ${RPCCOM} -h $*.x -o $$CURPWD/$@ @CURPWD=`pwd` ; cd ${.CURDIR} ; ${RPCCOM} -h $*.x -o $$CURPWD/$@
.include <bsd.prog.mk> .include <bsd.prog.mk>