Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib Make it possible for external parties to specify additio...
details: https://anonhg.NetBSD.org/src/rev/08d66e3c00d8
branches: trunk
changeset: 786852:08d66e3c00d8
user: pooka <pooka%NetBSD.org@localhost>
date: Wed May 15 20:27:00 2013 +0000
description:
Make it possible for external parties to specify additional dplibs.
This is useful for example on platforms which require -ldl.
diffstat:
lib/librumpclient/Makefile | 7 ++++++-
lib/librumpuser/Makefile | 6 +++++-
2 files changed, 11 insertions(+), 2 deletions(-)
diffs (41 lines):
diff -r efc8ee737410 -r 08d66e3c00d8 lib/librumpclient/Makefile
--- a/lib/librumpclient/Makefile Wed May 15 19:30:46 2013 +0000
+++ b/lib/librumpclient/Makefile Wed May 15 20:27:00 2013 +0000
@@ -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 @@
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
diff -r efc8ee737410 -r 08d66e3c00d8 lib/librumpuser/Makefile
--- a/lib/librumpuser/Makefile Wed May 15 19:30:46 2013 +0000
+++ b/lib/librumpuser/Makefile Wed May 15 20:27:00 2013 +0000
@@ -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 @@
LIB= rumpuser
LIBDPLIBS+= pthread ${.CURDIR}/../libpthread
+.for lib in ${RUMPUSER_EXTERNAL_DPLIBS}
+LIBDO.${lib}= _external
+LIBDPLIBS+= ${lib} lib
+.endfor
CPPFLAGS+= -DLIBRUMPUSER
#CPPFLAGS+= -D_DIAGNOSTIC
Home |
Main Index |
Thread Index |
Old Index