Commit | Line | Data |
---|---|---|
c0c0989a MJ |
1 | # SPDX-License-Identifier: LGPL-2.1-only |
2 | ||
fb54defd | 3 | AM_CFLAGS += -I$(srcdir) -fno-strict-aliasing |
55355fa5 | 4 | |
c1fca457 MD |
5 | noinst_LTLIBRARIES = liblttng-ust-runtime.la liblttng-ust-support.la |
6 | ||
3f38c6a3 MJ |
7 | lib_LTLIBRARIES = liblttng-ust-common.la liblttng-ust-tracepoint.la liblttng-ust.la |
8 | ||
cdff92e0 | 9 | # ust-common |
3f38c6a3 | 10 | liblttng_ust_common_la_SOURCES = \ |
df09bde5 MJ |
11 | fd-tracker.c \ |
12 | ust-common.c \ | |
3f38c6a3 MJ |
13 | lttng-ust-urcu.c \ |
14 | lttng-ust-urcu-pointer.c | |
15 | ||
df09bde5 MJ |
16 | liblttng_ust_common_la_LIBADD = \ |
17 | $(top_builddir)/src/common/libcommon.la | |
18 | ||
3f38c6a3 | 19 | liblttng_ust_common_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION) |
8792fbae MD |
20 | |
21 | liblttng_ust_tracepoint_la_SOURCES = \ | |
22 | tracepoint.c \ | |
5517d34d | 23 | tracepoint-weak-test.c \ |
8792fbae | 24 | tracepoint-internal.h \ |
7dd08bec | 25 | lttng-tracer-core.h \ |
8792fbae | 26 | jhash.h \ |
3f38c6a3 | 27 | error.h |
9d4d2a63 | 28 | |
8792fbae | 29 | liblttng_ust_tracepoint_la_LIBADD = \ |
3f38c6a3 | 30 | liblttng-ust-common.la \ |
d8621b3e | 31 | $(top_builddir)/src/common/libcommon.la \ |
9d4d2a63 MJ |
32 | $(DL_LIBS) |
33 | ||
8792fbae | 34 | liblttng_ust_tracepoint_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION) |
e1c62734 | 35 | liblttng_ust_tracepoint_la_CFLAGS = -DUST_COMPONENT="liblttng_ust_tracepoint" $(AM_CFLAGS) |
c7dc133c | 36 | |
c1fca457 | 37 | liblttng_ust_runtime_la_SOURCES = \ |
04aa13f8 | 38 | bytecode.h \ |
5e96a467 | 39 | lttng-ust-comm.c \ |
c1fca457 | 40 | lttng-ust-abi.c \ |
7dd08bec | 41 | lttng-probes.c \ |
04aa13f8 FD |
42 | lttng-bytecode.c \ |
43 | lttng-bytecode.h \ | |
44 | lttng-bytecode-validator.c \ | |
45 | lttng-bytecode-specialize.c \ | |
46 | lttng-bytecode-interpreter.c \ | |
53569322 | 47 | lttng-context-provider.c \ |
3b402b40 | 48 | lttng-context-vtid.c \ |
c1ef86f0 | 49 | lttng-context-vpid.c \ |
8173ec7c | 50 | lttng-context-pthread-id.c \ |
4847e9bb | 51 | lttng-context-procname.c \ |
96f85541 | 52 | lttng-context-ip.c \ |
c7ea8487 | 53 | lttng-context-cpu-id.c \ |
735bef47 MJ |
54 | lttng-context-cgroup-ns.c \ |
55 | lttng-context-ipc-ns.c \ | |
56 | lttng-context-mnt-ns.c \ | |
57 | lttng-context-net-ns.c \ | |
58 | lttng-context-pid-ns.c \ | |
cefef7a7 | 59 | lttng-context-time-ns.c \ |
735bef47 MJ |
60 | lttng-context-user-ns.c \ |
61 | lttng-context-uts-ns.c \ | |
fca2f191 MJ |
62 | lttng-context-vuid.c \ |
63 | lttng-context-veuid.c \ | |
64 | lttng-context-vsuid.c \ | |
65 | lttng-context-vgid.c \ | |
66 | lttng-context-vegid.c \ | |
67 | lttng-context-vsgid.c \ | |
7dd08bec MD |
68 | lttng-context.c \ |
69 | lttng-events.c \ | |
bf956ec0 | 70 | lttng-hash-helper.h \ |
8e2aed3f | 71 | lttng-ust-elf.c \ |
2a8db464 | 72 | lttng-ust-elf.h \ |
cf73e0fe AB |
73 | lttng-ust-statedump.c \ |
74 | lttng-ust-statedump.h \ | |
75 | lttng-ust-statedump-provider.h \ | |
97c7c238 MD |
76 | ust_lib.c \ |
77 | ust_lib.h \ | |
51f804ec | 78 | context-internal.h \ |
d8d2416d | 79 | context-provider-internal.h \ |
b728d87e | 80 | tracepoint-internal.h \ |
d871c65b | 81 | ust-events-internal.h \ |
b728d87e | 82 | clock.h \ |
f8b4fc8d | 83 | compat.h \ |
596c4223 | 84 | wait.h \ |
8f3f8c99 | 85 | jhash.h \ |
74d81a6c | 86 | lttng-ust-uuid.h \ |
641c659a MD |
87 | error.h \ |
88 | tracef.c \ | |
730bf2af | 89 | lttng-ust-tracef-provider.h \ |
0cb03c85 MD |
90 | tracelog.c \ |
91 | lttng-ust-tracelog-provider.h \ | |
e85a0294 PP |
92 | getenv.h \ |
93 | string-utils.c \ | |
735bef47 | 94 | string-utils.h \ |
d8d2416d | 95 | event-notifier-notification.c \ |
fca2f191 | 96 | ns.h \ |
10544ee8 MD |
97 | creds.h \ |
98 | rculfhash.c \ | |
99 | rculfhash.h \ | |
100 | rculfhash-internal.h \ | |
101 | rculfhash-mm-chunk.c \ | |
102 | rculfhash-mm-mmap.c \ | |
103 | rculfhash-mm-order.c \ | |
104 | compat_futex.c \ | |
105 | futex.h | |
c1fca457 | 106 | |
d58d1454 MD |
107 | if HAVE_PERF_EVENT |
108 | liblttng_ust_runtime_la_SOURCES += \ | |
77d7fa98 MD |
109 | lttng-context-perf-counters.c \ |
110 | perf_event.h | |
d58d1454 MD |
111 | endif |
112 | ||
c1fca457 | 113 | liblttng_ust_support_la_SOURCES = \ |
7dd08bec MD |
114 | lttng-tracer.h \ |
115 | lttng-tracer-core.h \ | |
c1fca457 | 116 | ust-core.c \ |
6f626d28 MD |
117 | getenv.h \ |
118 | getenv.c \ | |
53569322 | 119 | lttng-ust-dynamic-type.c \ |
82b9bde8 | 120 | lttng-rb-clients.h \ |
c53279a3 | 121 | lttng-ring-buffer-client-template.h \ |
7dd08bec | 122 | lttng-ring-buffer-client-discard.c \ |
34a91bdb | 123 | lttng-ring-buffer-client-discard-rt.c \ |
7dd08bec | 124 | lttng-ring-buffer-client-overwrite.c \ |
34a91bdb | 125 | lttng-ring-buffer-client-overwrite-rt.c \ |
c53279a3 | 126 | lttng-ring-buffer-metadata-client-template.h \ |
f9364363 | 127 | lttng-ring-buffer-metadata-client.c \ |
b62f8205 | 128 | lttng-counter-client.h \ |
ebabbf58 MD |
129 | lttng-counter-client-percpu-32-modular.c \ |
130 | lttng-counter-client-percpu-64-modular.c \ | |
5e1b7b8b | 131 | lttng-clock.c lttng-getcpu.c |
c1fca457 MD |
132 | |
133 | liblttng_ust_la_SOURCES = | |
15612a0f | 134 | |
a334646a | 135 | liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION) |
c7dc133c | 136 | |
c1fca457 | 137 | liblttng_ust_support_la_LIBADD = \ |
e4db8f98 | 138 | $(top_builddir)/src/common/libringbuffer.la \ |
cdff92e0 | 139 | $(top_builddir)/src/common/libcounter.la |
c1fca457 | 140 | |
69400ac4 | 141 | liblttng_ust_la_LIBADD = \ |
ca4525b5 | 142 | -lrt \ |
3f38c6a3 | 143 | liblttng-ust-common.la \ |
d8621b3e | 144 | $(top_builddir)/src/common/libcommon.la \ |
9d4c8b2d | 145 | $(top_builddir)/src/liblttng-ust-comm/liblttng-ust-comm.la \ |
b2684aaa | 146 | liblttng-ust-tracepoint.la \ |
9d4d2a63 MJ |
147 | liblttng-ust-runtime.la liblttng-ust-support.la \ |
148 | $(DL_LIBS) | |
ab12eb57 | 149 | |
e1c62734 | 150 | liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS) |