diff options
author | peter <peter@FreeBSD.org> | 1999-12-12 16:43:05 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-12 16:43:05 +0000 |
commit | e6736871b806b22505532007f83dc28695a44bbc (patch) | |
tree | 46338ab98ada202762b3ebe38a6a5790b102c3dd /sys/i386/conf | |
parent | 77df06a0b6baeceab05a08e00776dc7d71af629e (diff) | |
download | FreeBSD-src-e6736871b806b22505532007f83dc28695a44bbc.zip FreeBSD-src-e6736871b806b22505532007f83dc28695a44bbc.tar.gz |
Use a seperate -c and -h mode. The vnode_if.c file is compiled only into
the kernel while the vnode_if.h header is a bunch of inlines to call the
code that is in the kernel. Generating the .h file on the fly is kinda
bogus because it has to match the one compiled into the kernel.
IMHO we should have kern/vnode_if.c and sys/vnode_if.h committed in the
tree but that's another battle.
Diffstat (limited to 'sys/i386/conf')
-rw-r--r-- | sys/i386/conf/Makefile.i386 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index ffd538b..f87b33c 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -195,7 +195,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} @@ -265,9 +266,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} |