1 AM_CPPFLAGS = -I$(top_srcdir)/include
2 AM_CFLAGS = -fno-strict-aliasing
4 noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
6 lib_LTLIBRARIES = liblttng-ust-tracepoint.la liblttng-ust.la
8 liblttng_ust_tracepoint_la_SOURCES = \
10 tracepoint-internal.h \
14 liblttng_ust_tracepoint_la_LIBADD = \
16 liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
17 liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" -fno-strict-aliasing
19 liblttng_ust_runtime_la_SOURCES = \
23 probes/lttng-probe-ust.c \
24 probes/lttng-probe-ust.h \
25 lttng-context-vtid.c \
26 lttng-context-vpid.c \
27 lttng-context-pthread-id.c \
28 lttng-context-procname.c \
32 lttng-filter-validator.c \
33 lttng-filter-specialize.c \
34 lttng-filter-interpreter.c \
37 tracepoint-internal.h \
45 liblttng_ust_support_la_SOURCES = \
49 ltt-ring-buffer-client.h \
50 ltt-ring-buffer-client-discard.c \
51 ltt-ring-buffer-client-overwrite.c \
52 ltt-ring-buffer-metadata-client.h \
53 ltt-ring-buffer-metadata-client.c
55 liblttng_ust_la_SOURCES =
57 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
59 liblttng_ust_support_la_LIBADD = \
60 $(top_builddir)/libringbuffer/libringbuffer.la
62 liblttng_ust_la_LIBADD = \
66 -llttng-ust-tracepoint \
67 $(top_builddir)/snprintf/libustsnprintf.la \
68 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
69 liblttng-ust-runtime.la liblttng-ust-support.la
71 if LTTNG_UST_BUILD_WITH_LIBUUID
72 liblttng_ust_la_LIBADD += -luuid
74 if LTTNG_UST_BUILD_WITH_LIBC_UUID
75 liblttng_ust_la_LIBADD += -lc
78 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" -fno-strict-aliasing