diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98 index b8631c5a8e5b..69dc35668e29 100644 --- a/sys/conf/Makefile.pc98 +++ b/sys/conf/Makefile.pc98 @@ -199,7 +199,8 @@ genassym: genassym.o ${SYSTEM_OBJS} genassym.o vers.o: opt_global.h -depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} +depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \ + ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} ${SYSTEM_SFILES} rm -f .newdep mkdep -a -f .newdep ${CFLAGS} ${CFILES} ${SYSTEM_CFILES} mkdep -a -f .newdep ${GEN_CFLAGS} ${GEN_CFILES} @@ -269,9 +270,11 @@ vers.c: $S/conf/newvers.sh $S/sys/param.h ${SYSTEM_DEP} vers.o: ${NORMAL_C} -.ORDER: vnode_if.c vnode_if.h -vnode_if.c vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src - sh $S/kern/vnode_if.sh $S/kern/vnode_if.src +vnode_if.c: $S/kern/vnode_if.sh $S/kern/vnode_if.src + perl $S/kern/vnode_if.sh -c $S/kern/vnode_if.src + +vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src + perl $S/kern/vnode_if.sh -h $S/kern/vnode_if.src vnode_if.o: ${NORMAL_C} diff --git a/sys/pc98/conf/Makefile.pc98 b/sys/pc98/conf/Makefile.pc98 index b8631c5a8e5b..69dc35668e29 100644 --- a/sys/pc98/conf/Makefile.pc98 +++ b/sys/pc98/conf/Makefile.pc98 @@ -199,7 +199,8 @@ genassym: genassym.o ${SYSTEM_OBJS} genassym.o vers.o: opt_global.h -depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} +depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND} \ + ${CFILES} ${SYSTEM_CFILES} ${GEN_CFILES} ${SFILES} ${SYSTEM_SFILES} rm -f .newdep mkdep -a -f .newdep ${CFLAGS} ${CFILES} ${SYSTEM_CFILES} mkdep -a -f .newdep ${GEN_CFLAGS} ${GEN_CFILES} @@ -269,9 +270,11 @@ vers.c: $S/conf/newvers.sh $S/sys/param.h ${SYSTEM_DEP} vers.o: ${NORMAL_C} -.ORDER: vnode_if.c vnode_if.h -vnode_if.c vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src - sh $S/kern/vnode_if.sh $S/kern/vnode_if.src +vnode_if.c: $S/kern/vnode_if.sh $S/kern/vnode_if.src + perl $S/kern/vnode_if.sh -c $S/kern/vnode_if.src + +vnode_if.h: $S/kern/vnode_if.sh $S/kern/vnode_if.src + perl $S/kern/vnode_if.sh -h $S/kern/vnode_if.src vnode_if.o: ${NORMAL_C}