Module Name: src
Committed By: pooka
Date: Wed May 15 20:27:00 UTC 2013
Modified Files:
src/lib/librumpclient: Makefile
src/lib/librumpuser: Makefile
Log Message:
Make it possible for external parties to specify additional dplibs.
This is useful for example on platforms which require -ldl.
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/librumpclient/Makefile
cvs rdiff -u -r1.12 -r1.13 src/lib/librumpuser/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.7 src/lib/librumpclient/Makefile:1.8
--- src/lib/librumpclient/Makefile:1.7 Tue Mar 8 19:11:27 2011
+++ src/lib/librumpclient/Makefile Wed May 15 20:27:00 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2011/03/08 19:11:27 pooka Exp $
+# $NetBSD: Makefile,v 1.8 2013/05/15 20:27:00 pooka Exp $
#
.PATH: ${.CURDIR}/../../sys/rump/librump/rumpkern
@@ -12,6 +12,11 @@ MAN= rumpclient.3
INCS= rumpclient.h
INCSDIR= /usr/include/rump
+.for lib in ${RUMPCLIENT_EXTERNAL_DPLIBS}
+LIBDO.${lib}= _external
+LIBDPLIBS+= ${lib} lib
+.endfor
+
CPPFLAGS+= -DRUMP_CLIENT
CPPFLAGS+= -I${.OBJDIR} -I${.CURDIR} -I${.CURDIR}/../librumpuser
SRCS= rumpclient.c
Index: src/lib/librumpuser/Makefile
diff -u src/lib/librumpuser/Makefile:1.12 src/lib/librumpuser/Makefile:1.13
--- src/lib/librumpuser/Makefile:1.12 Tue Apr 30 15:48:29 2013
+++ src/lib/librumpuser/Makefile Wed May 15 20:27:00 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2013/04/30 15:48:29 pooka Exp $
+# $NetBSD: Makefile,v 1.13 2013/05/15 20:27:00 pooka Exp $
#
WARNS?= 5
@@ -8,6 +8,10 @@ WARNS?= 5
LIB= rumpuser
LIBDPLIBS+= pthread ${.CURDIR}/../libpthread
+.for lib in ${RUMPUSER_EXTERNAL_DPLIBS}
+LIBDO.${lib}= _external
+LIBDPLIBS+= ${lib} lib
+.endfor
CPPFLAGS+= -DLIBRUMPUSER
#CPPFLAGS+= -D_DIAGNOSTIC