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 \
27 liblttng_ust_tracepoint_la_LIBADD = \
28 liblttng-ust-common.la \
29 $(top_builddir)/src/common/libcommon.la \
32 liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
33 liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS)
35 liblttng_ust_runtime_la_SOURCES = \
42 lttng-bytecode-validator.c \
43 lttng-bytecode-specialize.c \
44 lttng-bytecode-interpreter.c \
45 lttng-context-provider.c \
46 lttng-context-vtid.c \
47 lttng-context-vpid.c \
48 lttng-context-pthread-id.c \
49 lttng-context-procname.c \
51 lttng-context-cpu-id.c \
52 lttng-context-cgroup-ns.c \
53 lttng-context-ipc-ns.c \
54 lttng-context-mnt-ns.c \
55 lttng-context-net-ns.c \
56 lttng-context-pid-ns.c \
57 lttng-context-time-ns.c \
58 lttng-context-user-ns.c \
59 lttng-context-uts-ns.c \
60 lttng-context-vuid.c \
61 lttng-context-veuid.c \
62 lttng-context-vsuid.c \
63 lttng-context-vgid.c \
64 lttng-context-vegid.c \
65 lttng-context-vsgid.c \
71 lttng-ust-statedump.c \
72 lttng-ust-statedump.h \
73 lttng-ust-statedump-provider.h \
77 context-provider-internal.h \
78 tracepoint-internal.h \
83 lttng-ust-tracef-provider.h \
85 lttng-ust-tracelog-provider.h \
88 event-notifier-notification.c \
92 rculfhash-internal.h \
93 rculfhash-mm-chunk.c \
98 liblttng_ust_runtime_la_SOURCES += \
99 lttng-context-perf-counters.c \
103 liblttng_ust_support_la_SOURCES = \
105 lttng-tracer-core.h \
107 lttng-ust-dynamic-type.c \
109 lttng-ring-buffer-client-template.h \
110 lttng-ring-buffer-client-discard.c \
111 lttng-ring-buffer-client-discard-rt.c \
112 lttng-ring-buffer-client-overwrite.c \
113 lttng-ring-buffer-client-overwrite-rt.c \
114 lttng-ring-buffer-metadata-client-template.h \
115 lttng-ring-buffer-metadata-client.c \
116 lttng-counter-client.h \
117 lttng-counter-client-percpu-32-modular.c \
118 lttng-counter-client-percpu-64-modular.c \
122 liblttng_ust_la_SOURCES =
124 liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION)
126 liblttng_ust_support_la_LIBADD = \
127 $(top_builddir)/src/common/libringbuffer.la \
128 $(top_builddir)/src/common/libcounter.la
130 liblttng_ust_la_LIBADD = \
132 liblttng-ust-common.la \
133 $(top_builddir)/src/common/libustcomm.la \
134 $(top_builddir)/src/common/libcommon.la \
135 liblttng-ust-tracepoint.la \
136 liblttng-ust-runtime.la liblttng-ust-support.la \
139 liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS)