+liblttng_ust_runtime_la_CFLAGS = -DLTTNG_UST_LIBRARY_VERSION_MAJOR=\"$(LTTNG_UST_LIBRARY_VERSION_MAJOR)\"
+
+if HAVE_PERF_EVENT
+liblttng_ust_runtime_la_SOURCES += \
+ lttng-context-perf-counters.c \
+ perf_event.h
+endif
+
+liblttng_ust_support_la_SOURCES = \
+ lttng-tracer.h \
+ lttng-tracer-core.h \
+ ust-core.c \
+ getenv.h \
+ getenv.c \
+ lttng-ust-dynamic-type.c \
+ lttng-rb-clients.h \
+ lttng-ring-buffer-client.h \
+ lttng-ring-buffer-client-discard.c \
+ lttng-ring-buffer-client-discard-rt.c \
+ lttng-ring-buffer-client-overwrite.c \
+ lttng-ring-buffer-client-overwrite-rt.c \
+ lttng-ring-buffer-metadata-client.h \
+ lttng-ring-buffer-metadata-client.c \
+ lttng-clock.c lttng-getcpu.c
+
+liblttng_ust_la_SOURCES =
+
+liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
+
+liblttng_ust_support_la_LIBADD = \
+ $(top_builddir)/libringbuffer/libringbuffer.la