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 = \
14 lttng-ust-urcu-pointer.c
16 liblttng_ust_common_la_LIBADD = \
17 $(top_builddir)/src/common/libcommon.la
19 liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
21 liblttng_ust_tracepoint_la_SOURCES = \
23 tracepoint-weak-test.c \
24 tracepoint-internal.h \
28 liblttng_ust_tracepoint_la_LIBADD = \
29 liblttng-ust-common.la \
30 $(top_builddir)/src/common/libcommon.la \
33 liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
34 liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
36 liblttng_ust_runtime_la_SOURCES = \
43 lttng-bytecode-validator.c \
44 lttng-bytecode-specialize.c \
45 lttng-bytecode-interpreter.c \
46 lttng-context-provider.c \
47 lttng-context-vtid.c \
48 lttng-context-vpid.c \
49 lttng-context-pthread-id.c \
50 lttng-context-procname.c \
52 lttng-context-cpu-id.c \
53 lttng-context-cgroup-ns.c \
54 lttng-context-ipc-ns.c \
55 lttng-context-mnt-ns.c \
56 lttng-context-net-ns.c \
57 lttng-context-pid-ns.c \
58 lttng-context-time-ns.c \
59 lttng-context-user-ns.c \
60 lttng-context-uts-ns.c \
61 lttng-context-vuid.c \
62 lttng-context-veuid.c \
63 lttng-context-vsuid.c \
64 lttng-context-vgid.c \
65 lttng-context-vegid.c \
66 lttng-context-vsgid.c \
72 lttng-ust-statedump.c \
73 lttng-ust-statedump.h \
74 lttng-ust-statedump-provider.h \
78 context-provider-internal.h \
79 tracepoint-internal.h \
85 lttng-ust-tracef-provider.h \
87 lttng-ust-tracelog-provider.h \
90 event-notifier-notification.c \
94 rculfhash-internal.h \
95 rculfhash-mm-chunk.c \
100 liblttng_ust_runtime_la_SOURCES += \
101 lttng-context-perf-counters.c \
105 liblttng_ust_support_la_SOURCES = \
107 lttng-tracer-core.h \
109 lttng-ust-dynamic-type.c \
111 lttng-ring-buffer-client-template.h \
112 lttng-ring-buffer-client-discard.c \
113 lttng-ring-buffer-client-discard-rt.c \
114 lttng-ring-buffer-client-overwrite.c \
115 lttng-ring-buffer-client-overwrite-rt.c \
116 lttng-ring-buffer-metadata-client-template.h \
117 lttng-ring-buffer-metadata-client.c \
118 lttng-counter-client.h \
119 lttng-counter-client-percpu-32-modular.c \
120 lttng-counter-client-percpu-64-modular.c \
124 liblttng_ust_la_SOURCES =
126 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
128 liblttng_ust_support_la_LIBADD = \
129 $(top_builddir)/src/common/libringbuffer.la \
130 $(top_builddir)/src/common/libcounter.la
132 liblttng_ust_la_LIBADD = \
134 liblttng-ust-common.la \
135 $(top_builddir)/src/common/libustcomm.la \
136 $(top_builddir)/src/common/libcommon.la \
137 liblttng-ust-tracepoint.la \
138 liblttng-ust-runtime.la liblttng-ust-support.la \
141 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)