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