summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
10544ee)
Move the new internal 'urcu-ust' urcu flavor symbols to a separate
library named 'liblttng-ust-common.so' and link 'liblttng-ust.so' and
'liblttng-ust-tracepoint.so' on it.
Add this common library to the pkgconfig file which should handle the
transition for client code using it in its build system.
LGPL_SOURCE client code which doesn't use pkgconfig in its build system
will need to link with '-llttng-ust-common' instead of '-lurcu-bp' like
prior ust versions.
Change-Id: I807f997a2a94cb4f8d1bdf72002c1ae1b9fedf8d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
-lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la
+lib_LTLIBRARIES = liblttng-ust-common.la liblttng-ust-tracepoint.la liblttng-ust.la
+
+liblttng_ust_common_la_SOURCES = \
+ lttng-ust-urcu.c \
+ lttng-ust-urcu-pointer.c
+
+liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
liblttng_ust_tracepoint_la_SOURCES = \
tracepoint.c \
liblttng_ust_tracepoint_la_SOURCES = \
tracepoint.c \
tracepoint-internal.h \
lttng-tracer-core.h \
jhash.h \
tracepoint-internal.h \
lttng-tracer-core.h \
jhash.h \
- error.h \
- lttng-ust-urcu.c \
- lttng-ust-urcu-pointer.c
liblttng_ust_tracepoint_la_LIBADD = \
liblttng_ust_tracepoint_la_LIBADD = \
+ liblttng-ust-common.la \
$(top_builddir)/snprintf/libustsnprintf.la \
$(DL_LIBS)
$(top_builddir)/snprintf/libustsnprintf.la \
$(DL_LIBS)
liblttng_ust_la_LIBADD = \
-lrt \
liblttng_ust_la_LIBADD = \
-lrt \
+ liblttng-ust-common.la \
$(top_builddir)/snprintf/libustsnprintf.la \
$(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
liblttng-ust-tracepoint.la \
$(top_builddir)/snprintf/libustsnprintf.la \
$(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
liblttng-ust-tracepoint.la \
Description: The LTTng Userspace Tracer (UST) is a library accompanied by a set of tools to trace userspace code.
Version: @PACKAGE_VERSION@
Requires:
Description: The LTTng Userspace Tracer (UST) is a library accompanied by a set of tools to trace userspace code.
Version: @PACKAGE_VERSION@
Requires:
-Libs: -L${libdir} -llttng-ust -ldl
+Libs: -L${libdir} -llttng-ust -llttng-ust-common -ldl