summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.alpha
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-12-12 16:43:05 +0000
committerpeter <peter@FreeBSD.org>1999-12-12 16:43:05 +0000
commite6736871b806b22505532007f83dc28695a44bbc (patch)
tree46338ab98ada202762b3ebe38a6a5790b102c3dd /sys/conf/Makefile.alpha
parent77df06a0b6baeceab05a08e00776dc7d71af629e (diff)
downloadFreeBSD-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/conf/Makefile.alpha')
-rw-r--r--sys/conf/Makefile.alpha11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha
index a0193bc..06657d4 100644
--- a/sys/conf/Makefile.alpha
+++ b/sys/conf/Makefile.alpha
@@ -218,7 +218,8 @@ __reml.S: ${S}/alpha/alpha/divrem.m4
${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}
@@ -288,9 +289,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 -h $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}
OpenPOWER on IntegriCloud