Be sloppier about the miidevs.h dependency. This reduces the maintenance

effort at the expense of making miidevs.h a dependency for very .o.

Requested by:	imp
This commit is contained in:
obrien 2003-06-01 20:47:46 +00:00
parent bb80268e0a
commit 4b6365a2b6

View File

@ -63,7 +63,7 @@ ${FULLKERNEL}: ${SYSTEM_DEP} vers.o
${SYSTEM_LD_TAIL}
.if !exists(.depend)
${SYSTEM_OBJS}: assym.s vnode_if.h ${BEFORE_DEPEND:M*.h} ${MFILES:T:S/.m$/.h/}
${SYSTEM_OBJS}: assym.s miidevs.h vnode_if.h ${BEFORE_DEPEND:M*.h} ${MFILES:T:S/.m$/.h/}
.endif
.for mfile in ${MFILES}
@ -75,12 +75,6 @@ ${mfile:T:S/.m$/.h/}: ${mfile}
${AWK} -f $S/tools/makeobjops.awk ${mfile} -h
.endfor
.if !exists(.depend)
acphy.o amphy.o bmtphy.o brgphy.o dcphy.o e1000phy.o exphy.o if_bge.o if_tx.o \
inphy.o lxtphy.o nsgphy.o nsphy.o pnaphy.o pnphy.o qsphy.o rlphy.o tdkphy.o \
tlphy.o xmphy.o: miidevs.h
.endif
kernel-clean:
rm -f *.o *.so *.So *.ko *.s eddep errs \
${FULLKERNEL} ${KERNEL_KO} linterrs makelinks tags \