Source-Changes-HG archive

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

[src/trunk]: src/sys/lkm/vfs/coda5 Adding "${.CURDIR}/../coda" to the path ca...



details:   https://anonhg.NetBSD.org/src/rev/1fbabaef8190
branches:  trunk
changeset: 551506:1fbabaef8190
user:      tron <tron%NetBSD.org@localhost>
date:      Sun Sep 07 12:25:54 2003 +0000

description:
Adding "${.CURDIR}/../coda" to the path causes build failures if object
files exist in that directory. Simply creating a symbolic link to the file
"${.CURDIR}/../coda/lkminit_vfs.c" via "LNFILES" fixes that problem.

diffstat:

 sys/lkm/vfs/coda5/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r d938350d88ae -r 1fbabaef8190 sys/lkm/vfs/coda5/Makefile
--- a/sys/lkm/vfs/coda5/Makefile        Sun Sep 07 12:04:13 2003 +0000
+++ b/sys/lkm/vfs/coda5/Makefile        Sun Sep 07 12:25:54 2003 +0000
@@ -1,11 +1,13 @@
-#      $NetBSD: Makefile,v 1.2 2003/09/06 08:40:42 jdolecek Exp $
+#      $NetBSD: Makefile,v 1.3 2003/09/07 12:25:54 tron Exp $
 
 .include "../Makefile.inc"
 
-.PATH: $S/coda ${.CURDIR}/../coda
+.PATH: $S/coda ${.CURDIR}/../coda5
 
 KMOD=  coda5
 
+LNFILES=       ${.CURDIR}/../coda/lkminit_vfs.c lkminit_vfs.c
+
 SRCS=  lkminit_vfs.c
 SRCS+= coda_namecache.c coda_psdev.c coda_subr.c coda_venus.c
 SRCS+= coda_vfsops.c coda_vnops.c



Home | Main Index | Thread Index | Old Index