mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
Use ${ECHO} instead of echo' so that
make -s' is fairly quiet.
This commit is contained in:
parent
3634f3200c
commit
f34a7038a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2367
@ -1,5 +1,5 @@
|
||||
# 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)"
|
||||
|
||||
@ -38,12 +38,12 @@ beforedepend ${PROG}: ${CONF_HEADERS}
|
||||
|
||||
targ-cpu.h: Makefile config/Makefile.$(MACHINE)
|
||||
@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 )
|
||||
|
||||
obj-format.h: Makefile config/Makefile.$(MACHINE)
|
||||
@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 )
|
||||
|
||||
.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)
|
||||
@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 )
|
||||
|
||||
.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)
|
||||
@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 )
|
||||
|
||||
CLEANFILES+= ${CONF_HEADERS}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# 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
|
||||
#
|
||||
@ -36,18 +36,18 @@ NOOBJ= noobj
|
||||
SHARED?= symlinks
|
||||
|
||||
beforeinstall: ${SHARED}
|
||||
@echo installing ${FILES}
|
||||
@${ECHO} installing ${FILES}
|
||||
@-for i in ${FILES}; do \
|
||||
cmp -s $$i ${DESTDIR}/usr/include/$$i > /dev/null 2>&1 || \
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m 444 $$i \
|
||||
${DESTDIR}/usr/include/$$i; \
|
||||
done
|
||||
@echo creating osreldate.h
|
||||
@${ECHO} creating osreldate.h
|
||||
@rm -f ${DESTDIR}/usr/include/osreldate.h
|
||||
@echo \#'undef __FreeBSD_version' > ${DESTDIR}/usr/include/osreldate.h
|
||||
@echo \#'define __FreeBSD_version '`sysctl -n kern.osreldate` \
|
||||
>> ${DESTDIR}/usr/include/osreldate.h
|
||||
@echo installing ${DIRS}
|
||||
@${ECHO} installing ${DIRS}
|
||||
@-for i in ${DIRS}; do \
|
||||
if [ ! -d ${DESTDIR}/usr/include/$$i ]; \
|
||||
then \
|
||||
@ -62,13 +62,13 @@ beforeinstall: ${SHARED}
|
||||
${DESTDIR}/usr/include/$$i/$$j; \
|
||||
done); \
|
||||
done
|
||||
@echo installing ${LFILES}
|
||||
@${ECHO} installing ${LFILES}
|
||||
@-for i in ${LFILES}; do \
|
||||
rm -f ${DESTDIR}/usr/include/$$i; \
|
||||
ln -s sys/$$i ${DESTDIR}/usr/include/$$i; \
|
||||
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
|
||||
done
|
||||
@echo installing ${MFILES}
|
||||
@${ECHO} installing ${MFILES}
|
||||
@-for i in ${MFILES}; do \
|
||||
rm -f ${DESTDIR}/usr/include/$$i; \
|
||||
ln -s machine/$$i ${DESTDIR}/usr/include/$$i; \
|
||||
@ -78,7 +78,7 @@ beforeinstall: ${SHARED}
|
||||
copies:
|
||||
rm -rf ${DESTDIR}/usr/include/${LUDIR}
|
||||
@-for i in ${LDIRS} ${UDIRS}; do \
|
||||
echo ${SHARED} $$i; \
|
||||
${ECHO} ${SHARED} $$i; \
|
||||
rm -rf ${DESTDIR}/usr/include/$$i; \
|
||||
cd ../sys; \
|
||||
tar cf - $$i/*.h | \
|
||||
@ -97,7 +97,7 @@ copies:
|
||||
|
||||
symlinks:
|
||||
@for i in ${LDIRS} ${LUDIR}; do \
|
||||
echo ${SHARED} $$i; \
|
||||
${ECHO} ${SHARED} $$i; \
|
||||
rm -rf ${DESTDIR}/usr/include/$$i; \
|
||||
ln -s /sys/$$i ${DESTDIR}/usr/include/$$i; \
|
||||
chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/$$i; \
|
||||
|
@ -1,5 +1,5 @@
|
||||
# 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
|
||||
|
||||
@ -17,10 +17,10 @@ CLEANFILES+= ${HDRS}
|
||||
all: ${HDRS}
|
||||
|
||||
install: all
|
||||
@echo "Creating RPC service headers directory"
|
||||
@${ECHO} "Creating RPC service headers directory"
|
||||
@/bin/rm -rf ${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 \
|
||||
(install -c -m 644 ${.CURDIR}/$$i ${DESTDIR}/usr/include/rpcsvc) done
|
||||
@for i in $(HDRS); do \
|
||||
@ -31,7 +31,7 @@ install: all
|
||||
@chmod -R a-w ${DESTDIR}/usr/include/rpcsvc
|
||||
|
||||
.x.h:
|
||||
@echo generating $@...
|
||||
@${ECHO} generating $@...
|
||||
@CURPWD=`pwd` ; cd ${.CURDIR} ; ${RPCCOM} -h $*.x -o $$CURPWD/$@
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user