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
10 liblttng_ust_common_la_SOURCES = \
12 lttng-ust-urcu-pointer.c
14 liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
16 liblttng_ust_tracepoint_la_SOURCES = \
18 tracepoint-weak-test.c \
19 tracepoint-internal.h \
24 liblttng_ust_tracepoint_la_LIBADD = \
25 liblttng-ust-common.la \
26 $(top_builddir)/src/common/libcommon.la \
29 liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
30 liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
32 liblttng_ust_runtime_la_SOURCES = \
39 lttng-bytecode-validator.c \
40 lttng-bytecode-specialize.c \
41 lttng-bytecode-interpreter.c \
42 lttng-context-provider.c \
43 lttng-context-vtid.c \
44 lttng-context-vpid.c \
45 lttng-context-pthread-id.c \
46 lttng-context-procname.c \
48 lttng-context-cpu-id.c \
49 lttng-context-cgroup-ns.c \
50 lttng-context-ipc-ns.c \
51 lttng-context-mnt-ns.c \
52 lttng-context-net-ns.c \
53 lttng-context-pid-ns.c \
54 lttng-context-time-ns.c \
55 lttng-context-user-ns.c \
56 lttng-context-uts-ns.c \
57 lttng-context-vuid.c \
58 lttng-context-veuid.c \
59 lttng-context-vsuid.c \
60 lttng-context-vgid.c \
61 lttng-context-vegid.c \
62 lttng-context-vsgid.c \
68 lttng-ust-statedump.c \
69 lttng-ust-statedump.h \
70 lttng-ust-statedump-provider.h \
74 context-provider-internal.h \
75 tracepoint-internal.h \
76 ust-events-internal.h \
84 lttng-ust-tracef-provider.h \
86 lttng-ust-tracelog-provider.h \
90 event-notifier-notification.c \
95 rculfhash-internal.h \
96 rculfhash-mm-chunk.c \
98 rculfhash-mm-order.c \
103 liblttng_ust_runtime_la_SOURCES += \
104 lttng-context-perf-counters.c \
108 liblttng_ust_support_la_SOURCES = \
110 lttng-tracer-core.h \
114 lttng-ust-dynamic-type.c \
116 lttng-ring-buffer-client-template.h \
117 lttng-ring-buffer-client-discard.c \
118 lttng-ring-buffer-client-discard-rt.c \
119 lttng-ring-buffer-client-overwrite.c \
120 lttng-ring-buffer-client-overwrite-rt.c \
121 lttng-ring-buffer-metadata-client-template.h \
122 lttng-ring-buffer-metadata-client.c \
123 lttng-counter-client.h \
124 lttng-counter-client-percpu-32-modular.c \
125 lttng-counter-client-percpu-64-modular.c \
126 lttng-clock.c lttng-getcpu.c
128 liblttng_ust_la_SOURCES =
130 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
132 liblttng_ust_support_la_LIBADD = \
133 $(top_builddir)/src/libringbuffer/libringbuffer.la \
134 $(top_builddir)/src/common/libcounter.la
136 liblttng_ust_la_LIBADD = \
138 liblttng-ust-common.la \
139 $(top_builddir)/src/common/libcommon.la \
140 $(top_builddir)/src/liblttng-ust-comm/liblttng-ust-comm.la \
141 liblttng-ust-tracepoint.la \
142 liblttng-ust-runtime.la liblttng-ust-support.la \
145 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)