Commit | Line | Data |
---|---|---|
c0c0989a MJ |
1 | # SPDX-License-Identifier: LGPL-2.1-only |
2 | ||
08c0c18a | 3 | AM_CFLAGS += -I$(srcdir) |
55355fa5 | 4 | |
8f51c684 | 5 | lib_LTLIBRARIES = liblttng-ust.la |
c1fca457 | 6 | |
8cd08025 | 7 | liblttng_ust_la_SOURCES = \ |
04aa13f8 | 8 | bytecode.h \ |
5e96a467 | 9 | lttng-ust-comm.c \ |
c1fca457 | 10 | lttng-ust-abi.c \ |
7dd08bec | 11 | lttng-probes.c \ |
04aa13f8 FD |
12 | lttng-bytecode.c \ |
13 | lttng-bytecode.h \ | |
14 | lttng-bytecode-validator.c \ | |
15 | lttng-bytecode-specialize.c \ | |
16 | lttng-bytecode-interpreter.c \ | |
53569322 | 17 | lttng-context-provider.c \ |
3b402b40 | 18 | lttng-context-vtid.c \ |
c1ef86f0 | 19 | lttng-context-vpid.c \ |
8173ec7c | 20 | lttng-context-pthread-id.c \ |
4847e9bb | 21 | lttng-context-procname.c \ |
96f85541 | 22 | lttng-context-ip.c \ |
c7ea8487 | 23 | lttng-context-cpu-id.c \ |
735bef47 MJ |
24 | lttng-context-cgroup-ns.c \ |
25 | lttng-context-ipc-ns.c \ | |
26 | lttng-context-mnt-ns.c \ | |
27 | lttng-context-net-ns.c \ | |
28 | lttng-context-pid-ns.c \ | |
cefef7a7 | 29 | lttng-context-time-ns.c \ |
735bef47 MJ |
30 | lttng-context-user-ns.c \ |
31 | lttng-context-uts-ns.c \ | |
fca2f191 MJ |
32 | lttng-context-vuid.c \ |
33 | lttng-context-veuid.c \ | |
34 | lttng-context-vsuid.c \ | |
35 | lttng-context-vgid.c \ | |
36 | lttng-context-vegid.c \ | |
37 | lttng-context-vsgid.c \ | |
7dd08bec MD |
38 | lttng-context.c \ |
39 | lttng-events.c \ | |
cf73e0fe AB |
40 | lttng-ust-statedump.c \ |
41 | lttng-ust-statedump.h \ | |
42 | lttng-ust-statedump-provider.h \ | |
08ba2503 MJ |
43 | futex.c \ |
44 | futex.h \ | |
97c7c238 MD |
45 | ust_lib.c \ |
46 | ust_lib.h \ | |
51f804ec | 47 | context-internal.h \ |
d8d2416d | 48 | context-provider-internal.h \ |
36c52fff | 49 | events.h \ |
641c659a | 50 | tracef.c \ |
730bf2af | 51 | lttng-ust-tracef-provider.h \ |
0cb03c85 MD |
52 | tracelog.c \ |
53 | lttng-ust-tracelog-provider.h \ | |
d8d2416d | 54 | event-notifier-notification.c \ |
10544ee8 MD |
55 | rculfhash.c \ |
56 | rculfhash.h \ | |
57 | rculfhash-internal.h \ | |
58 | rculfhash-mm-chunk.c \ | |
59 | rculfhash-mm-mmap.c \ | |
bb863844 | 60 | rculfhash-mm-order.c \ |
8cd08025 MJ |
61 | strerror.c \ |
62 | lttng-tracer-core.h | |
c1fca457 | 63 | |
d58d1454 | 64 | if HAVE_PERF_EVENT |
8cd08025 | 65 | liblttng_ust_la_SOURCES += \ |
77d7fa98 MD |
66 | lttng-context-perf-counters.c \ |
67 | perf_event.h | |
d58d1454 MD |
68 | endif |
69 | ||
a334646a | 70 | liblttng_ust_la_LDFLAGS = -no-undefined -version-info $(LTTNG_UST_LIBRARY_VERSION) |
c7dc133c | 71 | |
69400ac4 | 72 | liblttng_ust_la_LIBADD = \ |
8cd08025 MJ |
73 | $(top_builddir)/src/common/libringbuffer.la \ |
74 | $(top_builddir)/src/common/libringbuffer-clients.la \ | |
75 | $(top_builddir)/src/common/libcounter.la \ | |
76 | $(top_builddir)/src/common/libcounter-clients.la \ | |
67534785 | 77 | $(top_builddir)/src/common/libustcomm.la \ |
d8621b3e | 78 | $(top_builddir)/src/common/libcommon.la \ |
8cd08025 | 79 | $(top_builddir)/src/lib/lttng-ust-common/liblttng-ust-common.la \ |
8f51c684 | 80 | $(top_builddir)/src/lib/lttng-ust-tracepoint/liblttng-ust-tracepoint.la \ |
8cd08025 | 81 | -lrt \ |
9d4d2a63 | 82 | $(DL_LIBS) |
ab12eb57 | 83 | |
e1c62734 | 84 | liblttng_ust_la_CFLAGS = -DUST_COMPONENT="liblttng_ust" $(AM_CFLAGS) |