summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-02-12 05:55:33 +0000
committerobrien <obrien@FreeBSD.org>2001-02-12 05:55:33 +0000
commit8befe8802dfa82b634876d02d08448bd076b476b (patch)
treec1b2cb63085f433cbbe99ab19e7980fe8b722049 /sys
parent4c3793638765ff02ffe1e33b403b027b5b97eaf5 (diff)
downloadFreeBSD-src-8befe8802dfa82b634876d02d08448bd076b476b.zip
FreeBSD-src-8befe8802dfa82b634876d02d08448bd076b476b.tar.gz
Fix `make depend' => `make kernel-depend'. Using the dependancy file
when rebuilding it is just Wrong.
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/Makefile.alpha6
-rw-r--r--sys/conf/Makefile.i3866
-rw-r--r--sys/conf/Makefile.ia646
-rw-r--r--sys/conf/Makefile.pc986
-rw-r--r--sys/conf/Makefile.powerpc6
5 files changed, 25 insertions, 5 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha
index bc74995..5641f1e 100644
--- a/sys/conf/Makefile.alpha
+++ b/sys/conf/Makefile.alpha
@@ -235,7 +235,11 @@ __reml.S: $S/$M/$M/divrem.m4
${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
-kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
+kernel-depend:
+ rm -f .depend
+ ${MAKE} _kernel-depend
+
+_kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \
${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/}
rm -f .newdep
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index 135c868..8edb6f1 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -195,7 +195,11 @@ genassym.o: $S/$M/$M/genassym.c
${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
-kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
+kernel-depend:
+ rm -f .depend
+ ${MAKE} _kernel-depend
+
+_kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \
${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/}
rm -f .newdep
diff --git a/sys/conf/Makefile.ia64 b/sys/conf/Makefile.ia64
index 088b31b..ac16280 100644
--- a/sys/conf/Makefile.ia64
+++ b/sys/conf/Makefile.ia64
@@ -199,7 +199,11 @@ genassym.o: $S/$M/$M/genassym.c
${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
-kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
+kernel-depend:
+ rm -f .depend
+ ${MAKE} _kernel-depend
+
+_kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \
${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/}
rm -f .newdep
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98
index 7aef2a2..551a861 100644
--- a/sys/conf/Makefile.pc98
+++ b/sys/conf/Makefile.pc98
@@ -198,7 +198,11 @@ genassym.o: $S/$M/$M/genassym.c
${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
-kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
+kernel-depend:
+ rm -f .depend
+ ${MAKE} _kernel-depend
+
+_kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \
${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/}
rm -f .newdep
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index 135c868..8edb6f1 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -195,7 +195,11 @@ genassym.o: $S/$M/$M/genassym.c
${SYSTEM_OBJS} genassym.o vers.o: opt_global.h
-kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
+kernel-depend:
+ rm -f .depend
+ ${MAKE} _kernel-depend
+
+_kernel-depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \
${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} \
${SYSTEM_SFILES} ${MFILES:T:S/.m$/.h/}
rm -f .newdep
OpenPOWER on IntegriCloud