Module Name:    src
Committed By:   pooka
Date:           Tue Mar  8 18:30:24 UTC 2011

Modified Files:
        src/lib/librumpclient: Makefile

Log Message:
create srcsys symlink


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/librumpclient/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/librumpclient/Makefile
diff -u src/lib/librumpclient/Makefile:1.5 src/lib/librumpclient/Makefile:1.6
--- src/lib/librumpclient/Makefile:1.5	Tue Feb 22 17:32:49 2011
+++ src/lib/librumpclient/Makefile	Tue Mar  8 18:30:24 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2011/02/22 17:32:49 tron Exp $
+#	$NetBSD: Makefile,v 1.6 2011/03/08 18:30:24 pooka Exp $
 #
 
 .PATH:	${.CURDIR}/../../sys/rump/librump/rumpkern
@@ -16,6 +16,14 @@
 SRCS=		rumpclient.c
 SRCS+=		rump_syscalls.c
 
+CLEANFILES+=	srcsys
+
 COPTS.rump_syscalls.c+= -fno-strict-aliasing
 
+.if !make(obj) && !make(clean) && !make(cleandir)
+.BEGIN:
+	@rm -f srcsys
+	@ln -s ${NETBSDSRCDIR}/sys/sys srcsys
+.endif
+
 .include <bsd.lib.mk>

Reply via email to