summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/conf/Makefile.mac68k
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/mac68k/conf/Makefile.mac68k
parent9499bb88348ed4469f97f197bd2e10053ceda9bf (diff)
Fix .depend generation for assym.h. Resolves PR 1154.
ok deraadt@
Diffstat (limited to 'sys/arch/mac68k/conf/Makefile.mac68k')
-rw-r--r--sys/arch/mac68k/conf/Makefile.mac68k6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mac68k/conf/Makefile.mac68k b/sys/arch/mac68k/conf/Makefile.mac68k
index f7c85e16a42..a688260ac58 100644
--- a/sys/arch/mac68k/conf/Makefile.mac68k
+++ b/sys/arch/mac68k/conf/Makefile.mac68k
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.mac68k,v 1.32 2003/05/23 22:16:16 tedu Exp $
+# $OpenBSD: Makefile.mac68k,v 1.33 2003/07/22 19:39:50 otto Exp $
# $NetBSD: Makefile.mac68k,v 1.53 1997/04/15 06:11:38 scottr Exp $
# Makefile for OpenBSD
@@ -173,6 +173,10 @@ depend:: .depend
-if test -n "${SFILES}"; then \
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}; \
fi
+ sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
+ ${CPPFLAGS} < ${MAC68K}/mac68k/genassym.cf
+ @sed -e 's/.*\.o:.* /assym.h: /' < assym.dep >> .depend
+ @rm -f assym.dep