diff options
author | wosch <wosch@FreeBSD.org> | 1996-05-07 23:19:49 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1996-05-07 23:19:49 +0000 |
commit | 9f795376b3921c04e5abe4bc29b1905e78ae2db2 (patch) | |
tree | 5618f6a0a4a19c1125bc494850591fa1ee21df48 /lib | |
parent | 25e7738786079b0070d3ddbd5a6a9fb2279e5c9a (diff) | |
download | FreeBSD-src-9f795376b3921c04e5abe4bc29b1905e78ae2db2.zip FreeBSD-src-9f795376b3921c04e5abe4bc29b1905e78ae2db2.tar.gz |
``mv'' -> ``mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
Diffstat (limited to 'lib')
-rw-r--r-- | lib/csu/i386/Makefile | 12 | ||||
-rw-r--r-- | lib/libc/string/Makefile.inc | 21 | ||||
-rw-r--r-- | lib/libc/sys/Makefile.inc | 9 | ||||
-rw-r--r-- | lib/libc_r/string/Makefile.inc | 21 | ||||
-rw-r--r-- | lib/libc_r/sys/Makefile.inc | 13 | ||||
-rw-r--r-- | lib/libdisk/Makefile | 4 | ||||
-rw-r--r-- | lib/libkse/sys/Makefile.inc | 13 | ||||
-rw-r--r-- | lib/libm/Makefile | 6 | ||||
-rw-r--r-- | lib/libpcap/Makefile | 4 | ||||
-rw-r--r-- | lib/libpthread/sys/Makefile.inc | 13 | ||||
-rw-r--r-- | lib/libss/Makefile | 6 |
11 files changed, 65 insertions, 57 deletions
diff --git a/lib/csu/i386/Makefile b/lib/csu/i386/Makefile index 4f665ca..fb74e6b 100644 --- a/lib/csu/i386/Makefile +++ b/lib/csu/i386/Makefile @@ -1,5 +1,5 @@ # from: @(#)Makefile 5.6 (Berkeley) 5/22/91 -# $Id: Makefile,v 1.22 1995/10/29 09:49:18 phk Exp $ +# $Id: Makefile,v 1.23 1995/11/02 12:42:41 ache Exp $ CFLAGS+= -DLIBC_SCCS -fno-omit-frame-pointer OBJS= crt0.o c++rt0.o gcrt0.o scrt0.o sgcrt0.o @@ -14,12 +14,12 @@ all: ${OBJS} crt0.o: crt0.c ${CC} ${CFLAGS} -c -DCRT0 -DDYNAMIC ${.CURDIR}/crt0.c -o ${.TARGET} ${LD} -x -r ${.TARGET} - mv a.out ${.TARGET} + mv -f a.out ${.TARGET} c++rt0.o: c++rt0.c ${CC} ${CFLAGS} -fpic -c ${.CURDIR}/c++rt0.c @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} # # gcrt0.o doesn't really depend on crt0.o, but this is the easiest way @@ -28,19 +28,19 @@ c++rt0.o: c++rt0.c gcrt0.o: crt0.o ${CC} ${CFLAGS} -c -DMCRT0 -DDYNAMIC ${.CURDIR}/crt0.c -o ${.TARGET} ${LD} -x -r ${.TARGET} - mv a.out ${.TARGET} + mv -f a.out ${.TARGET} # dependencies fudged as for gcrt0.o scrt0.o: crt0.o ${CC} ${CFLAGS} -c -DCRT0 ${.CURDIR}/crt0.c -o ${.TARGET} ${LD} -x -r ${.TARGET} - mv a.out ${.TARGET} + mv -f a.out ${.TARGET} # dependencies fudged as for gcrt0.o sgcrt0.o: scrt0.o ${CC} ${CFLAGS} -c -DMCRT0 ${.CURDIR}/crt0.c -o ${.TARGET} ${LD} -x -r ${.TARGET} - mv a.out ${.TARGET} + mv -f a.out ${.TARGET} beforeinstall: cmp -s ${.CURDIR}/dlfcn.h ${DESTDIR}/usr/include/dlfcn.h || \ diff --git a/lib/libc/string/Makefile.inc b/lib/libc/string/Makefile.inc index dddea781..315c899 100644 --- a/lib/libc/string/Makefile.inc +++ b/lib/libc/string/Makefile.inc @@ -1,4 +1,5 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 +# $Id: $ .PATH: ${.CURDIR}/${MACHINE}/string ${.CURDIR}/string @@ -16,12 +17,12 @@ OBJS+= bzero.o bzero.o: memset.c ${CC} -DBZERO ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} bzero.po: memset.c ${CC} -DBZERO ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif # If no machine specific memmove(3), build one out of bcopy(3). @@ -30,12 +31,12 @@ OBJS+= memmove.o memmove.o: bcopy.c ${CC} -DMEMMOVE ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} memmove.po: bcopy.c ${CC} -DMEMMOVE ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif # If no machine specific memcpy(3), build one out of bcopy(3). @@ -44,12 +45,12 @@ OBJS+= memcpy.o memcpy.o: bcopy.c ${CC} -DMEMCOPY ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} memcpy.po: bcopy.c ${CC} -DMEMCOPY ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif # If no machine specific strchr(3), build one out of index(3). @@ -58,12 +59,12 @@ OBJS+= strchr.o strchr.o: index.c ${CC} -DSTRCHR ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} strchr.po: index.c ${CC} -DSTRCHR ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif # If no machine specific strrchr(3), build one out of rindex(3). @@ -72,12 +73,12 @@ OBJS+= strrchr.o strrchr.o: rindex.c ${CC} -DSTRRCHR ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} strrchr.po: rindex.c ${CC} -DSTRRCHR ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif # MAN3+= string/bcmp.3 string/bcopy.3 string/bstring.3 string/bzero.3 \ diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc index 83d9e46..0e23be3 100644 --- a/lib/libc/sys/Makefile.inc +++ b/lib/libc/sys/Makefile.inc @@ -1,4 +1,5 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/17/93 +# $Id: $ # sys sources .PATH: ${.CURDIR}/${MACHINE}/sys ${.CURDIR}/sys @@ -44,7 +45,7 @@ ${ASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PASM= ${ASM:.o=.po} ${PASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -52,7 +53,7 @@ ${PASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po SASM= ${ASM:.o=.so} ${SASM}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -65,7 +66,7 @@ ${PSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PPSEUDO=${PSEUDO:.o=.po} ${PPSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -73,7 +74,7 @@ ${PPSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po SPSEUDO=${PSEUDO:.o=.so} ${SPSEUDO}: ${.CURDIR}/${MACHINE}/SYS.h /usr/include/sys/syscall.h diff --git a/lib/libc_r/string/Makefile.inc b/lib/libc_r/string/Makefile.inc index 861fdf7..1296824 100644 --- a/lib/libc_r/string/Makefile.inc +++ b/lib/libc_r/string/Makefile.inc @@ -1,4 +1,5 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 +# $Id: $ .PATH: ${.CURDIR}/../libc/${MACHINE}/string ${.CURDIR}/../libc/string @@ -16,12 +17,12 @@ OBJS+= bzero.o bzero.o: memset.c ${CC} -DBZERO ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} bzero.po: memset.c ${CC} -DBZERO ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif # If no machine specific memmove(3), build one out of bcopy(3). @@ -30,12 +31,12 @@ OBJS+= memmove.o memmove.o: bcopy.c ${CC} -DMEMMOVE ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} memmove.po: bcopy.c ${CC} -DMEMMOVE ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif # If no machine specific memcpy(3), build one out of bcopy(3). @@ -44,12 +45,12 @@ OBJS+= memcpy.o memcpy.o: bcopy.c ${CC} -DMEMCOPY ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} memcpy.po: bcopy.c ${CC} -DMEMCOPY ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif # If no machine specific strchr(3), build one out of index(3). @@ -58,12 +59,12 @@ OBJS+= strchr.o strchr.o: index.c ${CC} -DSTRCHR ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} strchr.po: index.c ${CC} -DSTRCHR ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif # If no machine specific strrchr(3), build one out of rindex(3). @@ -72,10 +73,10 @@ OBJS+= strrchr.o strrchr.o: rindex.c ${CC} -DSTRRCHR ${CFLAGS} -c ${.ALLSRC} -o ${.TARGET} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} strrchr.po: rindex.c ${CC} -DSTRRCHR ${CFLAGS} -c -p ${.ALLSRC} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .endif diff --git a/lib/libc_r/sys/Makefile.inc b/lib/libc_r/sys/Makefile.inc index 0133541..3aa9a00 100644 --- a/lib/libc_r/sys/Makefile.inc +++ b/lib/libc_r/sys/Makefile.inc @@ -1,4 +1,5 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/17/93 +# $Id: $ # sys sources .PATH: ${.CURDIR}/../libc/${MACHINE}/sys ${.CURDIR}/../libc/sys \ @@ -48,7 +49,7 @@ ${ASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PASM= ${ASM:.o=.po} ${PASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -56,7 +57,7 @@ ${PASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po SASM= ${ASM:.o=.so} ${SASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -69,7 +70,7 @@ ${THREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPRSYSCALL(${.PREFIX},_thread_sys_${.PREFIX})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PTHREADASM= ${THREADASM:.o=.po} ${PTHREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -77,7 +78,7 @@ ${PTHREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPRSYSCALL(${.PREFIX},_thread_sys_${.PREFIX})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po STHREADASM= ${THREADASM:.o=.so} ${STHREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -90,7 +91,7 @@ ${PSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PPSEUDO=${PSEUDO:.o=.po} ${PPSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -98,7 +99,7 @@ ${PPSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po SPSEUDO=${PSEUDO:.o=.so} ${SPSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h diff --git a/lib/libdisk/Makefile b/lib/libdisk/Makefile index 307c750..a81cddb 100644 --- a/lib/libdisk/Makefile +++ b/lib/libdisk/Makefile @@ -1,3 +1,5 @@ +# $Id: $ + LIB= disk SRCS= blocks.c disklabel.c dkcksum.c chunk.c disk.c change.c \ create_chunk.c rules.c write_disk.c data.c @@ -46,7 +48,7 @@ data.c: ${.CURDIR}/libdisk.h ${BOOTS}/boot1 ${BOOTS}/boot2 < ${BOOTS}/boot1 > tmp.c file2c 'const unsigned char boot2[] = {' '};' \ < ${BOOTS}/boot2 >> tmp.c - mv tmp.c data.c + mv -f tmp.c data.c beforeinstall: @${ECHO} installing libdisk.h diff --git a/lib/libkse/sys/Makefile.inc b/lib/libkse/sys/Makefile.inc index 0133541..3aa9a00 100644 --- a/lib/libkse/sys/Makefile.inc +++ b/lib/libkse/sys/Makefile.inc @@ -1,4 +1,5 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/17/93 +# $Id: $ # sys sources .PATH: ${.CURDIR}/../libc/${MACHINE}/sys ${.CURDIR}/../libc/sys \ @@ -48,7 +49,7 @@ ${ASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PASM= ${ASM:.o=.po} ${PASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -56,7 +57,7 @@ ${PASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po SASM= ${ASM:.o=.so} ${SASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -69,7 +70,7 @@ ${THREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPRSYSCALL(${.PREFIX},_thread_sys_${.PREFIX})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PTHREADASM= ${THREADASM:.o=.po} ${PTHREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -77,7 +78,7 @@ ${PTHREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPRSYSCALL(${.PREFIX},_thread_sys_${.PREFIX})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po STHREADASM= ${THREADASM:.o=.so} ${STHREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -90,7 +91,7 @@ ${PSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PPSEUDO=${PSEUDO:.o=.po} ${PPSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -98,7 +99,7 @@ ${PPSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po SPSEUDO=${PSEUDO:.o=.so} ${SPSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h diff --git a/lib/libm/Makefile b/lib/libm/Makefile index d832963..6cc7d10 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -1,5 +1,5 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/4/93 -# $Id$ +# $Id: Makefile,v 1.2 1994/08/05 01:52:05 wollman Exp $ # # ieee - for most IEEE machines, we hope. # mc68881 - the, ahem, mc68881. @@ -159,10 +159,10 @@ depend: .depend .s.o: ${AS} -o ${.TARGET} ${.IMPSRC} @${LD} -x -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} .s.po: sed -f ${.CURDIR}/${HARDWARE}/mcount.sed ${.IMPSRC} | \ ${AS} -o ${.TARGET} @${LD} -X -r ${.TARGET} - @mv a.out ${.TARGET} + @mv -f a.out ${.TARGET} diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 50d6c92..161a43f 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -1,5 +1,5 @@ # Makefile for libpcap -# $Id: Makefile,v 1.3 1995/02/23 18:47:06 ache Exp $ +# $Id: Makefile,v 1.4 1995/08/06 12:37:41 bde Exp $ LIB= pcap @@ -25,7 +25,7 @@ beforeinstall: scanner.o: tokdefs.h tokdefs.h: grammar.c - mv y.tab.h tokdefs.h + mv -f y.tab.h tokdefs.h .include <bsd.lib.mk> diff --git a/lib/libpthread/sys/Makefile.inc b/lib/libpthread/sys/Makefile.inc index 0133541..3aa9a00 100644 --- a/lib/libpthread/sys/Makefile.inc +++ b/lib/libpthread/sys/Makefile.inc @@ -1,4 +1,5 @@ # @(#)Makefile.inc 8.1 (Berkeley) 6/17/93 +# $Id: $ # sys sources .PATH: ${.CURDIR}/../libc/${MACHINE}/sys ${.CURDIR}/../libc/sys \ @@ -48,7 +49,7 @@ ${ASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PASM= ${ASM:.o=.po} ${PASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -56,7 +57,7 @@ ${PASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po SASM= ${ASM:.o=.so} ${SASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -69,7 +70,7 @@ ${THREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPRSYSCALL(${.PREFIX},_thread_sys_${.PREFIX})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PTHREADASM= ${THREADASM:.o=.po} ${PTHREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -77,7 +78,7 @@ ${PTHREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPRSYSCALL(${.PREFIX},_thread_sys_${.PREFIX})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po STHREADASM= ${THREADASM:.o=.so} ${STHREADASM}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -90,7 +91,7 @@ ${PSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.o @${LD} -x -r ${.PREFIX}.o - @mv a.out ${.PREFIX}.o + @mv -f a.out ${.PREFIX}.o PPSEUDO=${PSEUDO:.o=.po} ${PPSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @@ -98,7 +99,7 @@ ${PPSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h @printf '#include "SYS.h"\nPSEUDO(${.PREFIX},${.PREFIX:S/_//})\n' | \ ${CPP} -DPROF ${CFLAGS:M-[ID]*} ${AINC} | ${AS} -o ${.PREFIX}.po @${LD} -x -r ${.PREFIX}.po - @mv a.out ${.PREFIX}.po + @mv -f a.out ${.PREFIX}.po SPSEUDO=${PSEUDO:.o=.so} ${SPSEUDO}: ${.CURDIR}/../libc/${MACHINE}/SYS.h /usr/include/sys/syscall.h diff --git a/lib/libss/Makefile b/lib/libss/Makefile index 3a97aaf..88adaaa 100644 --- a/lib/libss/Makefile +++ b/lib/libss/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.9 1995/08/06 12:24:05 bde Exp $ +# $Id: Makefile,v 1.10 1995/08/06 12:41:07 bde Exp $ LIB= ss SRCS= ss_err.c data.c error.c execute_cmd.c help.c invocation.c list_rqs.c \ @@ -16,12 +16,12 @@ LDADD+= -lcom_err ss_err.h ss_err.c: ${.CURDIR}/ss_err.et test -e ss_err.et || ln -s ${.CURDIR}/ss_err.et . compile_et ss_err.et - -test -h ss_err.et && rm ss_err.et + -test -h ss_err.et && rm -f ss_err.et std_rqs.c: ${.CURDIR}/std_rqs.ct test -e std_rqs.ct || ln -s ${.CURDIR}/std_rqs.ct . mk_cmds std_rqs.ct - -test -h std_rqs.ct && rm std_rqs.ct + -test -h std_rqs.ct && rm -f std_rqs.ct beforeinstall: -cd ${.CURDIR}; cmp -s ss.h ${DESTDIR}/usr/include/ss/ss.h || \ |