summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-08-20 02:03:16 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-08-20 02:03:16 +0000
commitc3e20cdee9bc86c3b0989e3f9d59369aa2c030c0 (patch)
tree7ac1d89c611abc58ccee748f9dc3a74c7f460c27 /sys/arch
parent990468bc4164351196f9b0f93e5dbd0a6d1c3903 (diff)
If there are no SFILES, don't try to .depend them; run over by: emory@hellyeah.com
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc/conf/Makefile.sparc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc/conf/Makefile.sparc b/sys/arch/sparc/conf/Makefile.sparc
index 431aefe0260..169b597c08c 100644
--- a/sys/arch/sparc/conf/Makefile.sparc
+++ b/sys/arch/sparc/conf/Makefile.sparc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.sparc,v 1.15 1998/03/03 22:35:07 niklas Exp $
+# $OpenBSD: Makefile.sparc,v 1.16 1998/08/20 02:03:15 jason Exp $
# $NetBSD: Makefile.sparc,v 1.32.4.1 1996/06/12 20:26:32 pk Exp $
# Makefile for OpenBSD
@@ -169,7 +169,9 @@ depend:: .depend
.depend: ${SRCS} assym.h param.c
${MKDEP} ${AFLAGS} ${CPPFLAGS} ${SPARC}/sparc/locore.s
${MKDEP} -a ${CFLAGS} ${CPPFLAGS} param.c ioconf.c ${CFILES}
+.if !empty(SFILES)
${MKDEP} -a ${AFLAGS} ${CPPFLAGS} ${SFILES}
+.endif
# depend on root or device configuration