diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-15 17:56:48 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-03-15 17:56:48 +0000 |
commit | cd4bafa66f0aa791a8c3d018dd0b0d2715ee2f0a (patch) | |
tree | 69d621eed8d292e85145a710c0fd10e423d8ffbb /sys/arch | |
parent | 0f66295f86887830e111a351c6a1198594128941 (diff) |
Include .S files in make depend.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/conf/Makefile.sgi | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/arch/sgi/conf/Makefile.sgi b/sys/arch/sgi/conf/Makefile.sgi index 5cdcd5d6e91..80560b6d4a1 100644 --- a/sys/arch/sgi/conf/Makefile.sgi +++ b/sys/arch/sgi/conf/Makefile.sgi @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.sgi,v 1.20 2008/04/12 21:04:17 miod Exp $ +# $OpenBSD: Makefile.sgi,v 1.21 2009/03/15 17:56:47 miod Exp $ # Makefile for OpenBSD # @@ -166,11 +166,18 @@ newvers: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} sh $S/conf/newvers.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c +SRCS= ${SGI}/sgi/locore.S \ + param.c ioconf.c ${CFILES} ${SFILES} depend:: .depend .depend: ${SRCS} assym.h param.c ${MKDEP} ${AFLAGS} ${CPPFLAGS} ${SGI}/sgi/locore.S ${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES} -# ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES} + ${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES} + sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \ + ${CPPFLAGS} < ${SGI}/sgi/genassym.cf + @sed -e 's/.*\.o: /assym.h: /' -e 's/\/tmp\/genassym_c.[^ ]*//' \ + < assym.dep >> .depend + @rm -f assym.dep # The install target can be redefined by putting a # install-kernel-${MACHINE_NAME} target into /etc/mk.conf |