Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/conf Allow SFILES to be empty; from Julian Co...



details:   https://anonhg.NetBSD.org/src/rev/19caa86f8fd6
branches:  trunk
changeset: 474124:19caa86f8fd6
user:      pk <pk%NetBSD.org@localhost>
date:      Mon Jun 28 21:03:23 1999 +0000

description:
Allow SFILES to be empty; from Julian Coleman.

diffstat:

 sys/arch/sparc/conf/Makefile.sparc |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 7cdd1a0086cd -r 19caa86f8fd6 sys/arch/sparc/conf/Makefile.sparc
--- a/sys/arch/sparc/conf/Makefile.sparc        Mon Jun 28 20:26:47 1999 +0000
+++ b/sys/arch/sparc/conf/Makefile.sparc        Mon Jun 28 21:03:23 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.sparc,v 1.59 1999/05/05 10:50:02 christos Exp $
+#      $NetBSD: Makefile.sparc,v 1.60 1999/06/28 21:03:23 pk Exp $
 
 # Makefile for NetBSD
 #
@@ -173,7 +173,9 @@
 .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
        sh $S/kern/genassym.sh ${MKDEP} -f assym.dep ${CFLAGS} \
          ${CPPFLAGS} < ${SPARC}/sparc/genassym.cf
        @sed -e 's/.*\.o:.*\.c/assym.h:/' < assym.dep >> .depend



Home | Main Index | Thread Index | Old Index