summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
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/macppc
parent9499bb88348ed4469f97f197bd2e10053ceda9bf (diff)
Fix .depend generation for assym.h. Resolves PR 1154.
ok deraadt@
Diffstat (limited to 'sys/arch/macppc')
-rw-r--r--sys/arch/macppc/conf/Makefile.macppc6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc
index 399f2a55028..09a5511489e 100644
--- a/sys/arch/macppc/conf/Makefile.macppc
+++ b/sys/arch/macppc/conf/Makefile.macppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.macppc,v 1.15 2003/05/23 22:16:16 tedu Exp $
+# $OpenBSD: Makefile.macppc,v 1.16 2003/07/22 19:39:50 otto Exp $
#
# Makefile for OpenBSD PowerPC
#
@@ -167,6 +167,10 @@ depend:: .depend
.if ${SFILES} != ""
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
.endif
+ sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
+ ${CPPFLAGS} < ${MACPPC}/macppc/genassym.cf
+ @sed -e 's/.*\.o:.* /assym.h: /' < assym.dep >> .depend
+ @rm -f assym.dep
# depend on root or device configuration
autoconf.o conf.o: Makefile