Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/conf generate dependencies for assym.h for ma...



details:   https://anonhg.NetBSD.org/src/rev/87e16b9be14a
branches:  trunk
changeset: 500184:87e16b9be14a
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu Dec 07 17:32:33 2000 +0000

description:
generate dependencies for assym.h for make depend, fix dependency
for maxusers (make assym.h depend on Makefile)

diffstat:

 sys/arch/alpha/conf/Makefile.alpha |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 9411d5e89df2 -r 87e16b9be14a sys/arch/alpha/conf/Makefile.alpha
--- a/sys/arch/alpha/conf/Makefile.alpha        Thu Dec 07 17:12:21 2000 +0000
+++ b/sys/arch/alpha/conf/Makefile.alpha        Thu Dec 07 17:32:33 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.alpha,v 1.60 2000/11/29 13:02:51 jdolecek Exp $
+# $NetBSD: Makefile.alpha,v 1.61 2000/12/07 17:32:33 jdolecek Exp $
 
 # Makefile for NetBSD
 #
@@ -176,6 +176,10 @@
        ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
        test -z "${SFILES}" || \
        ${MKDEP} -a -x assembler-with-cpp ${AFLAGS} ${CPPFLAGS} ${SFILES}
+       sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
+         ${CPPFLAGS} < ${ALPHA}/alpha/genassym.cf
+       @sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend
+       @rm -f assym.dep
 
 dependall: depend all
 
@@ -187,7 +191,7 @@
 uipc_proto.o vfs_conf.o: Makefile 
 
 # depend on maxusers
-genassym.o machdep.o: Makefile
+assym.h machdep.o: Makefile
 
 # depend on CPU configuration 
 clock.o machdep.o apecs.o cia.o lca.o ioasic.o scc.o icasic.o: Makefile



Home | Main Index | Thread Index | Old Index