Source-Changes-HG archive

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

[src/trunk]: src/lib/librumpclient create srcsys symlink



details:   https://anonhg.NetBSD.org/src/rev/37087bf887cc
branches:  trunk
changeset: 763029:37087bf887cc
user:      pooka <pooka%NetBSD.org@localhost>
date:      Tue Mar 08 18:30:24 2011 +0000

description:
create srcsys symlink

diffstat:

 lib/librumpclient/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 70467b48c330 -r 37087bf887cc lib/librumpclient/Makefile
--- a/lib/librumpclient/Makefile        Tue Mar 08 18:29:49 2011 +0000
+++ b/lib/librumpclient/Makefile        Tue Mar 08 18:30:24 2011 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index