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 | |
8f51c684 | 5 | lib_LTLIBRARIES = liblttng-ust.la |
c1fca457 | 6 | |
8f51c684 MJ |
7 | noinst_LTLIBRARIES = \ |
8 | liblttng-ust-runtime.la \ | |
9 | liblttng-ust-support.la | |
c7dc133c | 10 | |
c1fca457 | 11 | liblttng_ust_runtime_la_SOURCES = \ |
04aa13f8 | 12 | bytecode.h \ |
5e96a467 | 13 | lttng-ust-comm.c \ |
c1fca457 | 14 | lttng-ust-abi.c \ |
7dd08bec | 15 | lttng-probes.c \ |
04aa13f8 FD |
16 | lttng-bytecode.c \ |
17 | lttng-bytecode.h \ | |
18 | lttng-bytecode-validator.c \ | |
19 | lttng-bytecode-specialize.c \ | |
20 | lttng-bytecode-interpreter.c \ | |
53569322 | 21 | lttng-context-provider.c \ |
3b402b40 | 22 | lttng-context-vtid.c \ |
c1ef86f0 | 23 | lttng-context-vpid.c \ |
8173ec7c | 24 | lttng-context-pthread-id.c \ |
4847e9bb | 25 | lttng-context-procname.c \ |
96f85541 | 26 | lttng-context-ip.c \ |
c7ea8487 | 27 | lttng-context-cpu-id.c \ |
735bef47 MJ |
28 | lttng-context-cgroup-ns.c \ |
29 | lttng-context-ipc-ns.c \ | |
30 | lttng-context-mnt-ns.c \ | |
31 | lttng-context-net-ns.c \ | |
32 | lttng-context-pid-ns.c \ | |
cefef7a7 | 33 | lttng-context-time-ns.c \ |
735bef47 MJ |
34 | lttng-context-user-ns.c \ |
35 | lttng-context-uts-ns.c \ | |
fca2f191 MJ |
36 | lttng-context-vuid.c \ |
37 | lttng-context-veuid.c \ | |
38 | lttng-context-vsuid.c \ | |
39 | lttng-context-vgid.c \ | |
40 | lttng-context-vegid.c \ | |
41 | lttng-context-vsgid.c \ | |
7dd08bec MD |
42 | lttng-context.c \ |
43 | lttng-events.c \ | |
8e2aed3f | 44 | lttng-ust-elf.c \ |
2a8db464 | 45 | lttng-ust-elf.h \ |
cf73e0fe AB |
46 | lttng-ust-statedump.c \ |
47 | lttng-ust-statedump.h \ | |
48 | lttng-ust-statedump-provider.h \ | |
97c7c238 MD |
49 | ust_lib.c \ |
50 | ust_lib.h \ | |
51f804ec | 51 | context-internal.h \ |
d8d2416d | 52 | context-provider-internal.h \ |
36c52fff | 53 | events.h \ |
b728d87e | 54 | clock.h \ |
74d81a6c | 55 | lttng-ust-uuid.h \ |
641c659a | 56 | tracef.c \ |
730bf2af | 57 | lttng-ust-tracef-provider.h \ |
0cb03c85 MD |
58 | tracelog.c \ |
59 | lttng-ust-tracelog-provider.h \ | |
d8d2416d | 60 | event-notifier-notification.c \ |
10544ee8 MD |
61 | rculfhash.c \ |
62 | rculfhash.h \ | |
63 | rculfhash-internal.h \ | |
64 | rculfhash-mm-chunk.c \ | |
65 | rculfhash-mm-mmap.c \ | |
58f84478 | 66 | rculfhash-mm-order.c |
c1fca457 | 67 | |
d58d1454 MD |
68 | if HAVE_PERF_EVENT |
69 | liblttng_ust_runtime_la_SOURCES += \ | |
77d7fa98 MD |
70 | lttng-context-perf-counters.c \ |
71 | perf_event.h | |
d58d1454 MD |
72 | endif |
73 | ||
c1fca457 | 74 | liblttng_ust_support_la_SOURCES = \ |
7dd08bec MD |
75 | lttng-tracer.h \ |
76 | lttng-tracer-core.h \ | |
c1fca457 | 77 | ust-core.c \ |
53569322 | 78 | lttng-ust-dynamic-type.c \ |
82b9bde8 | 79 | lttng-rb-clients.h \ |
c53279a3 | 80 | lttng-ring-buffer-client-template.h \ |
7dd08bec | 81 | lttng-ring-buffer-client-discard.c \ |
34a91bdb | 82 | lttng-ring-buffer-client-discard-rt.c \ |
7dd08bec | 83 | lttng-ring-buffer-client-overwrite.c \ |
34a91bdb | 84 | lttng-ring-buffer-client-overwrite-rt.c \ |
c53279a3 | 85 | lttng-ring-buffer-metadata-client-template.h \ |
f9364363 | 86 | lttng-ring-buffer-metadata-client.c \ |
b62f8205 | 87 | lttng-counter-client.h \ |
ebabbf58 MD |
88 | lttng-counter-client-percpu-32-modular.c \ |
89 | lttng-counter-client-percpu-64-modular.c \ | |
247c2ecd MJ |
90 | lttng-clock.c \ |
91 | getcpu.c getcpu.h | |
c1fca457 MD |
92 | |
93 | liblttng_ust_la_SOURCES = | |
15612a0f | 94 | |
a334646a | 95 | liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION) |
c7dc133c | 96 | |
c1fca457 | 97 | liblttng_ust_support_la_LIBADD = \ |
e4db8f98 | 98 | $(top_builddir)/src/common/libringbuffer.la \ |
cdff92e0 | 99 | $(top_builddir)/src/common/libcounter.la |
c1fca457 | 100 | |
69400ac4 | 101 | liblttng_ust_la_LIBADD = \ |
ca4525b5 | 102 | -lrt \ |
793dd3d9 | 103 | $(top_builddir)/src/lib/lttng-ust-common/liblttng-ust-common.la \ |
67534785 | 104 | $(top_builddir)/src/common/libustcomm.la \ |
d8621b3e | 105 | $(top_builddir)/src/common/libcommon.la \ |
8f51c684 | 106 | $(top_builddir)/src/lib/lttng-ust-tracepoint/liblttng-ust-tracepoint.la \ |
9d4d2a63 MJ |
107 | liblttng-ust-runtime.la liblttng-ust-support.la \ |
108 | $(DL_LIBS) | |
ab12eb57 | 109 | |
e1c62734 | 110 | liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS) |