1 # SPDX-License-Identifier: LGPL-2.1-only
3 AM_CFLAGS += -I$(srcdir) -fno-strict-aliasing
5 noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la
7 lib_LTLIBRARIES = liblttng-ust-common.la liblttng-ust-tracepoint.la liblttng-ust.la
9 liblttng_ust_common_la_SOURCES = \
11 lttng-ust-urcu-pointer.c
13 liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
15 liblttng_ust_tracepoint_la_SOURCES = \
17 tracepoint-weak-test.c \
18 tracepoint-internal.h \
23 liblttng_ust_tracepoint_la_LIBADD = \
24 liblttng-ust-common.la \
25 $(top_builddir)/snprintf/libustsnprintf.la \
28 liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
29 liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
31 liblttng_ust_runtime_la_SOURCES = \
38 lttng-bytecode-validator.c \
39 lttng-bytecode-specialize.c \
40 lttng-bytecode-interpreter.c \
41 lttng-context-provider.c \
42 lttng-context-vtid.c \
43 lttng-context-vpid.c \
44 lttng-context-pthread-id.c \
45 lttng-context-procname.c \
47 lttng-context-cpu-id.c \
48 lttng-context-cgroup-ns.c \
49 lttng-context-ipc-ns.c \
50 lttng-context-mnt-ns.c \
51 lttng-context-net-ns.c \
52 lttng-context-pid-ns.c \
53 lttng-context-time-ns.c \
54 lttng-context-user-ns.c \
55 lttng-context-uts-ns.c \
56 lttng-context-vuid.c \
57 lttng-context-veuid.c \
58 lttng-context-vsuid.c \
59 lttng-context-vgid.c \
60 lttng-context-vegid.c \
61 lttng-context-vsgid.c \
67 lttng-ust-statedump.c \
68 lttng-ust-statedump.h \
69 lttng-ust-statedump-provider.h \
73 context-provider-internal.h \
74 tracepoint-internal.h \
75 ust-events-internal.h \
83 lttng-ust-tracef-provider.h \
85 lttng-ust-tracelog-provider.h \
89 event-notifier-notification.c \
94 rculfhash-internal.h \
95 rculfhash-mm-chunk.c \
97 rculfhash-mm-order.c \
102 liblttng_ust_runtime_la_SOURCES += \
103 lttng-context-perf-counters.c \
107 liblttng_ust_support_la_SOURCES = \
109 lttng-tracer-core.h \
113 lttng-ust-dynamic-type.c \
115 lttng-ring-buffer-client.h \
116 lttng-ring-buffer-client-discard.c \
117 lttng-ring-buffer-client-discard-rt.c \
118 lttng-ring-buffer-client-overwrite.c \
119 lttng-ring-buffer-client-overwrite-rt.c \
120 lttng-ring-buffer-metadata-client.h \
121 lttng-ring-buffer-metadata-client.c \
122 lttng-counter-client-percpu-32-modular.c \
123 lttng-counter-client-percpu-64-modular.c \
124 lttng-clock.c lttng-getcpu.c
126 liblttng_ust_la_SOURCES =
128 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
130 liblttng_ust_support_la_LIBADD = \
131 $(top_builddir)/libringbuffer/libringbuffer.la \
132 $(top_builddir)/libcounter/libcounter.la
134 liblttng_ust_la_LIBADD = \
136 liblttng-ust-common.la \
137 $(top_builddir)/snprintf/libustsnprintf.la \
138 $(top_builddir)/liblttng-ust-comm/liblttng-ust-comm.la \
139 liblttng-ust-tracepoint.la \
140 liblttng-ust-runtime.la liblttng-ust-support.la \
141 $(top_builddir)/libmsgpack/libmsgpack.la \
144 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)