diff options
author | peter <peter@FreeBSD.org> | 1996-03-30 14:57:02 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-03-30 14:57:02 +0000 |
commit | cd652cf1fa08e7be848cfa551b117ecd4574f3af (patch) | |
tree | 0949a42f0cf32d7ceff31a5bb03ddfad3331cf06 /sys/conf | |
parent | 591fef2789969079ebd5eef62aeb6080f2fccf29 (diff) | |
download | FreeBSD-src-cd652cf1fa08e7be848cfa551b117ecd4574f3af.zip FreeBSD-src-cd652cf1fa08e7be848cfa551b117ecd4574f3af.tar.gz |
When doing a 'make depend', dont blow away the existing .depend until
the generation of a new one is complete.
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/Makefile.i386 | 12 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 12 |
2 files changed, 14 insertions, 10 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index bff4c86..b00ec36 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.76 1996/03/02 19:37:33 peter Exp $ +# $Id: Makefile.i386,v 1.77 1996/03/29 14:08:30 bde Exp $ # # Makefile for FreeBSD # @@ -136,11 +136,13 @@ genassym: genassym.o # XXX this assumes that the options for NORMAL_C* and DRIVER_C* are identical. depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} - rm -f .depend - mkdep -a ${COPTS} ${CFILES} ${SYSTEM_CFILES} - mkdep -a ${COPTS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c + rm -f .newdep + mkdep -a -f .newdep ${COPTS} ${CFILES} ${SYSTEM_CFILES} + mkdep -a -f .newdep ${COPTS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c MKDEP_CPP="${CPP}" ; export MKDEP_CPP ; \ - mkdep -a -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES} + mkdep -a -f .newdep -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES} + rm -f .depend + mv .newdep .depend links: egrep '#if' ${CFILES:Nswapkernel.c} | sed -f $S/conf/defines | \ diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index bff4c86..b00ec36 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.76 1996/03/02 19:37:33 peter Exp $ +# $Id: Makefile.i386,v 1.77 1996/03/29 14:08:30 bde Exp $ # # Makefile for FreeBSD # @@ -136,11 +136,13 @@ genassym: genassym.o # XXX this assumes that the options for NORMAL_C* and DRIVER_C* are identical. depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} - rm -f .depend - mkdep -a ${COPTS} ${CFILES} ${SYSTEM_CFILES} - mkdep -a ${COPTS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c + rm -f .newdep + mkdep -a -f .newdep ${COPTS} ${CFILES} ${SYSTEM_CFILES} + mkdep -a -f .newdep ${COPTS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c MKDEP_CPP="${CPP}" ; export MKDEP_CPP ; \ - mkdep -a -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES} + mkdep -a -f .newdep -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES} + rm -f .depend + mv .newdep .depend links: egrep '#if' ${CFILES:Nswapkernel.c} | sed -f $S/conf/defines | \ |