aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-05-04 16:28:54 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-05-04 16:28:54 +0000
commit5551c573554e4bb755565098222d0d74fa83e5cb (patch)
tree5cd31e3767f29d82f87cfe495e4ebad8fb41da45 /lib
parent98becbfc3c40540968109c02d504fa1bec1adc78 (diff)
downloadsrc-5551c573554e4bb755565098222d0d74fa83e5cb.tar.gz
src-5551c573554e4bb755565098222d0d74fa83e5cb.zip
Rework PRIVATELIB
Now when a lib is marked as PRIVATELIB it is renamed into libprivate$foo instead of being installed in /usr/lib/private and playing with rpath. Also allow to install headers for PRIVATELIBS in that case the headers will be installed in /usr/include/private/$foo Keep the headers under a private namespace to prevent third party build system to easily find them to ensure they are only used on purpose. This allows for non base applications to statically link against a library in base which is linked to a privatelib Treating PRIVATELIBS as regular libraries allows to push them into our current compatX packages if needed. While here finish promotion of libevent as PRIVATELIB Install header for bsdstat and libucl Differential Revision: https://reviews.freebsd.org/D2365 Reviewed by: brooks, des Discussed with: imp
Notes
Notes: svn path=/head/; revision=282420
Diffstat (limited to 'lib')
-rw-r--r--lib/libevent/Makefile1
-rw-r--r--lib/libucl/Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/libevent/Makefile b/lib/libevent/Makefile
index d8b1e2032ce3..1d20bcdc9478 100644
--- a/lib/libevent/Makefile
+++ b/lib/libevent/Makefile
@@ -7,7 +7,6 @@
LIB= event
SHLIB_MAJOR= 1
PRIVATELIB=
-INTERNALLIB=
SRCS= buffer.c evbuffer.c event.c kqueue.c log.c poll.c select.c signal.c
HDRS= event.h
diff --git a/lib/libucl/Makefile b/lib/libucl/Makefile
index b94f3dac40f6..310e8b70c071 100644
--- a/lib/libucl/Makefile
+++ b/lib/libucl/Makefile
@@ -14,8 +14,10 @@ SRCS= ucl_emitter_streamline.c \
ucl_util.c \
xxhash.c
-.PATH: ${LIBUCL}/src
+.PATH: ${LIBUCL}/src \
+ ${LIBUCL}/include
+INCS= ucl.h
LIBADD= m
WARNS= 1