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 \
tracepoint-internal.h \
lttng-tracer-core.h \
jhash.h \
- error.h \
- lttng-ust-urcu.c \
- lttng-ust-urcu-pointer.c
+ error.h
liblttng_ust_tracepoint_la_LIBADD = \
+ liblttng-ust-common.la \
$(top_builddir)/snprintf/libustsnprintf.la \
$(DL_LIBS)
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 \
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
Cflags: -I${includedir}