summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2003-07-22 19:39:51 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2003-07-22 19:39:51 +0000
commitf7257e19db452fc64bb28fe9531233daca3bbc00 (patch)
treeccae63601069ed6b3bd5a7637f221659b2fcd487 /sys/arch/mvme68k
parent9499bb88348ed4469f97f197bd2e10053ceda9bf (diff)
Fix .depend generation for assym.h. Resolves PR 1154.
ok deraadt@
Diffstat (limited to 'sys/arch/mvme68k')
-rw-r--r--sys/arch/mvme68k/conf/Makefile.mvme68k6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mvme68k/conf/Makefile.mvme68k b/sys/arch/mvme68k/conf/Makefile.mvme68k
index 30597ff0a55..2c496b58a4a 100644
--- a/sys/arch/mvme68k/conf/Makefile.mvme68k
+++ b/sys/arch/mvme68k/conf/Makefile.mvme68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mvme68k,v 1.22 2003/05/23 22:16:16 tedu Exp $
+# $OpenBSD: Makefile.mvme68k,v 1.23 2003/07/22 19:39:50 otto Exp $
# This makefile is constructed from a machine description:
# config machineid
@@ -169,6 +169,10 @@ depend:: .depend
mkdep ${AFLAGS} ${CPPFLAGS} ${MVME68K}/mvme68k/locore.s
mkdep -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
mkdep -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
+ sh $S/kern/genassym.sh mkdep -f assym.dep ${CFLAGS} \
+ ${CPPFLAGS} < ${MVME68K}/mvme68k/genassym.cf
+ @sed -e 's/.*\.o:.* /assym.h: /' < assym.dep >> .depend
+ @rm -f assym.dep
# depend on root or device configuration